summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/crda
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-connectivity/crda')
-rw-r--r--meta-networking/recipes-connectivity/crda/crda/0001-Makefile-respect-LDFLAGS-for-libreg.patch29
-rw-r--r--meta-networking/recipes-connectivity/crda/crda_3.18.bb1
2 files changed, 30 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/crda/crda/0001-Makefile-respect-LDFLAGS-for-libreg.patch b/meta-networking/recipes-connectivity/crda/crda/0001-Makefile-respect-LDFLAGS-for-libreg.patch
new file mode 100644
index 000000000..16800d506
--- /dev/null
+++ b/meta-networking/recipes-connectivity/crda/crda/0001-Makefile-respect-LDFLAGS-for-libreg.patch
@@ -0,0 +1,29 @@
1From 1e1a78b7b4fa1662b4447aa19c15b1e839b7e9db Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Stefan=20M=C3=BCller-Klieser?= <s.mueller-klieser@phytec.de>
3Date: Wed, 24 Aug 2016 10:58:45 +0200
4Subject: [PATCH] Makefile: respect LDFLAGS for libreg
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
10---
11 Makefile | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/Makefile b/Makefile
15index 2879896..1650db8 100644
16--- a/Makefile
17+++ b/Makefile
18@@ -116,7 +116,7 @@ keys-%.c: utils/key2pub.py $(wildcard $(PUBKEY_DIR)/*.pem)
19
20 $(LIBREG): regdb.h reglib.h reglib.c
21 $(NQ) ' CC ' $@
22- $(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -shared -Wl,-soname,$(LIBREG) $^ $(LIBREGLDLIBS)
23+ $(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -shared -Wl,-soname,$(LIBREG) $^ $(LDFLAGS) $(LIBREGLDLIBS)
24
25 install-libreg-headers:
26 $(NQ) ' INSTALL libreg-headers'
27--
281.9.1
29
diff --git a/meta-networking/recipes-connectivity/crda/crda_3.18.bb b/meta-networking/recipes-connectivity/crda/crda_3.18.bb
index 4a9393058..00c358dab 100644
--- a/meta-networking/recipes-connectivity/crda/crda_3.18.bb
+++ b/meta-networking/recipes-connectivity/crda/crda_3.18.bb
@@ -10,6 +10,7 @@ SRC_URI = "https://www.kernel.org/pub/software/network/${BPN}/${BP}.tar.xz \
10 file://do-not-run-ldconfig-if-destdir-is-set.patch \ 10 file://do-not-run-ldconfig-if-destdir-is-set.patch \
11 file://fix-linking-of-libraries-used-by-reglib.patch \ 11 file://fix-linking-of-libraries-used-by-reglib.patch \
12 file://fix-gcc-6-unused-variables.patch \ 12 file://fix-gcc-6-unused-variables.patch \
13 file://0001-Makefile-respect-LDFLAGS-for-libreg.patch \
13" 14"
14SRC_URI[md5sum] = "0431fef3067bf503dfb464069f06163a" 15SRC_URI[md5sum] = "0431fef3067bf503dfb464069f06163a"
15SRC_URI[sha256sum] = "43fcb9679f8b75ed87ad10944a506292def13e4afb194afa7aa921b01e8ecdbf" 16SRC_URI[sha256sum] = "43fcb9679f8b75ed87ad10944a506292def13e4afb194afa7aa921b01e8ecdbf"