summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2014-07-30 14:29:11 +0200
committerFrank Gevaerts <frank@gevaerts.be>2014-07-30 14:29:27 +0200
commit78f4f7b621d50ab63cd80b93e55aca5cc6ac910d (patch)
tree58a3258c7052e931a12d05d4b203cff267f5d8e7
parent86fa139eac0493893e08769a82e3a0eb6ed7bc90 (diff)
downloadrockbox-78f4f7b621d50ab63cd80b93e55aca5cc6ac910d.tar.gz
rockbox-78f4f7b621d50ab63cd80b93e55aca5cc6ac910d.zip
Make crosstool-ng build with gnu make 4.0
Change-Id: Id3a5a310e6fa53e690c92f420994875cb1bfff43
-rwxr-xr-xtools/rockboxdev.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh
index 4ddd34e4fd..34ecfce189 100755
--- a/tools/rockboxdev.sh
+++ b/tools/rockboxdev.sh
@@ -114,7 +114,7 @@ build() {
114 url="$GNU_MIRROR/binutils" 114 url="$GNU_MIRROR/binutils"
115 ;; 115 ;;
116 116
117 ctng) 117 crosstool-ng)
118 file="crosstool-ng-$version.tar.bz2" 118 file="crosstool-ng-$version.tar.bz2"
119 url="http://crosstool-ng.org/download/crosstool-ng" 119 url="http://crosstool-ng.org/download/crosstool-ng"
120 ;; 120 ;;
@@ -205,7 +205,7 @@ build() {
205 205
206 echo "ROCKBOXDEV: $toolname/configure" 206 echo "ROCKBOXDEV: $toolname/configure"
207 case $toolname in 207 case $toolname in
208 ctng) # ct-ng doesnt support out-of-tree build and the src folder is named differently 208 crosstool-ng) # ct-ng doesnt support out-of-tree build and the src folder is named differently
209 toolname="crosstool-ng" 209 toolname="crosstool-ng"
210 cp -r ../$toolname-$version/* ../$toolname-$version/.version . 210 cp -r ../$toolname-$version/* ../$toolname-$version/.version .
211 ./configure --prefix=$prefix $configure_params 211 ./configure --prefix=$prefix $configure_params
@@ -236,7 +236,7 @@ make_ctng() {
236 236
237 if test ! -n "$ctng"; then 237 if test ! -n "$ctng"; then
238 if test ! -f "$prefix/bin/ct-ng"; then # look if we build it already 238 if test ! -f "$prefix/bin/ct-ng"; then # look if we build it already
239 build "ctng" "" "1.13.2" 239 build "crosstool-ng" "" "1.13.2" "crosstool-ng-1.13.2.diff"
240 fi 240 fi
241 fi 241 fi
242 ctng=`PATH=$prefix/bin:$PATH which ct-ng` 242 ctng=`PATH=$prefix/bin:$PATH which ct-ng`