1
0
Fork 0
forked from len0rd/rockbox

Make crosstool-ng build with gnu make 4.0

Change-Id: Id3a5a310e6fa53e690c92f420994875cb1bfff43
This commit is contained in:
Frank Gevaerts 2014-07-30 14:29:11 +02:00
parent 86fa139eac
commit 78f4f7b621

View file

@ -114,7 +114,7 @@ build() {
url="$GNU_MIRROR/binutils" url="$GNU_MIRROR/binutils"
;; ;;
ctng) crosstool-ng)
file="crosstool-ng-$version.tar.bz2" file="crosstool-ng-$version.tar.bz2"
url="http://crosstool-ng.org/download/crosstool-ng" url="http://crosstool-ng.org/download/crosstool-ng"
;; ;;
@ -205,7 +205,7 @@ build() {
echo "ROCKBOXDEV: $toolname/configure" echo "ROCKBOXDEV: $toolname/configure"
case $toolname in case $toolname in
ctng) # ct-ng doesnt support out-of-tree build and the src folder is named differently crosstool-ng) # ct-ng doesnt support out-of-tree build and the src folder is named differently
toolname="crosstool-ng" toolname="crosstool-ng"
cp -r ../$toolname-$version/* ../$toolname-$version/.version . cp -r ../$toolname-$version/* ../$toolname-$version/.version .
./configure --prefix=$prefix $configure_params ./configure --prefix=$prefix $configure_params
@ -236,7 +236,7 @@ make_ctng() {
if test ! -n "$ctng"; then if test ! -n "$ctng"; then
if test ! -f "$prefix/bin/ct-ng"; then # look if we build it already if test ! -f "$prefix/bin/ct-ng"; then # look if we build it already
build "ctng" "" "1.13.2" build "crosstool-ng" "" "1.13.2" "crosstool-ng-1.13.2.diff"
fi fi
fi fi
ctng=`PATH=$prefix/bin:$PATH which ct-ng` ctng=`PATH=$prefix/bin:$PATH which ct-ng`