summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2011-12-07 19:32:36 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-12-12 21:50:19 (GMT)
commit5af89cd6c883a66fd927f53f51ae16bf72a58678 (patch)
tree52692a33cd0f293f1369ea232b5c2cad7fad590a /meta/recipes-bsp
parentd22f85117c34c78c721985d118578394293ac245 (diff)
downloadpoky-5af89cd6c883a66fd927f53f51ae16bf72a58678.tar.gz
libacpi: Use the cross strip instead of host strip
to avoid this build error on x32: | strip: Unable to recognise the format of the input file `test-libacpi' | make: *** [test-libacpi] Error 1 | ERROR: oe_runmake failed (From OE-Core rev: 4d7882a57210c88dd9e2b8619b2bd0fa4bdbf9f8) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r--meta/recipes-bsp/libacpi/files/use_correct_strip_in_cross_environment.patch23
-rw-r--r--meta/recipes-bsp/libacpi/libacpi_0.2.bb5
2 files changed, 26 insertions, 2 deletions
diff --git a/meta/recipes-bsp/libacpi/files/use_correct_strip_in_cross_environment.patch b/meta/recipes-bsp/libacpi/files/use_correct_strip_in_cross_environment.patch
new file mode 100644
index 0000000..c9ad668
--- /dev/null
+++ b/meta/recipes-bsp/libacpi/files/use_correct_strip_in_cross_environment.patch
@@ -0,0 +1,23 @@
1UpstreamStatus: Pending
2
3Used the cross strip instead of host strip to avoid this build error:
4
5| strip: Unable to recognise the format of the input file `test-libacpi'
6| make: *** [test-libacpi] Error 1
7| ERROR: oe_runmake failed
8
9Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> 2011/12/07
10
11Index: libacpi-0.2/Makefile
12===================================================================
13--- libacpi-0.2.orig/Makefile
14+++ libacpi-0.2/Makefile
15@@ -39,7 +39,7 @@ libacpi.so: ${OBJ}
16 test-libacpi: ${OBJ_test}
17 @echo LD $@
18 @${CC} -o $@ ${OBJ_test} ${LDFLAGS}
19- @strip $@
20+ @${STRIP} $@
21
22 install: all
23 @echo installing header to ${DESTDIR}${PREFIX}/include
diff --git a/meta/recipes-bsp/libacpi/libacpi_0.2.bb b/meta/recipes-bsp/libacpi/libacpi_0.2.bb
index 82fe8f8..2d98fae 100644
--- a/meta/recipes-bsp/libacpi/libacpi_0.2.bb
+++ b/meta/recipes-bsp/libacpi/libacpi_0.2.bb
@@ -5,11 +5,12 @@ SECTION = "base"
5HOMEPAGE = "http://www.ngolde.de/libacpi.html" 5HOMEPAGE = "http://www.ngolde.de/libacpi.html"
6LICENSE = "MIT" 6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=fec17f82f16630adf2dfb7d2a46f21c5" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=fec17f82f16630adf2dfb7d2a46f21c5"
8PR = "r3" 8PR = "r4"
9 9
10SRC_URI = "http://www.ngolde.de/download/libacpi-${PV}.tar.gz \ 10SRC_URI = "http://www.ngolde.de/download/libacpi-${PV}.tar.gz \
11 file://makefile-fix.patch \ 11 file://makefile-fix.patch \
12 file://libacpi_fix_for_x32.patch " 12 file://libacpi_fix_for_x32.patch \
13 file://use_correct_strip_in_cross_environment.patch"
13 14
14SRC_URI[md5sum] = "05b53dd7bead66dda35fec502b91066c" 15SRC_URI[md5sum] = "05b53dd7bead66dda35fec502b91066c"
15SRC_URI[sha256sum] = "13086e31d428b9c125954d48ac497b754bbbce2ef34ea29ecd903e82e25bad29" 16SRC_URI[sha256sum] = "13086e31d428b9c125954d48ac497b754bbbce2ef34ea29ecd903e82e25bad29"