All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] xf86-input-vmmouse: Make xf86-input-vmmouse available only to x86/x86_64 architectures
@ 2012-04-25 15:38 Markos Chandras
  2012-04-25 15:42 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Markos Chandras @ 2012-04-25 15:38 UTC (permalink / raw)
  To: buildroot

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>
---
 package/x11r7/xdriver_xf86-input-vmmouse/Config.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/package/x11r7/xdriver_xf86-input-vmmouse/Config.in b/package/x11r7/xdriver_xf86-input-vmmouse/Config.in
index 377e7e4..dc24691 100644
--- a/package/x11r7/xdriver_xf86-input-vmmouse/Config.in
+++ b/package/x11r7/xdriver_xf86-input-vmmouse/Config.in
@@ -1,3 +1,4 @@
+if BR2_i386 || BR2_x86_64
 config BR2_PACKAGE_XDRIVER_XF86_INPUT_VMMOUSE
 	bool "xf86-input-vmmouse"
 	select BR2_PACKAGE_XSERVER_XORG_SERVER
@@ -6,3 +7,4 @@ config BR2_PACKAGE_XDRIVER_XF86_INPUT_VMMOUSE
 	select BR2_PACKAGE_XPROTO_XPROTO
 	help
 	  VMWare mouse input driver
+endif
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] xf86-input-vmmouse: Make xf86-input-vmmouse available only to x86/x86_64 architectures
  2012-04-25 15:38 [Buildroot] [PATCH] xf86-input-vmmouse: Make xf86-input-vmmouse available only to x86/x86_64 architectures Markos Chandras
@ 2012-04-25 15:42 ` Thomas Petazzoni
  2012-04-25 15:47   ` Markos Chandras
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2012-04-25 15:42 UTC (permalink / raw)
  To: buildroot

Le Wed, 25 Apr 2012 16:38:09 +0100,
Markos Chandras <markos.chandras@imgtec.com> a ?crit :

> diff --git a/package/x11r7/xdriver_xf86-input-vmmouse/Config.in b/package/x11r7/xdriver_xf86-input-vmmouse/Config.in
> index 377e7e4..dc24691 100644
> --- a/package/x11r7/xdriver_xf86-input-vmmouse/Config.in
> +++ b/package/x11r7/xdriver_xf86-input-vmmouse/Config.in
> @@ -1,3 +1,4 @@
> +if BR2_i386 || BR2_x86_64

I would prefer a

	depends on BR2_i386 || BR2_x86_64

below:

config BR2_PACKAGE_XDRIVER_XF86_INPUT_VMMOUSE
  	bool "xf86-input-vmmouse"

because that's what we do for all other packages.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] xf86-input-vmmouse: Make xf86-input-vmmouse available only to x86/x86_64 architectures
  2012-04-25 15:42 ` Thomas Petazzoni
@ 2012-04-25 15:47   ` Markos Chandras
  0 siblings, 0 replies; 3+ messages in thread
From: Markos Chandras @ 2012-04-25 15:47 UTC (permalink / raw)
  To: buildroot

On 04/25/2012 04:42 PM, Thomas Petazzoni wrote:

> Le Wed, 25 Apr 2012 16:38:09 +0100,
> Markos Chandras <markos.chandras@imgtec.com> a ?crit :
> 
>> diff --git a/package/x11r7/xdriver_xf86-input-vmmouse/Config.in
> b/package/x11r7/xdriver_xf86-input-vmmouse/Config.in
>> index 377e7e4..dc24691 100644
>> --- a/package/x11r7/xdriver_xf86-input-vmmouse/Config.in
>> +++ b/package/x11r7/xdriver_xf86-input-vmmouse/Config.in
>> @@ -1,3 +1,4 @@
>> +if BR2_i386 || BR2_x86_64
> 
> I would prefer a
> 
>         depends on BR2_i386 || BR2_x86_64
> 
> below:
> 
> config BR2_PACKAGE_XDRIVER_XF86_INPUT_VMMOUSE
>         bool "xf86-input-vmmouse"
> 
> because that's what we do for all other packages.
> 
> Thomas


Hi Thomas,

Thanks. A new patch is coming asap

-- 
markos

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-25 15:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-25 15:38 [Buildroot] [PATCH] xf86-input-vmmouse: Make xf86-input-vmmouse available only to x86/x86_64 architectures Markos Chandras
2012-04-25 15:42 ` Thomas Petazzoni
2012-04-25 15:47   ` Markos Chandras

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.