linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] configure: Fix check ell path for cross compiling
@ 2023-07-01  4:12 Rudi Heitbaum
  2023-07-01  5:21 ` bluez.test.bot
  2023-07-12 22:50 ` [PATCH] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Rudi Heitbaum @ 2023-07-01  4:12 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: marcel, Rudi Heitbaum

Use of AC_CHECK_FILE prevents cross compilation.
Instead use test to support cross compiling.

Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
---
 configure.ac | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index eff297960..bc7edfcd3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -298,9 +298,10 @@ if (test "${enable_external_ell}" = "yes"); then
 	AC_SUBST(ELL_LIBS)
 fi
 if (test "${enable_external_ell}" != "yes"); then
-	AC_CHECK_FILE(${srcdir}/ell/ell.h, dummy=yes,
-			AC_CHECK_FILE(${srcdir}/../ell/ell/ell.h, dummy=yes,
-				AC_MSG_ERROR(ELL source is required or use --enable-external-ell)))
+	if (test ! -f ${srcdir}/ell/ell.h) &&
+			(test ! -f ${srcdir}/../ell/ell/ell.h); then
+				AC_MSG_ERROR(ELL source is required or use --enable-external-ell)
+	fi
 fi
 AM_CONDITIONAL(EXTERNAL_ELL, test "${enable_external_ell}" = "yes" ||
 				(test "${enable_btpclient}" != "yes" &&
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: configure: Fix check ell path for cross compiling
  2023-07-01  4:12 [PATCH] configure: Fix check ell path for cross compiling Rudi Heitbaum
@ 2023-07-01  5:21 ` bluez.test.bot
  2023-07-12 22:50 ` [PATCH] " patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2023-07-01  5:21 UTC (permalink / raw)
  To: linux-bluetooth, rudi

[-- Attachment #1: Type: text/plain, Size: 947 bytes --]

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=761714

---Test result---

Test Summary:
CheckPatch                    PASS      0.47 seconds
GitLint                       PASS      0.35 seconds
BuildEll                      PASS      27.33 seconds
BluezMake                     PASS      981.12 seconds
MakeCheck                     PASS      12.33 seconds
MakeDistcheck                 PASS      156.72 seconds
CheckValgrind                 PASS      257.33 seconds
CheckSmatch                   PASS      341.43 seconds
bluezmakeextell               PASS      103.52 seconds
IncrementalBuild              PASS      851.66 seconds
ScanBuild                     PASS      1060.78 seconds



---
Regards,
Linux Bluetooth


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] configure: Fix check ell path for cross compiling
  2023-07-01  4:12 [PATCH] configure: Fix check ell path for cross compiling Rudi Heitbaum
  2023-07-01  5:21 ` bluez.test.bot
@ 2023-07-12 22:50 ` patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2023-07-12 22:50 UTC (permalink / raw)
  To: Rudi Heitbaum; +Cc: linux-bluetooth, marcel

Hello:

This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Sat,  1 Jul 2023 04:12:52 +0000 you wrote:
> Use of AC_CHECK_FILE prevents cross compilation.
> Instead use test to support cross compiling.
> 
> Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
> ---
>  configure.ac | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)

Here is the summary with links:
  - configure: Fix check ell path for cross compiling
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=c62a4cb55183

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-12 22:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-01  4:12 [PATCH] configure: Fix check ell path for cross compiling Rudi Heitbaum
2023-07-01  5:21 ` bluez.test.bot
2023-07-12 22:50 ` [PATCH] " patchwork-bot+bluetooth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).