mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
acpica: add 64bit support, prevent install for ARM
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
f2a987ab77
commit
460e578997
@ -22,10 +22,13 @@
|
|||||||
|
|
||||||
. config/options $1
|
. config/options $1
|
||||||
|
|
||||||
|
[ "$TARGET_ARCH" = "i386" ] && ACPICA_BITS="32"
|
||||||
|
[ "$TARGET_ARCH" = "x86_64" ] && ACPICA_BITS="64"
|
||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
make PREFIX=/usr \
|
make PREFIX=/usr \
|
||||||
CC="$TARGET_CC" \
|
CC="$TARGET_CC" \
|
||||||
AR="$TARGET_AR" \
|
AR="$TARGET_AR" \
|
||||||
BITS="32" \
|
BITS=$ACPICA_BITS \
|
||||||
YACC=$ROOT/$TOOLCHAIN/bin/bison
|
YACC=$ROOT/$TOOLCHAIN/bin/bison
|
||||||
CWARNINGFLAGS="-O2 $TARGET_CFLAGS" \
|
CWARNINGFLAGS="-O2 $TARGET_CFLAGS" \
|
||||||
|
@ -22,5 +22,8 @@
|
|||||||
|
|
||||||
. config/options $1
|
. config/options $1
|
||||||
|
|
||||||
|
[ "$TARGET_ARCH" = "i386" ] && ACPICA_BIN="bin32"
|
||||||
|
[ "$TARGET_ARCH" = "x86_64" ] && ACPICA_BIN="bin64"
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/bin/
|
mkdir -p $INSTALL/usr/bin/
|
||||||
cp $PKG_BUILD/generate/unix/bin32/* $INSTALL/usr/bin/
|
cp $PKG_BUILD/generate/unix/$ACPICA_BIN/* $INSTALL/usr/bin/
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
PKG_NAME="acpica-unix2"
|
PKG_NAME="acpica-unix2"
|
||||||
PKG_VERSION="20130117"
|
PKG_VERSION="20130117"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="i386 x86_64"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://www.acpica.org/"
|
PKG_SITE="http://www.acpica.org/"
|
||||||
PKG_URL="https://www.acpica.org/download/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="https://www.acpica.org/download/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user