wok rev 12855
make: cross compile for ARM
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 23 16:27:19 2012 +0200 (2012-05-23) |
parents | 714a41626fed |
children | 225ed201c21e |
files | make/receipt |
line diff
1.1 --- a/make/receipt Wed May 23 16:14:57 2012 +0200 1.2 +++ b/make/receipt Wed May 23 16:27:19 2012 +0200 1.3 @@ -8,20 +8,10 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.5 WEB_SITE="http://www.gnu.org/software/make/" 1.6 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.7 +HOST_ARCH="i486 arm x86_64" 1.8 1.9 DEPENDS="glibc-base" 1.10 -BUILD_DEPENDS="gcc" 1.11 - 1.12 -# Rules to compile & install the temporary toolchain. 1.13 -cook_tmp_toolchain() 1.14 -{ 1.15 - cd $src 1.16 - # http://savannah.gnu.org/bugs/?30612 1.17 - patch -Np1 -i $stuff/bug30612.patch 1.18 - # http://savannah.gnu.org/bugs/?30723 1.19 - patch -Np1 -i $stuff/bug30723.patch 1.20 - ./configure && make && make install 1.21 -} 1.22 +BUILD_DEPENDS="" 1.23 1.24 # Rules to configure and make the package. 1.25 compile_rules() 1.26 @@ -39,5 +29,5 @@ 1.27 genpkg_rules() 1.28 { 1.29 mkdir -p $fs/usr 1.30 - cp -a $_pkg/usr/bin $fs/usr 1.31 + cp -a $install/usr/bin $fs/usr 1.32 }