From ab1cf209eca379bc679a73b397c6b348be5a6862 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sun, 12 Jul 2020 22:24:32 -0400 Subject: build: We don't want '-r' in MAKEFLAGS for toolchain builds. Change-Id: Id1a96fb2274572ae7520a146b13f044f68e0c3aa --- tools/rockboxdev.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tools') 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. -- cgit