summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-connectivity/iwd/iwd/0001-build-Use-abs_top_srcdir-instead-of-abs_srcdir-for-e.patch35
-rw-r--r--meta-oe/recipes-connectivity/iwd/iwd_1.13.bb (renamed from meta-oe/recipes-connectivity/iwd/iwd_1.12.bb)6
2 files changed, 38 insertions, 3 deletions
diff --git a/meta-oe/recipes-connectivity/iwd/iwd/0001-build-Use-abs_top_srcdir-instead-of-abs_srcdir-for-e.patch b/meta-oe/recipes-connectivity/iwd/iwd/0001-build-Use-abs_top_srcdir-instead-of-abs_srcdir-for-e.patch
new file mode 100644
index 000000000..63d617f3e
--- /dev/null
+++ b/meta-oe/recipes-connectivity/iwd/iwd/0001-build-Use-abs_top_srcdir-instead-of-abs_srcdir-for-e.patch
@@ -0,0 +1,35 @@
1From 0532cddcec9c3abff1f3bc22d2fa50df03d55d17 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 5 Apr 2021 14:11:40 -0700
4Subject: [PATCH] build: Use abs_top_srcdir instead of abs_srcdir for ell sources
5
6this makes it build when build dir is outside of sources dir
7
8Upstream-Status: Submitted [https://lists.01.org/hyperkitty/list/iwd@lists.01.org/message/SYX6Z7SUQHU7UWM6ECZTTJ6SPODIS6KB/]
9---
10 Makefile.am | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-)
12
13--- a/Makefile.am
14+++ b/Makefile.am
15@@ -625,9 +625,10 @@ unit/tls-settings.8021x: unit/cert-ca.pe
16 BUILT_SOURCES = $(ell_built_sources) src/builtin.h
17
18 ell/shared: Makefile
19+ $(AM_V_at)$(MKDIR_P) ell
20 $(AM_V_GEN)for f in $(ell_shared) ; do \
21 if [ ! -f $$f ] ; then \
22- $(LN_S) -t ell -f $(abs_srcdir)/../ell/$$f ; \
23+ $(LN_S) -t ell -f $(abs_top_srcdir)/ell/$$f ; \
24 fi \
25 done > $@
26
27@@ -635,7 +636,7 @@ ell/internal: Makefile
28 $(AM_V_at)$(MKDIR_P) ell
29 $(AM_V_GEN)for f in $(ell_headers) $(ell_sources) ; do \
30 if [ ! -f $$f ] ; then \
31- $(LN_S) -t ell -f $(abs_srcdir)/../ell/$$f ; \
32+ $(LN_S) -t ell -f $(abs_top_srcdir)/ell/$$f ; \
33 fi \
34 done > $@
35
diff --git a/meta-oe/recipes-connectivity/iwd/iwd_1.12.bb b/meta-oe/recipes-connectivity/iwd/iwd_1.13.bb
index ccdc65ac6..19d3a509c 100644
--- a/meta-oe/recipes-connectivity/iwd/iwd_1.12.bb
+++ b/meta-oe/recipes-connectivity/iwd/iwd_1.13.bb
@@ -5,10 +5,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fb504b67c50331fc78734fed90fb0e09"
5 5
6DEPENDS = "ell" 6DEPENDS = "ell"
7 7
8SRC_URI = "git://git.kernel.org/pub/scm/network/wireless/iwd.git \ 8SRC_URI = "https://www.kernel.org/pub/linux/network/wireless/${BP}.tar.xz \
9 file://0001-build-Use-abs_top_srcdir-instead-of-abs_srcdir-for-e.patch \
9 " 10 "
10SRCREV = "bde3e0f6e3364e9c884b6b93a944d8138345b8e5" 11SRC_URI[sha256sum] = "b005f7ed0f0a96a2c6181c44560fc868533a18e7034bd4cb43ea0d40c21b4e7a"
11S = "${WORKDIR}/git"
12 12
13inherit autotools manpages pkgconfig python3native systemd 13inherit autotools manpages pkgconfig python3native systemd
14 14