diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2011-06-20 13:01:22 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-23 11:56:32 +0100 |
commit | 3158bc05261f47ea7d64126f5d92c145081f5835 (patch) | |
tree | 60a31e347e834aa4b100a8bc8850aa10a658c567 | |
parent | 466c0ae8a2a0701677536136a0cd6cca7e1f00e6 (diff) | |
download | openembedded-core-3158bc05261f47ea7d64126f5d92c145081f5835.tar.gz openembedded-core-3158bc05261f47ea7d64126f5d92c145081f5835.tar.bz2 openembedded-core-3158bc05261f47ea7d64126f5d92c145081f5835.tar.xz openembedded-core-3158bc05261f47ea7d64126f5d92c145081f5835.zip |
wireless-tools: Avoid stripping binaries
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
-rw-r--r-- | meta/recipes-connectivity/wireless-tools/wireless-tools/avoid_strip.patch | 21 | ||||
-rw-r--r-- | meta/recipes-connectivity/wireless-tools/wireless-tools_29.bb | 5 |
2 files changed, 24 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/wireless-tools/wireless-tools/avoid_strip.patch b/meta/recipes-connectivity/wireless-tools/wireless-tools/avoid_strip.patch new file mode 100644 index 000000000..f34e243de --- /dev/null +++ b/meta/recipes-connectivity/wireless-tools/wireless-tools/avoid_strip.patch @@ -0,0 +1,21 @@ +wireless_tools: Avoid stripping iwmulticall + +Upstream-Status: Inappropriate [other] + The removed code was from upstream. + +Signed-off-by: Mark Hatle <mark.hatle@windriver.com> + +diff -ur wireless_tools.29.orig/Makefile wireless_tools.29/Makefile +--- wireless_tools.29.orig/Makefile 2011-06-18 11:35:12.183907453 -0500 ++++ wireless_tools.29/Makefile 2011-06-18 11:38:09.995907985 -0500 +@@ -135,9 +135,8 @@ + + macaddr: macaddr.o $(IWLIB) + +-# Always do symbol stripping here + iwmulticall: iwmulticall.o +- $(CC) $(LDFLAGS) -Wl,-s $(XCFLAGS) -o $@ $^ $(LIBS) ++ $(CC) $(LDFLAGS) $(STRIPFLAGS) $(XCFLAGS) -o $@ $^ $(LIBS) + + # It's a kind of magic... + wireless.h: diff --git a/meta/recipes-connectivity/wireless-tools/wireless-tools_29.bb b/meta/recipes-connectivity/wireless-tools/wireless-tools_29.bb index 70bf91b74..3f9f8f05d 100644 --- a/meta/recipes-connectivity/wireless-tools/wireless-tools_29.bb +++ b/meta/recipes-connectivity/wireless-tools/wireless-tools_29.bb @@ -8,12 +8,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ SECTION = "base" PRIORITY = "optional" PE = "1" -PR = "r1" +PR = "r2" SRC_URI = "http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.29.tar.gz \ file://man.patch;apply=yes \ file://wireless-tools.if-pre-up \ - file://zzz-wireless.if-pre-up" + file://zzz-wireless.if-pre-up \ + file://avoid_strip.patch" SRC_URI[md5sum] = "e06c222e186f7cc013fd272d023710cb" SRC_URI[sha256sum] = "6fb80935fe208538131ce2c4178221bab1078a1656306bce8909c19887e2e5a1" |