# HG changeset patch # User Christophe Lincoln # Date 1336872362 -7200 # Node ID 198bdfe3af189b0d95eb9c16102ff7cbb7458111 # Parent 1eb14edfc8444b1dba03c6c9d63984384e93b961 busybox: enable arm build diff -r 1eb14edfc844 -r 198bdfe3af18 busybox/receipt --- a/busybox/receipt Sun May 13 03:20:37 2012 +0200 +++ b/busybox/receipt Sun May 13 03:26:02 2012 +0200 @@ -5,14 +5,16 @@ CATEGORY="base-system" SHORT_DESC="Busybox combines tiny versions of many common UNIX utilities." MAINTAINER="pascal.bellard@slitaz.org" -AUFS_NOT_SUPPORTED="uclibc-cross-compiler-i486 is not compatible with aufs 8(" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.busybox.net/" WGET_URL="http://www.busybox.net/downloads/$TARBALL" -CONFIG_FILES="/etc/dnsd.conf /etc/inetd.conf /etc/udhcpd.conf /etc/resolv.conf /etc/httpd.conf" +HOST_ARCH="i486 arm" DEPENDS="slitaz-base-files glibc-base ncurses-common" BUILD_DEPENDS="bzip2 pam pam-dev uclibc-cross-compiler-i486" +CONFIG_FILES="/etc/dnsd.conf /etc/inetd.conf /etc/udhcpd.conf \ +/etc/resolv.conf /etc/httpd.conf" +AUFS_NOT_SUPPORTED="uclibc-cross-compiler-i486 is not compatible with aufs 8(" case "$ARCH" in arm) BUILD_DEPENDS="bzip2" ;; @@ -61,12 +63,12 @@ make && make install } || return 1 } + # Rules to configure and make the package. compile_rules() { case "$ARCH" in arm) - export CROSS_COMPILE=$HOST_SYSTEM- echo "cook: CROSS_COMPILE=$CROSS_COMPILE" cook_bb chmod 4755 $src/_install/bin/busybox ;;