summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuhammad Shakeel <muhammad_shakeel@mentor.com>2012-12-19 11:35:53 +0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-26 11:34:06 +0000
commit1d55450664de14156f020b7491d72e2b4c88a2d8 (patch)
tree081d91eda8cc6e8d445fcf2cb340540eec657e46
parent716578c67704d9d246d15669d5eb9d1ad34d5d5f (diff)
downloadpoky-1d55450664de14156f020b7491d72e2b4c88a2d8.tar.gz
wireless-tools: Remove QA warning: No GNU_HASH in the elf binary
Handle LDFLAGS properly in the Makefile to remove warning: QA Issue: No GNU_HASH in the elf binary (From OE-Core rev: 32d5a2951338d838ed41b34b6b507c9b68e98fb2) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-connectivity/wireless-tools/wireless-tools/ldflags.patch22
-rw-r--r--meta/recipes-connectivity/wireless-tools/wireless-tools_29.bb3
2 files changed, 24 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/wireless-tools/wireless-tools/ldflags.patch b/meta/recipes-connectivity/wireless-tools/wireless-tools/ldflags.patch
new file mode 100644
index 0000000000..6c0d8cbd2e
--- /dev/null
+++ b/meta/recipes-connectivity/wireless-tools/wireless-tools/ldflags.patch
@@ -0,0 +1,22 @@
1wireless-tools: Remove QA warning: No GNU_HASH in the elf binary
2
3Upstream-Status: Inappropriate [other]
4 Useful within bitbake environment only.
5
6Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
7
8---
9 Makefile | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12--- wireless_tools.29.orig/Makefile
13+++ wireless_tools.29/Makefile
14@@ -144,7 +144,7 @@ wireless.h:
15
16 # Compilation of the dynamic library
17 $(DYNAMIC): $(OBJS:.o=.so)
18- $(CC) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $(LIBS) -lc $^
19+ $(CC) -shared -o $@ -Wl,-soname,$@ $(LDFLAGS) $(STRIPFLAGS) $(LIBS) -lc $^
20
21 # Compilation of the static library
22 $(STATIC): $(OBJS:.o=.so)
diff --git a/meta/recipes-connectivity/wireless-tools/wireless-tools_29.bb b/meta/recipes-connectivity/wireless-tools/wireless-tools_29.bb
index 209f29ae2c..b4d34bb47c 100644
--- a/meta/recipes-connectivity/wireless-tools/wireless-tools_29.bb
+++ b/meta/recipes-connectivity/wireless-tools/wireless-tools_29.bb
@@ -14,7 +14,8 @@ SRC_URI = "http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.2
14 file://man.patch \ 14 file://man.patch \
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 file://avoid_strip.patch \
18 file://ldflags.patch"
18 19
19SRC_URI[md5sum] = "e06c222e186f7cc013fd272d023710cb" 20SRC_URI[md5sum] = "e06c222e186f7cc013fd272d023710cb"
20SRC_URI[sha256sum] = "6fb80935fe208538131ce2c4178221bab1078a1656306bce8909c19887e2e5a1" 21SRC_URI[sha256sum] = "6fb80935fe208538131ce2c4178221bab1078a1656306bce8909c19887e2e5a1"