wok rev 12772

busybox: enable arm build
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 13 03:26:02 2012 +0200 (2012-05-13)
parents 1eb14edfc844
children 7c64b51d0a8c
files busybox/receipt
line diff
     1.1 --- a/busybox/receipt	Sun May 13 03:20:37 2012 +0200
     1.2 +++ b/busybox/receipt	Sun May 13 03:26:02 2012 +0200
     1.3 @@ -5,14 +5,16 @@
     1.4  CATEGORY="base-system"
     1.5  SHORT_DESC="Busybox combines tiny versions of many common UNIX utilities."
     1.6  MAINTAINER="pascal.bellard@slitaz.org"
     1.7 -AUFS_NOT_SUPPORTED="uclibc-cross-compiler-i486 is not compatible with aufs 8("
     1.8  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.9  WEB_SITE="http://www.busybox.net/"
    1.10  WGET_URL="http://www.busybox.net/downloads/$TARBALL"
    1.11 -CONFIG_FILES="/etc/dnsd.conf /etc/inetd.conf /etc/udhcpd.conf /etc/resolv.conf /etc/httpd.conf"
    1.12 +HOST_ARCH="i486 arm"
    1.13  
    1.14  DEPENDS="slitaz-base-files glibc-base ncurses-common"
    1.15  BUILD_DEPENDS="bzip2 pam pam-dev uclibc-cross-compiler-i486"
    1.16 +CONFIG_FILES="/etc/dnsd.conf /etc/inetd.conf /etc/udhcpd.conf \
    1.17 +/etc/resolv.conf /etc/httpd.conf"
    1.18 +AUFS_NOT_SUPPORTED="uclibc-cross-compiler-i486 is not compatible with aufs 8("
    1.19  
    1.20  case "$ARCH" in
    1.21  	arm) BUILD_DEPENDS="bzip2" ;;
    1.22 @@ -61,12 +63,12 @@
    1.23  	make && make install
    1.24  	} || return 1
    1.25  }
    1.26 +
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30  	case "$ARCH" in
    1.31  		arm)
    1.32 -			export CROSS_COMPILE=$HOST_SYSTEM-
    1.33  			echo "cook: CROSS_COMPILE=$CROSS_COMPILE"
    1.34  			cook_bb
    1.35  			chmod 4755 $src/_install/bin/busybox ;;