efl: fix target package dependency on util-linux (libmount)
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Tue, 3 Jan 2017 21:29:31 +0000 (19:29 -0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 28 Jan 2017 09:58:24 +0000 (22:58 +1300)
Use the correct variable (BR2_PACKAGE_EFL_UTIL_LINUX_LIBMOUNT) and do
not impose dependency on util-linux if not needed.

Signed-off-by: Gustavo Sverzut Barbieri <barbieri@profusion.mobi>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Tested-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/efl/Config.in
package/efl/efl.mk

index f6ec57954153b70de356d2050f6bacd6ea05fec6..8b06a493dde2015b62e3b28e240efbe488b68045 100644 (file)
@@ -17,9 +17,6 @@ config BR2_PACKAGE_EFL
        # https://phab.enlightenment.org/T2728
        select BR2_PACKAGE_LUAJIT # Lua support broken
        select BR2_PACKAGE_LZ4
-       select BR2_PACKAGE_UTIL_LINUX
-       # libblkid is part of required tools, see EFL's README.
-       select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
        select BR2_PACKAGE_ZLIB
        help
          Enlightenment Foundation Libraries
@@ -101,7 +98,10 @@ config BR2_PACKAGE_EFL_PULSEAUDIO
 
 config BR2_PACKAGE_EFL_UTIL_LINUX_LIBMOUNT
        bool "Enable libmount support (recommended)"
+       select BR2_PACKAGE_UTIL_LINUX
        select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT
+       # libblkid is part of required tools, see EFL's README.
+       select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
        default y
        help
          Libmount is used heavily inside Eeze for support of removable
index 2fe140a308c2988cc09588539afc3eafaf0acebe..ab08946c465e9f8e8caef725500b2fbcd98d3227 100644 (file)
@@ -20,7 +20,7 @@ EFL_LICENSE_FILES = \
 EFL_INSTALL_STAGING = YES
 
 EFL_DEPENDENCIES = host-pkgconf host-efl host-luajit dbus freetype \
-       jpeg luajit lz4 udev util-linux zlib
+       jpeg luajit lz4 udev zlib
 
 # Configure options:
 # --disable-lua-old: build elua for the target.
@@ -59,7 +59,7 @@ else
 EFL_CONF_OPTS += --disable-cxx-bindings
 endif
 
-ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBMOUNT),y)
+ifeq ($(BR2_PACKAGE_EFL_UTIL_LINUX_LIBMOUNT),y)
 EFL_DEPENDENCIES += util-linux
 EFL_CONF_OPTS += --enable-libmount
 else