[oe-commits] Christopher Larson : hostap-utils: obey LDFLAGS

git at git.openembedded.org git at git.openembedded.org
Mon Sep 22 12:05:24 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: 6b2395210e8c7fd7eb91fa78e043a811c3c0af3d
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=6b2395210e8c7fd7eb91fa78e043a811c3c0af3d

Author: Christopher Larson <chris_larson at mentor.com>
Date:   Tue Sep  2 15:56:25 2014 -0700

hostap-utils: obey LDFLAGS

Signed-off-by: Christopher Larson <chris_larson at mentor.com>

---

 .../hostap/hostap-utils-0.4.7/ldflags.patch        | 27 ++++++++++++++++++++++
 meta/recipes-bsp/hostap/hostap-utils_0.4.7.bb      |  1 +
 2 files changed, 28 insertions(+)

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 0000000..c4655cf
--- /dev/null
+++ b/meta/recipes-bsp/hostap/hostap-utils-0.4.7/ldflags.patch
@@ -0,0 +1,27 @@
+Obey LDFLAGS
+
+Signed-off-by: Christopher Larson <chris_larson at mentor.com>
+Upstream-status: Pending
+
+--- hostap-utils-0.4.7.orig/Makefile
++++ hostap-utils-0.4.7/Makefile
+@@ -14,17 +14,17 @@ prism2_srec.o: prism2_srec.c util.h
+ hostap_crypt_conf: hostap_crypt_conf.c
+
+ hostap_diag: hostap_diag.o util.o
+-	$(CC) -o hostap_diag $(CFLAGS) hostap_diag.o util.o
++	$(CC) -o hostap_diag $(CFLAGS) $(LDFLAGS) hostap_diag.o util.o
+
+ hostap_diag.o: hostap_diag.c util.h
+
+ util.o: util.c util.h
+
+ hostap_io_debug: hostap_io_debug.c
+-	$(CC) -o hostap_io_debug $(CFLAGS) hostap_io_debug.c
++	$(CC) -o hostap_io_debug $(CFLAGS) $(LDFLAGS) hostap_io_debug.c
+
+ hostap_rid: hostap_rid.o util.o
+-	$(CC) -o hostap_rid $(CFLAGS) hostap_rid.o util.o
++	$(CC) -o hostap_rid $(CFLAGS) $(LDFLAGS) hostap_rid.o util.o
+
+ 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 7b224a8..be5481f 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 @@
 require hostap-utils.inc
 
+SRC_URI += "file://ldflags.patch"
 SRC_URI[md5sum] = "afe041581b8f01666e353bec20917c85"
 SRC_URI[sha256sum] = "c6f598d8e356c1620fa009eca0a700bf1105e16817eefd77d891994261009355"



More information about the Openembedded-commits mailing list