summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2012-04-25 05:49:02 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-05-01 21:59:07 +0200
commit07f41187cc8667c92ea5b27d51ddfc0311fcd0f7 (patch)
tree73baa86d026e3f8dd3400fe836e048e83d7bb841
parentbb0efa0ed4055e95fdf9791a71c7267e90099455 (diff)
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>
-rw-r--r--package/x11r7/xdriver_xf86-input-vmmouse/Config.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/x11r7/xdriver_xf86-input-vmmouse/Config.in b/package/x11r7/xdriver_xf86-input-vmmouse/Config.in
index 377e7e456..b2284cda3 100644
--- a/package/x11r7/xdriver_xf86-input-vmmouse/Config.in
+++ b/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