[Buildroot] [PATCH 12/12 v8] package/libinput: only needs libudev, not udev daemon

Yann E. MORIN yann.morin.1998 at free.fr
Mon Jul 11 22:16:35 UTC 2016


Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
---
 package/libinput/Config.in | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/package/libinput/Config.in b/package/libinput/Config.in
index f7793df..58e70c8 100644
--- a/package/libinput/Config.in
+++ b/package/libinput/Config.in
@@ -1,9 +1,12 @@
 config BR2_PACKAGE_LIBINPUT
 	bool "libinput"
+	depends on BR2_USE_MMU # libudev <- eudev/systemd
+	depends on BR2_USE_WCHAR # libudev <- eudev/systemd
+	depends on !BR2_STATIC_LIBS # libudev <- eudev/systemd
 	depends on BR2_ENABLE_LOCALE
-	depends on BR2_PACKAGE_HAS_UDEV
 	select BR2_PACKAGE_LIBEVDEV
 	select BR2_PACKAGE_MTDEV
+	select BR2_PACKAGE_LIBUDEV
 	help
 	  libinput is a library to handle input devices in Wayland
 	  compositors and to provide a generic X.Org input driver.
@@ -14,5 +17,6 @@ config BR2_PACKAGE_LIBINPUT
 
 	  http://freedesktop.org/wiki/Software/libinput/
 
-comment "libinput needs udev /dev management and a toolchain w/ locale"
-	depends on !BR2_PACKAGE_HAS_UDEV || !BR2_ENABLE_LOCALE
+comment "libinput needs a toolchain w/ locale, wchar, dynamic library"
+	depends on BR2_USE_MMU
+	depends on !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR || BR2_STATIC_LIBS
-- 
2.7.4




More information about the buildroot mailing list