generic-poky/meta/recipes-bsp/libacpi/files/use_correct_strip_in_cross_environment.patch
Saul Wold ece80fe035 Add Upstream-Status to patches
(From OE-Core rev: 169e55d802883df763dbff4a4737e05e96358fa3)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-03 12:14:31 +00:00

24 lines
669 B
Diff

Upstream-Status: Pending
Used the cross strip instead of host strip to avoid this build error:
| strip: Unable to recognise the format of the input file `test-libacpi'
| make: *** [test-libacpi] Error 1
| ERROR: oe_runmake failed
Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> 2011/12/07
Index: libacpi-0.2/Makefile
===================================================================
--- libacpi-0.2.orig/Makefile
+++ libacpi-0.2/Makefile
@@ -39,7 +39,7 @@ libacpi.so: ${OBJ}
test-libacpi: ${OBJ_test}
@echo LD $@
@${CC} -o $@ ${OBJ_test} ${LDFLAGS}
- @strip $@
+ @${STRIP} $@
install: all
@echo installing header to ${DESTDIR}${PREFIX}/include