mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-26 21:13:48 +00:00
23 lines
553 B
Text
23 lines
553 B
Text
|
#! /bin/sh
|
||
|
|
||
|
if [ $# -lt 1 ] || ( [ "$1" != gcc-linux ] && [ "$1" != qnx4 ] ) ; then
|
||
|
echo Usage: $0 compiler_name [DMAKE commands]
|
||
|
echo
|
||
|
echo Current compilers:
|
||
|
echo " gcc-linux - GNU C/C++ 2.7 or higher, 32 bit"
|
||
|
echo " qnx4 - Watcom C/C++ 10.6 or higher, 32 bit"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
unset DBG OPT OPT_SIZE BUILD_DLL IMPORT_DLL FPU CHECKS BETA
|
||
|
. ${1}.sh
|
||
|
|
||
|
shift
|
||
|
dmake $* && exit 0
|
||
|
|
||
|
echo *************************************************
|
||
|
echo * An error occurred while building the library. *
|
||
|
echo *************************************************
|
||
|
exit 1
|
||
|
|