forked from len0rd/rockbox
build: We don't want '-r' in MAKEFLAGS for toolchain builds.
Change-Id: Id1a96fb2274572ae7520a146b13f044f68e0c3aa
This commit is contained in:
parent
980124ec73
commit
ab1cf209ec
1 changed files with 5 additions and 4 deletions
|
@ -466,11 +466,11 @@ build_ctng() {
|
||||||
|
|
||||||
dlurl="http://www.rockbox.org/gcc/$ctng_target"
|
dlurl="http://www.rockbox.org/gcc/$ctng_target"
|
||||||
|
|
||||||
# download
|
# download
|
||||||
getfile "ct-ng-config" "$dlurl"
|
getfile "ct-ng-config" "$dlurl"
|
||||||
|
|
||||||
test -n "$extra" && getfile "$extra" "$dlurl"
|
test -n "$extra" && getfile "$extra" "$dlurl"
|
||||||
|
|
||||||
# create build directory
|
# create build directory
|
||||||
if test -d $builddir; then
|
if test -d $builddir; then
|
||||||
if test ! -w $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"
|
tar xf "$dlwhere/$extra" -C "$prefix/$tc_arch-$ctng_target-$tc_host/$sysroot"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# cleanup
|
# cleanup
|
||||||
cd $builddir
|
cd $builddir
|
||||||
rm -rf $builddir/build-$ctng_target
|
rm -rf $builddir/build-$ctng_target
|
||||||
|
@ -721,6 +721,7 @@ PATH="$prefix/bin:${PATH}"
|
||||||
|
|
||||||
for arch in $selarch
|
for arch in $selarch
|
||||||
do
|
do
|
||||||
|
export MAKEFLAGS=`echo $MAKEFLAGS| sed 's/ -r / /'` # We don't want -r
|
||||||
echo ""
|
echo ""
|
||||||
case $arch in
|
case $arch in
|
||||||
[Ss])
|
[Ss])
|
||||||
|
@ -797,7 +798,7 @@ do
|
||||||
prefix="/usr" buildtool "alsa-lib" "$alsalib_ver" \
|
prefix="/usr" buildtool "alsa-lib" "$alsalib_ver" \
|
||||||
"--host=$target --disable-python" "" "install DESTDIR=$prefix/$target/sysroot"
|
"--host=$target --disable-python" "" "install DESTDIR=$prefix/$target/sysroot"
|
||||||
;;
|
;;
|
||||||
[yy])
|
[Yy])
|
||||||
# IMPORTANT NOTE
|
# IMPORTANT NOTE
|
||||||
# This toolchain must support several targets and thus must support
|
# This toolchain must support several targets and thus must support
|
||||||
# the oldest possible configuration.
|
# the oldest possible configuration.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue