* [BlueZ PATCH] configure: Check ell path
@ 2023-02-18 0:45 Tedd Ho-Jeong An
2023-02-18 2:18 ` [BlueZ] " bluez.test.bot
0 siblings, 1 reply; 2+ messages in thread
From: Tedd Ho-Jeong An @ 2023-02-18 0:45 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 | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/configure.ac b/configure.ac
index f9f0faf57..6e76133c2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -289,6 +289,10 @@ 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(../ell, dummy=yes,
+ AC_MSG_ERROR(ELL source is required at ../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] 2+ messages in thread
* RE: [BlueZ] configure: Check ell path
2023-02-18 0:45 [BlueZ PATCH] configure: Check ell path Tedd Ho-Jeong An
@ 2023-02-18 2:18 ` bluez.test.bot
0 siblings, 0 replies; 2+ messages in thread
From: bluez.test.bot @ 2023-02-18 2:18 UTC (permalink / raw)
To: linux-bluetooth, hj.tedd.an
[-- Attachment #1: Type: text/plain, Size: 1150 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=723140
---Test result---
Test Summary:
CheckPatch PASS 0.36 seconds
GitLint PASS 0.22 seconds
BuildEll PASS 32.23 seconds
BluezMake PASS 1068.41 seconds
MakeCheck PASS 12.67 seconds
MakeDistcheck FAIL 30.47 seconds
CheckValgrind PASS 292.83 seconds
CheckSmatch PASS 400.75 seconds
bluezmakeextell PASS 118.62 seconds
IncrementalBuild PASS 897.90 seconds
ScanBuild PASS 1283.01 seconds
Details
##############################
Test: MakeDistcheck - FAIL
Desc: Run Bluez Make Distcheck
Output:
configure: error: ELL source is required at ../ell
make: *** [Makefile:11618: distcheck] Error 1
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-02-18 2:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-18 0:45 [BlueZ PATCH] configure: Check ell path Tedd Ho-Jeong An
2023-02-18 2:18 ` [BlueZ] " bluez.test.bot
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).