Merge pull request #2173 from vpeter4/stuff

acpica: no need to crosscompile patch
This commit is contained in:
Stefan Saraev 2013-04-06 04:56:11 -07:00
commit 456cbd9f32
2 changed files with 3 additions and 12 deletions

View File

@ -30,6 +30,9 @@ cd $PKG_BUILD
make PREFIX=/usr \
CC="$TARGET_CC" \
AR="$TARGET_AR" \
HOST=_LINUX \
HARDWARE_NAME=$TARGET_ARCH \
BITS=$ACPICA_BITS \
YACC=$ROOT/$TOOLCHAIN/bin/bison \
CWARNINGFLAGS="-O2 $TARGET_CFLAGS"

View File

@ -1,12 +0,0 @@
diff -uNr acpica-unix2-20130117-orig/generate/unix/Makefile.common acpica-unix2-20130117/generate/unix/Makefile.common
--- acpica-unix2-20130117-orig/generate/unix/Makefile.common 2013-01-17 20:47:44.000000000 +0100
+++ acpica-unix2-20130117/generate/unix/Makefile.common 2013-02-07 15:13:59.000000000 +0100
@@ -6,7 +6,7 @@
# Get the OS machine architecture. Anything with a "64" in the returned
# string will be treated as a 64-bit OS. Otherwise, the default is 32-bit.
#
-HARDWARE_NAME := $(shell uname -m)
+HARDWARE_NAME=$(BITS)
BITS=0
#