summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-12-21 10:54:14 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2009-12-21 10:54:14 +0100
commitf31bbf9e681f17d3baf4c23b2696d1d04513a603 (patch)
tree23971545ab5ebb4c199487bbc9591a32b5f30103
parent17524208071a4440a1eaad37c43903aa4e5dc179 (diff)
qt: add selection for keyboard drivers
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/qt/Config.in1
-rw-r--r--package/qt/Config.keyboard.in21
-rw-r--r--package/qt/qt.mk32
3 files changed, 54 insertions, 0 deletions
diff --git a/package/qt/Config.in b/package/qt/Config.in
index ad5b54312..7d9f6f97f 100644
--- a/package/qt/Config.in
+++ b/package/qt/Config.in
@@ -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
index 000000000..7d169a14b
--- /dev/null
+++ b/package/qt/Config.keyboard.in
@@ -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
diff --git a/package/qt/qt.mk b/package/qt/qt.mk
index e4a354d8f..4b6876ff0 100644
--- a/package/qt/qt.mk
+++ b/package/qt/qt.mk
@@ -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