Rev 31 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 31 | Rev 37 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | @echo off |
1 | @echo off |
- | 2 | setlocal enableextensions enabledelayedexpansion |
|
2 | 3 | ||
3 | rem echo Setting up the toolchain... |
4 | rem echo Setting up the toolchain... |
4 | set THISDIR=%~dp0 |
5 | set THISDIR=%~dp0 |
5 | cd /d %~dp0\..\qnx800 |
6 | cd /d %~dp0\..\qnx800 |
6 | call qnxsdp-env.bat > nul || goto :eof |
7 | call qnxsdp-env.bat > nul || goto :eof |
Line 23... | Line 24... | ||
23 | del /f /s /q .build > nul 2>&1 |
24 | del /f /s /q .build > nul 2>&1 |
24 | mkdir .build > nul 2>&1 |
25 | mkdir .build > nul 2>&1 |
25 | 26 | ||
26 | if not "%BINARIES:ifstool=%"=="%BINARIES%" ( |
27 | if not "%BINARIES:ifstool=%"=="%BINARIES%" ( |
27 | echo Building ifstool for %1... |
28 | echo Building ifstool for %1... |
28 | "%CC%" %CPPFLAGS% ^ |
- | |
29 | liblzo/minilzo.c ^ |
- | |
30 | libucl/src/alloc.c ^ |
- | |
31 | libucl/src/n2b_99.c ^ |
- | |
32 | libucl/src/n2b_d.c ^ |
- | |
33 | libucl/src/n2b_ds.c ^ |
- | |
34 | libucl/src/n2b_to.c ^ |
- | |
35 | libucl/src/n2d_99.c ^ |
- | |
36 | libucl/src/n2d_d.c ^ |
- | |
37 | libucl/src/n2d_ds.c ^ |
- | |
38 | libucl/src/n2d_to.c ^ |
- | |
39 | libucl/src/n2e_99.c ^ |
- | |
40 | libucl/src/n2e_d.c ^ |
- | |
41 | libucl/src/n2e_ds.c ^ |
- | |
42 | libucl/src/n2e_to.c ^ |
- | |
43 | libucl/src/ucl_crc.c ^ |
- | |
44 | libucl/src/ucl_init.c ^ |
- | |
45 | libucl/src/ucl_ptr.c ^ |
- | |
46 | libucl/src/ucl_str.c ^ |
- | |
47 | libucl/src/ucl_util.c ^ |
- | |
48 | buffer.c ^ |
- | |
49 |
|
29 | set SRCLIST= |
50 |
|
30 | for /f usebackq^ tokens^=2^ delims^=^" %%f in (`findstr /c:"ClCompile Include" ifstool.vcxproj`) do set SRCLIST=!SRCLIST! %%f |
51 |
|
31 | set SRCLIST=!SRCLIST:\=/! |
52 | %LDFLAGS% -o %1-ifstool || goto :eof |
32 | "%CC%" %CPPFLAGS% !SRCLIST! %LDFLAGS% -o %1-ifstool || goto :eof |
53 | 33 | ||
54 | if "%1"=="aarch64-unknown-nto-qnx8.0.0" ( |
34 | if "%1"=="aarch64-unknown-nto-qnx8.0.0" ( |
55 | echo Deploying ifstool to QNX8 native aarch64le toolchain... |
35 | echo Deploying ifstool to QNX8 native aarch64le toolchain... |
56 | copy /b %1-ifstool ..\qnx800\target\qnx\aarch64le\usr\bin\ifstool || goto :eof |
36 | copy /b %1-ifstool ..\qnx800\target\qnx\aarch64le\usr\bin\ifstool || goto :eof |
57 | ) else if "%1"=="x86_64-pc-nto-qnx8.0.0" ( |
37 | ) else if "%1"=="x86_64-pc-nto-qnx8.0.0" ( |