mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-26 21:13:48 +00:00
27 lines
653 B
Batchfile
27 lines
653 B
Batchfile
|
@echo off
|
||
|
REM Setup for compiling with GNU C cross-compiler
|
||
|
|
||
|
if .%CHECKED%==.1 goto checked_build
|
||
|
set LIB=%SCITECH_LIB%\LIB\release\win32\gcc2
|
||
|
echo Release build enabled.
|
||
|
goto setvars
|
||
|
|
||
|
:checked_build
|
||
|
set LIB=%SCITECH_LIB%\LIB\debug\win32\gcc2
|
||
|
echo Checked debug build enabled.
|
||
|
goto setvars
|
||
|
|
||
|
:setvars
|
||
|
set INCLUDE=include;%SCITECH%\include;%PRIVATE%\include
|
||
|
set MAKESTARTUP=%SCITECH%\MAKEDEFS\gcc_linux.mk
|
||
|
set MAKE_MODE=UNIX
|
||
|
set USE_WIN16=
|
||
|
set USE_WIN32=
|
||
|
set WIN32_GUI=
|
||
|
set USE_SNAP=
|
||
|
set GCC_LIBBASE=gcc2
|
||
|
PATH %SCITECH_BIN%;%GCC2_PATH%\cross-linux\i386-redhat-linux\BIN;%DEFPATH%
|
||
|
|
||
|
echo GCC 2.9.x 32-bit Linux console cross compilation environment set up
|
||
|
|