diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-12 22:24:32 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-12 22:24:32 -0400 |
commit | ab1cf209eca379bc679a73b397c6b348be5a6862 (patch) | |
tree | cd2aba471e2f70962374abfc4b3a3d02608a706d /tools | |
parent | 980124ec7348219962ff17ad0d37c4033d552ace (diff) | |
download | rockbox-ab1cf209eca379bc679a73b397c6b348be5a6862.tar.gz rockbox-ab1cf209eca379bc679a73b397c6b348be5a6862.tar.bz2 rockbox-ab1cf209eca379bc679a73b397c6b348be5a6862.zip |
build: We don't want '-r' in MAKEFLAGS for toolchain builds.
Change-Id: Id1a96fb2274572ae7520a146b13f044f68e0c3aa
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/rockboxdev.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh index cd653977ee..4123790ce6 100755 --- a/tools/rockboxdev.sh +++ b/tools/rockboxdev.sh @@ -466,11 +466,11 @@ build_ctng() { dlurl="http://www.rockbox.org/gcc/$ctng_target" - # download + # download getfile "ct-ng-config" "$dlurl" test -n "$extra" && getfile "$extra" "$dlurl" - + # create build directory if test -d $builddir; then if test ! -w $builddir; then @@ -497,7 +497,7 @@ build_ctng() { tar xf "$dlwhere/$extra" -C "$prefix/$tc_arch-$ctng_target-$tc_host/$sysroot" fi fi - + # cleanup cd $builddir rm -rf $builddir/build-$ctng_target @@ -721,6 +721,7 @@ PATH="$prefix/bin:${PATH}" for arch in $selarch do + export MAKEFLAGS=`echo $MAKEFLAGS| sed 's/ -r / /'` # We don't want -r echo "" case $arch in [Ss]) @@ -797,7 +798,7 @@ do prefix="/usr" buildtool "alsa-lib" "$alsalib_ver" \ "--host=$target --disable-python" "" "install DESTDIR=$prefix/$target/sysroot" ;; - [yy]) + [Yy]) # IMPORTANT NOTE # This toolchain must support several targets and thus must support # the oldest possible configuration. |