浏览代码

package/ofono: use external ell library

Add comments to the dependencies that also come from ell. Note that the
BR2_TOOLCHAIN_HAS_SYNC_4 is coming both from ell and from internal sync
calls, so no comment is added.

While we're at it, also order the selects and DEPENDENCIES
alphabetically.

Signed-off-by: Nicolas Serafini <nicolas.serafini@sensefly.com>
[Arnout: extend "reason" comments to Config.in; alphabetical ordering]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Nicolas Serafini 5 年之前
父节点
当前提交
91221084f2
共有 2 个文件被更改,包括 7 次插入4 次删除
  1. 4 3
      package/ofono/Config.in
  2. 3 1
      package/ofono/ofono.mk

+ 4 - 3
package/ofono/Config.in

@@ -1,12 +1,13 @@
 config BR2_PACKAGE_OFONO
 	bool "ofono"
-	depends on BR2_USE_WCHAR # gettext, libglib2
+	depends on BR2_USE_WCHAR # gettext, libglib2, ell
 	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
 	depends on BR2_USE_MMU # dbus, libglib2
-	depends on !BR2_STATIC_LIBS # dlopen()
+	depends on !BR2_STATIC_LIBS # dlopen(), ell
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4
-	select BR2_PACKAGE_LIBCAP_NG
 	select BR2_PACKAGE_DBUS
+	select BR2_PACKAGE_ELL
+	select BR2_PACKAGE_LIBCAP_NG
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_MOBILE_BROADBAND_PROVIDER_INFO
 	help

+ 3 - 1
package/ofono/ofono.mk

@@ -12,11 +12,13 @@ OFONO_LICENSE_FILES = COPYING
 OFONO_DEPENDENCIES = \
 	host-pkgconf \
 	dbus \
-	libglib2 \
+	ell \
 	libcap-ng \
+	libglib2 \
 	mobile-broadband-provider-info
 
 OFONO_CONF_OPTS = \
+	--enable-external-ell \
 	--disable-test \
 	--with-dbusconfdir=/etc \
 	$(if $(BR2_INIT_SYSTEMD),--with-systemdunitdir=/usr/lib/systemd/system)