qtopia4: Add kconfig option to build linuxis mouse driver
PATCH 1/1 qtopia4: Add kconfig option to build linuxis mouse driver
'linuxis' is a mouse driver for the Linux event interface (/dev/input/eventX).
This driver can be built only as a plugin.
--- package/qtopia4/Config.mouse.in | 3 +++ package/qtopia4/qtopia4.mk | 6 +++++- 2 files changed, 8 insertions(+), 1 deletions(-)
package/qtopia4/Config.mouse.in +3 -0
@@ -9,6 +9,9 @@ config BR2_PACKAGE_QTOPIA4_MOUSE_BUS config BR2_PACKAGE_QTOPIA4_MOUSE_LINUXTP bool "linuxtp" +config BR2_PACKAGE_QTOPIA4_MOUSE_LINUXIS + bool "linuxis (plugin)" + config BR2_PACKAGE_QTOPIA4_MOUSE_YOPY bool "yopy"
package/qtopia4/qtopia4.mk +5 -1
@@ -151,6 +151,9 @@ QTOPIA4_CONFIGURE += -qt-mouse-linuxtp else QTOPIA4_CONFIGURE += -no-mouse-linuxtp endif +ifeq ($(BR2_PACKAGE_QTOPIA4_MOUSE_LINUXIS),y) +QTOPIA4_CONFIGURE += -plugin-mouse-linuxis +endif ifeq ($(BR2_PACKAGE_QTOPIA4_MOUSE_YOPY),y) QTOPIA4_CONFIGURE += -qt-mouse-yopy else
@@ -485,8 +488,9 @@ qtopia4-gui: $(STAGING_DIR)/usr/lib/libQtCore.la cp -dpf $(STAGING_DIR)/usr/lib/fonts/helvetica*.qpf $(TARGET_DIR)/usr/lib/fonts cp -dpf $(STAGING_DIR)/usr/lib/fonts/fixed*.qpf $(TARGET_DIR)/usr/lib/fonts cp -dpf $(STAGING_DIR)/usr/lib/fonts/micro*.qpf $(TARGET_DIR)/usr/lib/fonts - # Install image plugins if they are built + # Install image and/or mousedriver plugins if they are built $(call QTOPIA4_INSTALL_PLUGINS,imageformats) + $(call QTOPIA4_INSTALL_PLUGINS,mousedrivers) ifeq ($(BR2_PACKAGE_QTOPIA4_SHARED),y) cp -dpf $(STAGING_DIR)/usr/lib/libQtGui.so.* $(TARGET_DIR)/usr/lib/ endif
Signature · 1 line
1.6.0.6
PATCH 1/1 qtopia4: Add kconfig option to build linuxis mouse driver
Quoted 19 lines · Michael Roth
'linuxis' is a mouse driver for the Linux event interface (
/dev/input/eventX).This driver can be built only as a plugin.
Signed-off-by Michael Roth <[email protected]>---
package/qtopia4/Config.mouse.in | 3 +++ package/qtopia4/qtopia4.mk | 6 +++++- 2 files changed, 8 insertions(+), 1 deletions(-)package/qtopia4/Config.mouse.in +0
-0@@ -9,6 +9,9 @@ config BR2_PACKAGE_QTOPIA4_MOUSE_BUSconfig
BR2_PACKAGE_QTOPIA4_MOUSE_LINUXTP
bool "linuxtp"
package/qtopia4/Config.mouse.in config BR2_PACKAGE_QTOPIA4_MOUSE_BUS · line 13
Quoted 2 lines
package/qtopia4/Config.mouse.in +2
-0+config BR2_PACKAGE_QTOPIA4_MOUSE_LINUXIS + bool "linuxis (plugin)"
default n
# which is, IIRC the default anyway. If yes, this comment and the # default is moot, of course
help
Describe what that thing does
Quoted 19 lines
+
configBR2_PACKAGE_QTOPIA4_MOUSE_YOPY
bool "yopy"package/qtopia4/qtopia4.mk +0
-0@@ -151,6 +151,9 @@ QTOPIA4_CONFIGURE += -qt-mouse-linuxtpelse
QTOPIA4_CONFIGURE+= -no-mouse-linuxtp
endifpackage/qtopia4/qtopia4.mk +3
-0+ifeq ($(BR2_PACKAGE_QTOPIA4_MOUSE_LINUXIS),y) +QTOPIA4_CONFIGURE += -plugin-mouse-linuxis +endififeq ($(BR2_PACKAGE_QTOPIA4_MOUSE_YOPY),y)
QTOPIA4_CONFIGURE+= -qt-mouse-yopy
else
package/qtopia4/qtopia4.mk qtopia4-gui: $(STAGING_DIR)/usr/lib/libQtCore.la · line 488
Quoted 4 lines
package/qtopia4/qtopia4.mk +0
-1@@ -485,8 +488,9 @@ qtopia4-gui: $(STAGING_DIR)/usr/lib/libQtCore.la cp -dpf $(STAGING_DIR)/usr/lib/fonts/helvetica*.qpf $(TARGET_DIR)/usr/lib/fonts cp -dpf $(STAGING_DIR)/usr/lib/fonts/fixed*.qpf $(TARGET_DIR)/usr/lib/fonts cp -dpf $(STAGING_DIR)/usr/lib/fonts/micro*.qpf $(TARGET_DIR)/usr/lib/fonts - # Install image plugins if they are built
->+ # Install image and/or mousedriver plugins if they are built
+ # Install plugins if they are built
Avoids unwarranted comment jitter.
Quoted 5 lines
package/qtopia4/qtopia4.mk +1
-0$(call QTOPIA4_INSTALL_PLUGINS,imageformats) + $(call QTOPIA4_INSTALL_PLUGINS,mousedrivers) ifeq ($(BR2_PACKAGE_QTOPIA4_SHARED),y) cp -dpf $(STAGING_DIR)/usr/lib/libQtGui.so.* $(TARGET_DIR)/usr/lib/endif
Care to resend?
TIA,
PATCH 1/1 qtopia4: Add kconfig option to build linuxis mouse driver
Quoted 32 lines · Bernhard Reutner-Fischer
Quoted 19 lines · Michael Roth
'linuxis' is a mouse driver for the Linux event interface (
/dev/input/eventX).This driver can be built only as a plugin.
Signed-off-by Michael Roth <[email protected]>---
package/qtopia4/Config.mouse.in | 3 +++ package/qtopia4/qtopia4.mk | 6 +++++- 2 files changed, 8 insertions(+), 1 deletions(-)package/qtopia4/Config.mouse.in +0
-0@@ -9,6 +9,9 @@ config BR2_PACKAGE_QTOPIA4_MOUSE_BUSconfig
BR2_PACKAGE_QTOPIA4_MOUSE_LINUXTP
bool "linuxtp"package/qtopia4/Config.mouse.in config BR2_PACKAGE_QTOPIA4_MOUSE_BUS · line 13
Quoted 2 lines
package/qtopia4/Config.mouse.in +2
-0+config BR2_PACKAGE_QTOPIA4_MOUSE_LINUXIS + bool "linuxis (plugin)"default n
# which is, IIRC the default anyway. If yes, this comment and the # default is moot, of course
help
Describe what that thing doesQuoted 4 lines
+
configBR2_PACKAGE_QTOPIA4_MOUSE_YOPY
bool "yopy"
Quoted 10 lines
package/qtopia4/qtopia4.mk QTOPIA4_CONFIGURE += -qt-mouse-linuxtp · line 155
Quoted 10 lines
package/qtopia4/qtopia4.mk +0
-0@@ -151,6 +151,9 @@ QTOPIA4_CONFIGURE += -qt-mouse-linuxtpelse
QTOPIA4_CONFIGURE+= -no-mouse-linuxtp
endifpackage/qtopia4/qtopia4.mk +2
-0+ifeq ($(BR2_PACKAGE_QTOPIA4_MOUSE_LINUXIS),y) +QTOPIA4_CONFIGURE += -plugin-mouse-linuxis
QTOPIA4_PLUGINS_INSTALL += mousedrivers
and tweak \"imageformats\" while at it, then..
Quoted 12 lines
package/qtopia4/qtopia4.mk qtopia4-gui: $(STAGING_DIR)/usr/lib/libQtCore.la · line 488
Quoted 9 lines
+endif
ifeq ($(BR2_PACKAGE_QTOPIA4_MOUSE_YOPY),y)QTOPIA4_CONFIGURE+= -qt-mouse-yopy
elsepackage/qtopia4/qtopia4.mk +0
-1@@ -485,8 +488,9 @@ qtopia4-gui: $(STAGING_DIR)/usr/lib/libQtCore.la cp -dpf $(STAGING_DIR)/usr/lib/fonts/helvetica*.qpf $(TARGET_DIR)/usr/lib/fonts cp -dpf $(STAGING_DIR)/usr/lib/fonts/fixed*.qpf $(TARGET_DIR)/usr/lib/fonts cp -dpf $(STAGING_DIR)/usr/lib/fonts/micro*.qpf $(TARGET_DIR)/usr/lib/fonts - # Install image plugins if they are built->+ # Install image and/or mousedriver plugins if they are built
(quoted diff) +1
-0+ # Install plugins if they are built
Quoted 2 lines
Avoids unwarranted comment jitter.
for plug_install in $(QTOPIA4_PLUGINS_INSTALL);do \ $(call QTOPIA4_INSTALL_PLUGINS,$$plug_install); \ done
->> $(call QTOPIA4_INSTALL_PLUGINS,imageformats)
->>+ $(call QTOPIA4_INSTALL_PLUGINS,mousedrivers)
for additional bonus and cleanup-points ;)
You could even do somthing like my tree WRT GCC_COMMON_PREREQ to automatically rebuild and re-install that package in case the user changed one of these knobs, fwiw. Talks to Jacmet to pickup that additional dependency cleanup- or tweak.
Cheers,
Quoted 6 lines
Quoted 3 lines
package/qtopia4/qtopia4.mk +0
-0ifeq ($(BR2_PACKAGE_QTOPIA4_SHARED),y) cp -dpf $(STAGING_DIR)/usr/lib/libQtGui.so.* $(TARGET_DIR)/usr/lib/endif
Care to resend?
TIA,
PATCH 1/1 qtopia4: Add kconfig option to build linuxis mouse driver
In reply to Bernhard Reutner-FischerQuoted 1 line · Bernhard Reutner-Fischer
Care to resend?
Yes, but will take some time.