qt: add selection for keyboard drivers
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 21 Dec 2009 09:54:14 +0000 (10:54 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 21 Dec 2009 09:54:14 +0000 (10:54 +0100)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/qt/Config.in
package/qt/Config.keyboard.in [new file with mode: 0644]
package/qt/qt.mk

index ad5b5431213181ca64b3fde45aa5080b94479123..7d9f6f97fef650ee6ecb6146196a481d55b30814 100644 (file)
@@ -259,6 +259,7 @@ source "package/qt/Config.sql.in"
 if BR2_PACKAGE_QT_GUI_MODULE
 source "package/qt/Config.gfx.in"
 source "package/qt/Config.mouse.in"
+source "package/qt/Config.keyboard.in"
 endif
 
 config BR2_PACKAGE_QT_PHONON
diff --git a/package/qt/Config.keyboard.in b/package/qt/Config.keyboard.in
new file mode 100644 (file)
index 0000000..7d169a1
--- /dev/null
@@ -0,0 +1,21 @@
+menu "Keyboard drivers"
+
+config BR2_PACKAGE_QT_KEYBOARD_TTY
+       bool "tty"
+
+config BR2_PACKAGE_QT_KEYBOARD_USB
+       bool "usb"
+
+config BR2_PACKAGE_QT_KEYBOARD_SL5000
+       bool "sl5000"
+
+config BR2_PACKAGE_QT_KEYBOARD_YOPY
+       bool "yopy"
+
+config BR2_PACKAGE_QT_KEYBOARD_VR41XX
+       bool "vr41xx"
+
+config BR2_PACKAGE_QT_KEYBOARD_QVFB
+       bool "qvfb"
+
+endmenu
index e4a354d8f58cb0a890f5bdc8340c65d664ac53cf..4b6876ff0332d344e72b9d67dbbe1465db39e934 100644 (file)
@@ -147,6 +147,38 @@ else
 QT_CONFIGURE += -no-mouse-qvfb
 endif
 
+### Keyboard drivers
+ifeq ($(BR2_PACKAGE_QT_KEYBOARD_TTY),y)
+QT_CONFIGURE += -qt-kbd-tty
+else
+QT_CONFIGURE += -no-kbd-tty
+endif
+ifeq ($(BR2_PACKAGE_QT_KEYBOARD_USB),y)
+QT_CONFIGURE += -qt-kbd-usb
+else
+QT_CONFIGURE += -no-kbd-usb
+endif
+ifeq ($(BR2_PACKAGE_QT_KEYBOARD_SL5000),y)
+QT_CONFIGURE += -qt-kbd-sl5000
+else
+QT_CONFIGURE += -no-kbd-sl5000
+endif
+ifeq ($(BR2_PACKAGE_QT_KEYBOARD_YOPY),y)
+QT_CONFIGURE += -qt-kbd-yopy
+else
+QT_CONFIGURE += -no-kbd-yopy
+endif
+ifeq ($(BR2_PACKAGE_QT_KEYBOARD_VR41XX),y)
+QT_CONFIGURE += -qt-kbd-vr41xx
+else
+QT_CONFIGURE += -no-kbd-vr41xx
+endif
+ifeq ($(BR2_PACKAGE_QT_KEYBOARD_QVFB),y)
+QT_CONFIGURE += -qt-kbd-qvfb
+else
+QT_CONFIGURE += -no-kbd-qvfb
+endif
+
 ifeq ($(BR2_PACKAGE_QT_DEBUG),y)
 QT_CONFIGURE+= -debug
 else