All of lore.kernel.org
 help / color / mirror / Atom feed
* [BlueZ PATCH v2] configure: Check ell path
@ 2023-02-20 18:12 Tedd Ho-Jeong An
  2023-02-20 19:11 ` [BlueZ,v2] " bluez.test.bot
  2023-02-21 22:30 ` [BlueZ PATCH v2] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Tedd Ho-Jeong An @ 2023-02-20 18:12 UTC (permalink / raw)
  To: linux-bluetooth

From: Tedd Ho-Jeong An <tedd.an@intel.com>

If the 'enable-external-ell' is not specified in the configure parameter,
the build system assumes that the ELL source is located same level where
the bluez source is cloned. But the configure doens't check the folder
and user will get the build error while building the source.

This patch checks if the ELL source path if the 'enable-external-ell'
flag is not set and throws an error if the ELL doesn't exist.
---
 configure.ac | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configure.ac b/configure.ac
index f9f0faf57..515cdf146 100644
--- a/configure.ac
+++ b/configure.ac
@@ -289,6 +289,11 @@ if (test "${enable_external_ell}" = "yes"); then
 	AC_SUBST(ELL_CFLAGS)
 	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)))
+fi
 AM_CONDITIONAL(EXTERNAL_ELL, test "${enable_external_ell}" = "yes" ||
 				(test "${enable_btpclient}" != "yes" &&
 						test "${enable_mesh}" != "yes"))
-- 
2.39.2


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

* RE: [BlueZ,v2] configure: Check ell path
  2023-02-20 18:12 [BlueZ PATCH v2] configure: Check ell path Tedd Ho-Jeong An
@ 2023-02-20 19:11 ` bluez.test.bot
  2023-02-21 22:30 ` [BlueZ PATCH v2] " patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2023-02-20 19:11 UTC (permalink / raw)
  To: linux-bluetooth, hj.tedd.an

[-- Attachment #1: Type: text/plain, Size: 945 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=723518

---Test result---

Test Summary:
CheckPatch                    PASS      0.30 seconds
GitLint                       PASS      0.24 seconds
BuildEll                      PASS      26.81 seconds
BluezMake                     PASS      751.72 seconds
MakeCheck                     PASS      11.17 seconds
MakeDistcheck                 PASS      147.79 seconds
CheckValgrind                 PASS      240.71 seconds
CheckSmatch                   PASS      319.26 seconds
bluezmakeextell               PASS      95.72 seconds
IncrementalBuild              PASS      607.91 seconds
ScanBuild                     PASS      941.47 seconds



---
Regards,
Linux Bluetooth


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

* Re: [BlueZ PATCH v2] configure: Check ell path
  2023-02-20 18:12 [BlueZ PATCH v2] configure: Check ell path Tedd Ho-Jeong An
  2023-02-20 19:11 ` [BlueZ,v2] " bluez.test.bot
@ 2023-02-21 22:30 ` patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2023-02-21 22:30 UTC (permalink / raw)
  To: Tedd Ho-Jeong An; +Cc: linux-bluetooth

Hello:

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

On Mon, 20 Feb 2023 10:12:05 -0800 you wrote:
> From: Tedd Ho-Jeong An <tedd.an@intel.com>
> 
> If the 'enable-external-ell' is not specified in the configure parameter,
> the build system assumes that the ELL source is located same level where
> the bluez source is cloned. But the configure doens't check the folder
> and user will get the build error while building the source.
> 
> [...]

Here is the summary with links:
  - [BlueZ,v2] configure: Check ell path
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=1106b28be85a

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-02-21 22:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-20 18:12 [BlueZ PATCH v2] configure: Check ell path Tedd Ho-Jeong An
2023-02-20 19:11 ` [BlueZ,v2] " bluez.test.bot
2023-02-21 22:30 ` [BlueZ PATCH v2] " patchwork-bot+bluetooth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.