summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-03-11 15:01:56 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-03-11 15:01:56 +0000
commitcfca28f0a56f54d2d5dba977c1113f6d818ec31e (patch)
tree6107522485943590ac474de91c91b9cb47e19028
parentf6d14f30b24720440b01283982ab116f3a7dc240 (diff)
directfb: add option for linuxinput input driver
-rw-r--r--package/directfb/Config.in5
-rw-r--r--package/directfb/directfb.mk3
2 files changed, 8 insertions, 0 deletions
diff --git a/package/directfb/Config.in b/package/directfb/Config.in
index 73500e516..5a5db46d4 100644
--- a/package/directfb/Config.in
+++ b/package/directfb/Config.in
@@ -45,6 +45,11 @@ config BR2_PACKAGE_DIRECTFB_UNICHROME
depends on BR2_PACKAGE_DIRECTFB
depends on BR2_i386 || BR2_x86_64
+config BR2_PACKAGE_DIRECTFB_LINUXINPUT
+ bool "compile /dev/input/eventX input driver"
+ default y
+ depends on BR2_PACKAGE_DIRECTFB
+
config BR2_PACKAGE_DIRECTFB_KEYBOARD
bool "compile keyboard input driver"
default y
diff --git a/package/directfb/directfb.mk b/package/directfb/directfb.mk
index 1aa38c7e7..5cb4572ed 100644
--- a/package/directfb/directfb.mk
+++ b/package/directfb/directfb.mk
@@ -56,6 +56,9 @@ DIRECTFB_GFX:=$(subst $(space),$(comma),$(strip $(DIRECTFB_GFX)))
endif
DIRECTFB_INPUT:=
+ifeq ($(BR2_PACKAGE_DIRECTFB_LINUXINPUT),y)
+DIRECTFB_INPUT+= linuxinput
+endif
ifeq ($(BR2_PACKAGE_DIRECTFB_KEYBOARD),y)
DIRECTFB_INPUT+= keyboard
endif