mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-26 21:13:48 +00:00
29 lines
762 B
Batchfile
29 lines
762 B
Batchfile
|
@echo off
|
||
|
REM Setup for compiling with DJGPP 2.02
|
||
|
|
||
|
if .%CHECKED%==.1 goto checked_build
|
||
|
set LIB=%SCITECH_LIB%\LIB\release\dos32\dj2
|
||
|
%SCITECH%\bin-dos\k_cp %SCITECH%\BIN\DJGPP.ENV %DJ_PATH%\DJGPP.ENV
|
||
|
echo Release build enabled.
|
||
|
goto setvars
|
||
|
|
||
|
:checked_build
|
||
|
set LIB=%SCITECH_LIB%\LIB\debug\dos32\dj2
|
||
|
%SCITECH%\bin-dos\k_cp %SCITECH%\BIN\DJGPP_DB.ENV %DJ_PATH%\DJGPP.ENV
|
||
|
echo Checked debug build enabled.
|
||
|
goto setvars
|
||
|
|
||
|
:setvars
|
||
|
set DJGPP=%DJ_PATH%\DJGPP.ENV
|
||
|
set INCLUDE=INCLUDE;%SCITECH%\INCLUDE;%PRIVATE%\INCLUDE;%DJ_PATH%\INCLUDE;
|
||
|
set MAKESTARTUP=%SCITECH%\MAKEDEFS\DJ32.MK
|
||
|
set USE_WIN16=
|
||
|
set USE_WIN32=
|
||
|
set WIN32_GUI=
|
||
|
set USE_SNAP=
|
||
|
set DJ_LIBBASE=dj2
|
||
|
PATH %SCITECH_BIN%;%DJ_PATH%\BIN;%DEFPATH%
|
||
|
|
||
|
echo DJGPP 2.02 32-bit DOS compilation environment set up (DPMI).
|
||
|
|