linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* udev, input/linux.h and cross compilation
@ 2010-01-20 18:21 Paul Bender
  2010-01-20 18:30 ` Kay Sievers
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Paul Bender @ 2010-01-20 18:21 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 541 bytes --]

The top level Makefile.am hard codes /usr/include/linux/input.h for use 
in the generation of extras/keymap/keys.txt. Such hard coding does not 
work when cross compiling as the linux/input.h file that should be used 
is the cross environment's linux/include.h not /usr/include/linux/input.h.

I have attached a patch that determines the correct linux/include.h file 
during configure. The configure change makes use of the 
AX_ABOLUTE_HEADER 
http://www.nongnu.org/autoconf-archive/ax_absolute_header.html, which 
the patch adds to the m4.

[-- Attachment #2: udev-150-absolute_linux_input_h.patch.gz --]
[-- Type: application/gzip, Size: 1902 bytes --]

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

end of thread, other threads:[~2010-01-24 19:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-20 18:21 udev, input/linux.h and cross compilation Paul Bender
2010-01-20 18:30 ` Kay Sievers
2010-01-20 18:59 ` Paul Bender
2010-01-21 11:00 ` Martin Pitt
2010-01-22  1:29 ` Paul Bender
2010-01-22 14:02 ` Dan Nicholson
2010-01-24 19:23 ` Kay Sievers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).