summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2014-09-02 15:56:25 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-22 13:04:22 +0100
commit6bd98e81d251fca5523856a90181b2b692ab4c9f (patch)
treee36cdf0871a6f52856be70e4470c534b1a791cee /meta/recipes-bsp
parent3c9bf23ddbd5f8c2221277f13461e62b6ffdb5dc (diff)
downloadpoky-6bd98e81d251fca5523856a90181b2b692ab4c9f.tar.gz
hostap-utils: obey LDFLAGS
(From OE-Core rev: 6b2395210e8c7fd7eb91fa78e043a811c3c0af3d) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r--meta/recipes-bsp/hostap/hostap-utils-0.4.7/ldflags.patch27
-rw-r--r--meta/recipes-bsp/hostap/hostap-utils_0.4.7.bb1
2 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-bsp/hostap/hostap-utils-0.4.7/ldflags.patch b/meta/recipes-bsp/hostap/hostap-utils-0.4.7/ldflags.patch
new file mode 100644
index 0000000000..c4655cf092
--- /dev/null
+++ b/meta/recipes-bsp/hostap/hostap-utils-0.4.7/ldflags.patch
@@ -0,0 +1,27 @@
1Obey LDFLAGS
2
3Signed-off-by: Christopher Larson <chris_larson@mentor.com>
4Upstream-status: Pending
5
6--- hostap-utils-0.4.7.orig/Makefile
7+++ hostap-utils-0.4.7/Makefile
8@@ -14,17 +14,17 @@ prism2_srec.o: prism2_srec.c util.h
9 hostap_crypt_conf: hostap_crypt_conf.c
10
11 hostap_diag: hostap_diag.o util.o
12- $(CC) -o hostap_diag $(CFLAGS) hostap_diag.o util.o
13+ $(CC) -o hostap_diag $(CFLAGS) $(LDFLAGS) hostap_diag.o util.o
14
15 hostap_diag.o: hostap_diag.c util.h
16
17 util.o: util.c util.h
18
19 hostap_io_debug: hostap_io_debug.c
20- $(CC) -o hostap_io_debug $(CFLAGS) hostap_io_debug.c
21+ $(CC) -o hostap_io_debug $(CFLAGS) $(LDFLAGS) hostap_io_debug.c
22
23 hostap_rid: hostap_rid.o util.o
24- $(CC) -o hostap_rid $(CFLAGS) hostap_rid.o util.o
25+ $(CC) -o hostap_rid $(CFLAGS) $(LDFLAGS) hostap_rid.o util.o
26
27 hostap_rid.o: hostap_rid.c util.h
diff --git a/meta/recipes-bsp/hostap/hostap-utils_0.4.7.bb b/meta/recipes-bsp/hostap/hostap-utils_0.4.7.bb
index 7b224a8a4d..be5481f6f7 100644
--- a/meta/recipes-bsp/hostap/hostap-utils_0.4.7.bb
+++ b/meta/recipes-bsp/hostap/hostap-utils_0.4.7.bb
@@ -1,4 +1,5 @@
1require hostap-utils.inc 1require hostap-utils.inc
2 2
3SRC_URI += "file://ldflags.patch"
3SRC_URI[md5sum] = "afe041581b8f01666e353bec20917c85" 4SRC_URI[md5sum] = "afe041581b8f01666e353bec20917c85"
4SRC_URI[sha256sum] = "c6f598d8e356c1620fa009eca0a700bf1105e16817eefd77d891994261009355" 5SRC_URI[sha256sum] = "c6f598d8e356c1620fa009eca0a700bf1105e16817eefd77d891994261009355"