Rev 28 | Rev 31 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | pmbaty | 1 | @echo off |
| 2 | |||
| 3 | echo Setting up the toolchain... |
||
| 4 | set THISDIR=%~dp0 |
||
| 5 | cd /d %~dp0\..\qnx800 |
||
| 6 | call qnxsdp-env.bat || goto :eof |
||
| 7 | cd /d "%THISDIR%" |
||
| 8 | |||
| 9 | echo Cleaning up... |
||
| 10 | del /f /q *.o ifstool > nul 2>&1 |
||
| 11 | |||
| 12 | echo Building ifstool... |
||
| 28 | pmbaty | 13 | x86_64-pc-nto-qnx8.0.0-gcc-12.2.0 ^ |
| 14 | -D_QNX_SOURCE ^ |
||
| 15 | -Ilibucl/include ^ |
||
| 16 | -Ilibucl/src ^ |
||
| 17 | -Ilibucl ^ |
||
| 18 | -Iliblzo ^ |
||
| 19 | liblzo/minilzo.c ^ |
||
| 20 | libucl/src/alloc.c ^ |
||
| 21 | libucl/src/n2b_99.c ^ |
||
| 22 | libucl/src/n2b_d.c ^ |
||
| 23 | libucl/src/n2b_ds.c ^ |
||
| 24 | libucl/src/n2b_to.c ^ |
||
| 25 | libucl/src/n2d_99.c ^ |
||
| 26 | libucl/src/n2d_d.c ^ |
||
| 27 | libucl/src/n2d_ds.c ^ |
||
| 28 | libucl/src/n2d_to.c ^ |
||
| 29 | libucl/src/n2e_99.c ^ |
||
| 30 | libucl/src/n2e_d.c ^ |
||
| 31 | libucl/src/n2e_ds.c ^ |
||
| 32 | libucl/src/n2e_to.c ^ |
||
| 33 | libucl/src/ucl_crc.c ^ |
||
| 34 | libucl/src/ucl_init.c ^ |
||
| 35 | libucl/src/ucl_ptr.c ^ |
||
| 36 | libucl/src/ucl_str.c ^ |
||
| 37 | libucl/src/ucl_util.c ^ |
||
| 38 | buffer.c ^ |
||
| 39 | dump.c ^ |
||
| 40 | ifstool.c ^ |
||
| 41 | sha512.c ^ |
||
| 42 | -o ifstool || goto :eof |
||
| 1 | pmbaty | 43 | |
| 29 | pmbaty | 44 | if exist ..\qnx800\host\qnx8\x86_64\usr\bin\. ( |
| 28 | pmbaty | 45 | echo Deploying to QNX8 toolchain... |
| 29 | pmbaty | 46 | copy /b ifstool ..\qnx800\host\qnx8\x86_64\usr\bin\ifstool |
| 28 | pmbaty | 47 | ) |
| 48 | |||
| 1 | pmbaty | 49 | :eof |
| 50 | pause |