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 12:07:33 +0100 |
commit | 0da06f2b228b1da19478cf359d441c7ef4daca5a (patch) | |
tree | 9efc3b77d2801960b523befb38df664a006da0e3 /meta | |
parent | 5d5302446c1f141b521ef98aa416a2cf3c816d02 (diff) | |
download | poky-0da06f2b228b1da19478cf359d441c7ef4daca5a.tar.gz |
wireless-tools: Avoid stripping binaries
(From OE-Core rev: 3158bc05261f47ea7d64126f5d92c145081f5835)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 0000000000..f34e243de9 --- /dev/null +++ b/meta/recipes-connectivity/wireless-tools/wireless-tools/avoid_strip.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | wireless_tools: Avoid stripping iwmulticall | ||
2 | |||
3 | Upstream-Status: Inappropriate [other] | ||
4 | The removed code was from upstream. | ||
5 | |||
6 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> | ||
7 | |||
8 | diff -ur wireless_tools.29.orig/Makefile wireless_tools.29/Makefile | ||
9 | --- wireless_tools.29.orig/Makefile 2011-06-18 11:35:12.183907453 -0500 | ||
10 | +++ wireless_tools.29/Makefile 2011-06-18 11:38:09.995907985 -0500 | ||
11 | @@ -135,9 +135,8 @@ | ||
12 | |||
13 | macaddr: macaddr.o $(IWLIB) | ||
14 | |||
15 | -# Always do symbol stripping here | ||
16 | iwmulticall: iwmulticall.o | ||
17 | - $(CC) $(LDFLAGS) -Wl,-s $(XCFLAGS) -o $@ $^ $(LIBS) | ||
18 | + $(CC) $(LDFLAGS) $(STRIPFLAGS) $(XCFLAGS) -o $@ $^ $(LIBS) | ||
19 | |||
20 | # It's a kind of magic... | ||
21 | 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 70bf91b744..3f9f8f05dc 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 \ | |||
8 | SECTION = "base" | 8 | SECTION = "base" |
9 | PRIORITY = "optional" | 9 | PRIORITY = "optional" |
10 | PE = "1" | 10 | PE = "1" |
11 | PR = "r1" | 11 | PR = "r2" |
12 | 12 | ||
13 | SRC_URI = "http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.29.tar.gz \ | 13 | SRC_URI = "http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.29.tar.gz \ |
14 | file://man.patch;apply=yes \ | 14 | file://man.patch;apply=yes \ |
15 | file://wireless-tools.if-pre-up \ | 15 | file://wireless-tools.if-pre-up \ |
16 | file://zzz-wireless.if-pre-up" | 16 | file://zzz-wireless.if-pre-up \ |
17 | file://avoid_strip.patch" | ||
17 | 18 | ||
18 | SRC_URI[md5sum] = "e06c222e186f7cc013fd272d023710cb" | 19 | SRC_URI[md5sum] = "e06c222e186f7cc013fd272d023710cb" |
19 | SRC_URI[sha256sum] = "6fb80935fe208538131ce2c4178221bab1078a1656306bce8909c19887e2e5a1" | 20 | SRC_URI[sha256sum] = "6fb80935fe208538131ce2c4178221bab1078a1656306bce8909c19887e2e5a1" |