summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/libacpi/files/use_correct_strip_in_cross_environment.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-bsp/libacpi/files/use_correct_strip_in_cross_environment.patch')
-rw-r--r--meta/recipes-bsp/libacpi/files/use_correct_strip_in_cross_environment.patch23
1 files changed, 23 insertions, 0 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..bca75fb
--- /dev/null
+++ b/meta/recipes-bsp/libacpi/files/use_correct_strip_in_cross_environment.patch
@@ -0,0 +1,23 @@
1Upstream-Status: 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