qt: add selection for keyboard drivers

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Peter Korsgaard 2009-12-21 10:54:14 +01:00
parent 1752420807
commit f31bbf9e68
3 changed files with 54 additions and 0 deletions

View 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

View File

@ -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

View 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