summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/bluez5/bluez5/fix-check-ell-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/bluez5/bluez5/fix-check-ell-path.patch')
-rw-r--r--meta/recipes-connectivity/bluez5/bluez5/fix-check-ell-path.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/meta/recipes-connectivity/bluez5/bluez5/fix-check-ell-path.patch b/meta/recipes-connectivity/bluez5/bluez5/fix-check-ell-path.patch
deleted file mode 100644
index 7afa63962d..0000000000
--- a/meta/recipes-connectivity/bluez5/bluez5/fix-check-ell-path.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1Upstream-Status: Submitted [https://marc.info/?l=linux-bluetooth&m=168818474411163&w=2]
2Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
3
4From linux-bluetooth Sat Jul 01 04:12:52 2023
5From: Rudi Heitbaum <rudi () heitbaum ! com>
6Date: Sat, 01 Jul 2023 04:12:52 +0000
7To: linux-bluetooth
8Subject: [PATCH] configure: Fix check ell path for cross compiling
9Message-Id: <20230701041252.139338-1-rudi () heitbaum ! com>
10X-MARC-Message: https://marc.info/?l=linux-bluetooth&m=168818474411163
11
12Use of AC_CHECK_FILE prevents cross compilation.
13Instead use test to support cross compiling.
14
15Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
16---
17 configure.ac | 7 ++++---
18 1 file changed, 4 insertions(+), 3 deletions(-)
19
20diff --git a/configure.ac b/configure.ac
21index eff297960..bc7edfcd3 100644
22--- a/configure.ac
23+++ b/configure.ac
24@@ -298,9 +298,10 @@ if (test "${enable_external_ell}" = "yes"); then
25 AC_SUBST(ELL_LIBS)
26 fi
27 if (test "${enable_external_ell}" != "yes"); then
28- AC_CHECK_FILE(${srcdir}/ell/ell.h, dummy=yes,
29- AC_CHECK_FILE(${srcdir}/../ell/ell/ell.h, dummy=yes,
30- AC_MSG_ERROR(ELL source is required or use --enable-external-ell)))
31+ if (test ! -f ${srcdir}/ell/ell.h) &&
32+ (test ! -f ${srcdir}/../ell/ell/ell.h); then
33+ AC_MSG_ERROR(ELL source is required or use --enable-external-ell)
34+ fi
35 fi
36 AM_CONDITIONAL(EXTERNAL_ELL, test "${enable_external_ell}" = "yes" ||
37 (test "${enable_btpclient}" != "yes" &&
38--
392.34.1