acpica: add 64bit support, prevent install for ARM

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-02-07 00:29:53 +01:00
parent f2a987ab77
commit 460e578997
3 changed files with 9 additions and 3 deletions

View File

@ -22,10 +22,13 @@
. config/options $1
[ "$TARGET_ARCH" = "i386" ] && ACPICA_BITS="32"
[ "$TARGET_ARCH" = "x86_64" ] && ACPICA_BITS="64"
cd $PKG_BUILD
make PREFIX=/usr \
CC="$TARGET_CC" \
AR="$TARGET_AR" \
BITS="32" \
BITS=$ACPICA_BITS \
YACC=$ROOT/$TOOLCHAIN/bin/bison
CWARNINGFLAGS="-O2 $TARGET_CFLAGS" \

View File

@ -22,5 +22,8 @@
. config/options $1
[ "$TARGET_ARCH" = "i386" ] && ACPICA_BIN="bin32"
[ "$TARGET_ARCH" = "x86_64" ] && ACPICA_BIN="bin64"
mkdir -p $INSTALL/usr/bin/
cp $PKG_BUILD/generate/unix/bin32/* $INSTALL/usr/bin/
cp $PKG_BUILD/generate/unix/$ACPICA_BIN/* $INSTALL/usr/bin/

View File

@ -21,7 +21,7 @@
PKG_NAME="acpica-unix2"
PKG_VERSION="20130117"
PKG_REV="1"
PKG_ARCH="any"
PKG_ARCH="i386 x86_64"
PKG_LICENSE="GPL"
PKG_SITE="http://www.acpica.org/"
PKG_URL="https://www.acpica.org/download/$PKG_NAME-$PKG_VERSION.tar.gz"