directfb: add option for linuxinput input driver
authorPeter Korsgaard <jacmet@sunsite.dk>
Wed, 11 Mar 2009 15:01:56 +0000 (15:01 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 11 Mar 2009 15:01:56 +0000 (15:01 -0000)
package/directfb/Config.in
package/directfb/directfb.mk

index 73500e5160fa2b8be17df440a223093d3dd2c393..5a5db46d48d6ed946654af59d2968ce0a82aca93 100644 (file)
@@ -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
index 1aa38c7e7b0d4719c18d2a1c35b3e08941e1f208..5cb4572ed80e3eb8a0f4aa540c5001d36f37744f 100644 (file)
@@ -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