Selaa lähdekoodia

xf86-input-vmmouse: Make xf86-input-vmmouse available only to x86/x86_64 architectures

The xf86-input-vmmouse source code fails to compile intentionally on any
architecture but x86/x86_64. The following error is printed when compiling for a
different architecture:

vmmouse_proto.h:62:2: error: #error The vmmouse protocol is only supported on
x86 architectures.
vmmouse_proto.c:117:2: error: #error "VMMouse is only supported on x86 and
x86-64.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Markos Chandras 13 vuotta sitten
vanhempi
commit
07f41187cc
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      package/x11r7/xdriver_xf86-input-vmmouse/Config.in

+ 1 - 0
package/x11r7/xdriver_xf86-input-vmmouse/Config.in

@@ -1,5 +1,6 @@
 config BR2_PACKAGE_XDRIVER_XF86_INPUT_VMMOUSE
 	bool "xf86-input-vmmouse"
+	depends on BR2_i386 || BR2_x86_64
 	select BR2_PACKAGE_XSERVER_XORG_SERVER
 	select BR2_PACKAGE_XPROTO_INPUTPROTO
 	select BR2_PACKAGE_XPROTO_RANDRPROTO