mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-24 12:03:39 +00:00
35 lines
912 B
Batchfile
35 lines
912 B
Batchfile
|
@echo off
|
||
|
REM Setup for compiling with Watcom C/C++ 11.0 in 32 bit mode (QNX 4)
|
||
|
|
||
|
if .%CHECKED%==.1 goto checked_build
|
||
|
SET LIB=%SCITECH_LIB%\LIB\RELEASE\QNX4\WC11;%WC11_PATH%\LIB386;%WC11_PATH%\LIB386\QNX;.
|
||
|
echo Release build enabled.
|
||
|
goto setvars
|
||
|
|
||
|
:checked_build
|
||
|
SET LIB=%SCITECH_LIB%\LIB\DEBUG\QNX4\WC11;%WC11_PATH%\LIB386;%WC11_PATH%\LIB386\QNX;.
|
||
|
echo Checked debug build enabled.
|
||
|
goto setvars
|
||
|
|
||
|
:setvars
|
||
|
SET EDPATH=%WC11_PATH%\EDDAT
|
||
|
SET INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%WC11_PATH%\QH;
|
||
|
SET WATCOM=%WC11_PATH%
|
||
|
SET MAKESTARTUP=%SCITECH%\MAKEDEFS\WC32.MK
|
||
|
SET USE_TNT=
|
||
|
SET USE_X32=
|
||
|
SET USE_X32VM=
|
||
|
SET USE_WIN16=
|
||
|
SET USE_WIN32=
|
||
|
SET USE_WIN386=
|
||
|
SET USE_OS216=
|
||
|
SET USE_OS232=
|
||
|
SET USE_OS2GUI=
|
||
|
SET USE_SNAP=
|
||
|
SET USE_QNX4=1
|
||
|
SET WC_LIBBASE=WC11
|
||
|
PATH %SCITECH_BIN%;%WC11_PATH%\BINNT;%WC11_PATH%\BINW;%DJ_PATH%\BIN;%DEFPATH%%WC_CD_PATH%
|
||
|
|
||
|
echo Watcom C/C++ 11.0 32-bit QNX compilation environment set up
|
||
|
|