diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2011-12-07 11:32:36 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-12 21:50:09 +0000 |
commit | 4d7882a57210c88dd9e2b8619b2bd0fa4bdbf9f8 (patch) | |
tree | 5ebcf301e2102fe3933e48bf3775dadab181e9f8 /meta/recipes-bsp/libacpi/files | |
parent | 061d8015d6f15825bf9c4245671313bec35cefbf (diff) | |
download | openembedded-core-4d7882a57210c88dd9e2b8619b2bd0fa4bdbf9f8.tar.gz openembedded-core-4d7882a57210c88dd9e2b8619b2bd0fa4bdbf9f8.tar.bz2 openembedded-core-4d7882a57210c88dd9e2b8619b2bd0fa4bdbf9f8.zip |
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
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Diffstat (limited to 'meta/recipes-bsp/libacpi/files')
-rw-r--r-- | meta/recipes-bsp/libacpi/files/use_correct_strip_in_cross_environment.patch | 23 |
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 0000000000..c9ad668fcd --- /dev/null +++ b/meta/recipes-bsp/libacpi/files/use_correct_strip_in_cross_environment.patch @@ -0,0 +1,23 @@ +UpstreamStatus: 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 |