[Buildroot] [PATCH v2 2/2] package/ofono: use target ell library if enabled

Nicolas Serafini nicolas.serafini at sensefly.com
Tue Oct 22 13:44:08 UTC 2019


Signed-off-by: Nicolas Serafini <nicolas.serafini at sensefly.com>

---
Changes v1 -> v2:
  - Remove forced autoreconf into another patch
  - Add missing OFONO_DEPENDENCIES
  - Add disable option if ell is not selected

Signed-off-by: Nicolas Serafini <nicolas.serafini at sensefly.com>
---
 package/ofono/ofono.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/ofono/ofono.mk b/package/ofono/ofono.mk
index 756998687b..00c5ffbbe4 100644
--- a/package/ofono/ofono.mk
+++ b/package/ofono/ofono.mk
@@ -49,5 +49,11 @@ else
 OFONO_CONF_OPTS += --disable-bluetooth
 endif
 
+ifeq ($(BR2_PACKAGE_ELL),y)
+OFONO_DEPENDENCIES += ell
+OFONO_CONF_OPTS += --enable-external-ell
+else
+OFONO_CONF_OPTS += --disable-external-ell
+endif
 
 $(eval $(autotools-package))
-- 
2.23.0




More information about the buildroot mailing list