# HG changeset patch # User Christophe Lincoln # Date 1337783239 -7200 # Node ID ebdf263e57ce3cb8a84ac6054d0440b63993f55b # Parent 714a41626fed82b863175e9fc2468c98e0f01ac6 make: cross compile for ARM diff -r 714a41626fed -r ebdf263e57ce make/receipt --- a/make/receipt Wed May 23 16:14:57 2012 +0200 +++ b/make/receipt Wed May 23 16:27:19 2012 +0200 @@ -8,20 +8,10 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.gnu.org/software/make/" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" +HOST_ARCH="i486 arm x86_64" DEPENDS="glibc-base" -BUILD_DEPENDS="gcc" - -# Rules to compile & install the temporary toolchain. -cook_tmp_toolchain() -{ - cd $src - # http://savannah.gnu.org/bugs/?30612 - patch -Np1 -i $stuff/bug30612.patch - # http://savannah.gnu.org/bugs/?30723 - patch -Np1 -i $stuff/bug30723.patch - ./configure && make && make install -} +BUILD_DEPENDS="" # Rules to configure and make the package. compile_rules() @@ -39,5 +29,5 @@ genpkg_rules() { mkdir -p $fs/usr - cp -a $_pkg/usr/bin $fs/usr + cp -a $install/usr/bin $fs/usr }