summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/qtopia4/Config.gfx.in23
-rw-r--r--package/qtopia4/Config.in8
-rw-r--r--package/qtopia4/Config.mouse.in31
-rw-r--r--package/qtopia4/Config.sql.in8
-rw-r--r--package/qtopia4/qtopia4.mk60
5 files changed, 121 insertions, 9 deletions
diff --git a/package/qtopia4/Config.gfx.in b/package/qtopia4/Config.gfx.in
new file mode 100644
index 000000000..572e810a4
--- /dev/null
+++ b/package/qtopia4/Config.gfx.in
@@ -0,0 +1,23 @@
+menu "Graphics drivers"
+
+config BR2_PACKAGE_QTOPIA4_GFX_LINUXFB
+ bool "Linux Framebuffer"
+ default y
+
+config BR2_PACKAGE_QTOPIA4_GFX_TRANSFORMED
+ bool "Transformed"
+ default n
+
+config BR2_PACKAGE_QTOPIA4_GFX_QVFB
+ bool "Qt Virtual Framebuffer"
+ default n
+
+config BR2_PACKAGE_QTOPIA4_GFX_VNC
+ bool "VNC"
+ default n
+
+config BR2_PACKAGE_QTOPIA4_GFX_MULTISCREEN
+ bool "multiscreen"
+ default y
+
+endmenu
diff --git a/package/qtopia4/Config.in b/package/qtopia4/Config.in
index 866184c18..1c2f94887 100644
--- a/package/qtopia4/Config.in
+++ b/package/qtopia4/Config.in
@@ -224,13 +224,9 @@ config BR2_PACKAGE_QTOPIA4_EMB_PLATFORM
help
The target platform.
-menuconfig BR2_PACKAGE_QTOPIA4_SQL_MODULE
- bool "SQL Module"
- help
- Compile Qtopia SQL Module
-if BR2_PACKAGE_QTOPIA4_SQL_MODULE
source "package/qtopia4/Config.sql.in"
-endif
+source "package/qtopia4/Config.gfx.in"
+source "package/qtopia4/Config.mouse.in"
config BR2_PACKAGE_QTOPIA4_XMLPATTERNS
bool "XML Patterns Module"
diff --git a/package/qtopia4/Config.mouse.in b/package/qtopia4/Config.mouse.in
new file mode 100644
index 000000000..5ca4046d0
--- /dev/null
+++ b/package/qtopia4/Config.mouse.in
@@ -0,0 +1,31 @@
+menu "Mouse drivers"
+
+config BR2_PACKAGE_QTOPIA4_MOUSE_PC
+ bool "pc"
+ default n
+
+config BR2_PACKAGE_QTOPIA4_MOUSE_BUS
+ bool "bus"
+ default n
+
+config BR2_PACKAGE_QTOPIA4_MOUSE_LINUXTP
+ bool "linuxtp"
+ default n
+
+config BR2_PACKAGE_QTOPIA4_MOUSE_YOPY
+ bool "yopy"
+ default n
+
+config BR2_PACKAGE_QTOPIA4_MOUSE_VR41XX
+ bool "vxr41xx"
+ default n
+
+config BR2_PACKAGE_QTOPIA4_MOUSE_TSLIB
+ bool "tslib"
+ default n
+
+config BR2_PACKAGE_QTOPIA4_MOUSE_QVFB
+ bool "qvfb"
+ default n
+
+endmenu
diff --git a/package/qtopia4/Config.sql.in b/package/qtopia4/Config.sql.in
index ae3cf3c7c..881f7edb6 100644
--- a/package/qtopia4/Config.sql.in
+++ b/package/qtopia4/Config.sql.in
@@ -1,3 +1,9 @@
+menuconfig BR2_PACKAGE_QTOPIA4_SQL_MODULE
+ bool "SQL Module"
+ help
+ Compile Qtopia SQL Module
+
+if BR2_PACKAGE_QTOPIA4_SQL_MODULE
config BR2_PACKAGE_QTOPIA4_MYSQL
bool "MySQL Driver"
help
@@ -33,4 +39,4 @@ config BR2_PACKAGE_QTOPIA4_SQLITE2
help
Build SQLite 2 driver
If unsure, say n.
-
+endif
diff --git a/package/qtopia4/qtopia4.mk b/package/qtopia4/qtopia4.mk
index de3bf4d2d..cadaaa661 100644
--- a/package/qtopia4/qtopia4.mk
+++ b/package/qtopia4/qtopia4.mk
@@ -65,12 +65,68 @@ else
QTOPIA4_CONFIGURE+= -no-qt3support
endif
-ifeq ($(BR2_PACKAGE_TSLIB),y)
-QTOPIA4_CONFIGURE+= -qt-mouse-tslib
+
+### Display drivers
+ifeq ($(BR2_PACKAGE_QTOPIA4_GFX_LINUXFB),y)
+QTOPIA4_CONFIGURE += -qt-gfx-linuxfb
+else
+QTOPIA4_CONFIGURE += -no-gfx-linuxfb
+endif
+ifeq ($(BR2_PACKAGE_QTOPIA4_GFX_TRANSFORMED),y)
+QTOPIA4_CONFIGURE += -qt-gfx-transformed
+else
+QTOPIA4_CONFIGURE += -no-gfx-transformed
+endif
+ifeq ($(BR2_PACKAGE_QTOPIA4_GFX_QVFB),y)
+QTOPIA4_CONFIGURE += -qt-gfx-qvfb
+else
+QTOPIA4_CONFIGURE += -no-gfx-qvfb
+endif
+ifeq ($(BR2_PACKAGE_QTOPIA4_GFX_VNC),y)
+QTOPIA4_CONFIGURE += -qt-gfx-vnc
+else
+QTOPIA4_CONFIGURE += -no-gfx-vnc
+endif
+ifeq ($(BR2_PACKAGE_QTOPIA4_GFX_MULTISCREEN),y)
+QTOPIA4_CONFIGURE += -qt-gfx-multiscreen
+else
+QTOPIA4_CONFIGURE += -no-gfx-multiscreen
+endif
+
+### Mouse drivers
+ifeq ($(BR2_PACKAGE_QTOPIA4_MOUSE_PC),y)
+QTOPIA4_CONFIGURE += qt-mouse-pc
+else
+QTOPIA4_CONFIGURE += -no-mouse-pc
+endif
+ifeq ($(BR2_PACKAGE_QTOPIA4_MOUSE_BUS),y)
+QTOPIA4_CONFIGURE += qt-mouse-bus
+else
+QTOPIA4_CONFIGURE += -no-mouse-bus
+endif
+ifeq ($(BR2_PACKAGE_QTOPIA4_MOUSE_LINUXTP),y)
+QTOPIA4_CONFIGURE += qt-mouse-linuxtp
+else
+QTOPIA4_CONFIGURE += -no-mouse-linuxtp
+endif
+ifeq ($(BR2_PACKAGE_QTOPIA4_MOUSE_YOPY),y)
+QTOPIA4_CONFIGURE += qt-mouse-yopy
+else
+QTOPIA4_CONFIGURE += -no-mouse-yopy
+endif
+ifeq ($(BR2_PACKAGE_QTOPIA4_MOUSE_VR41XX),y)
+QTOPIA4_CONFIGURE += qt-mouse-vr41xx
+else
+QTOPIA4_CONFIGURE += -no-mouse-vr41xx
+endif
+ifeq ($(BR2_PACKAGE_QTOPIA4_MOUSE_TSLIB),y)
+QTOPIA4_CONFIGURE += qt-mouse-tslib
QTOPIA4_DEP_LIBS+=tslib
QTOPIA4_TSLIB_DEB="-D TSLIBMOUSEHANDLER_DEBUG"
QTOPIA4_TSLIB_DEB:=$(strip $(subst ",, $(QTOPIA4_TSLIB_DEB)))
#"))
+else
+QTOPIA4_CONFIGURE += -no-mouse-tslib
endif
ifeq ($(BR2_PACKAGE_QTOPIA4_DEBUG),y)