X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-redboot.git;a=blobdiff_plain;f=build.sh;fp=build.sh;h=b09c9afa451447ee668a735a4bdeaa60de23ab29;hp=9363ba525f9e1b87e42d77f299c853bd08ea84fe;hb=06e00636bab554f0b6a5c836eeba82088236f1f4;hpb=7100ef3adb9628984e8379eedf3288261999e176 diff --git a/build.sh b/build.sh index 9363ba52..b09c9afa 100644 --- a/build.sh +++ b/build.sh @@ -10,8 +10,6 @@ rebuild=false doit=true make_opts= -cmd_prefix=${CROSS_COMPILE-arm-926ejs-linux-gnu-} - error() { if [ -n "${target}" ];then echo "${target} build aborted" @@ -49,10 +47,6 @@ build_host_tools() { cd "$wd" } -if [ `uname -s` = Linux ];then - PATH="/usr/local/arm/cross-gcc-4.2.0/i686-pc-linux-gnu/bin:$PATH" -fi - while getopts "$options" opt;do case $opt in c) @@ -148,13 +142,11 @@ for target in ${targets};do if $clean;then $quiet || echo "Cleaning up build tree for ${target}" - #make ${make_opts} COMMAND_PREFIX=${cmd_prefix} clean make ${make_opts} clean fi $quiet || echo "Compiling ${target}" [ -d "${build_dir}" ] - #make -C "${build_dir}" COMMAND_PREFIX=${cmd_prefix} ${make_opts} make -C "${build_dir}" ${make_opts} cd $wd