Re: udev, input/linux.h and cross compilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Paul Bender [2010-01-20 10:21 -0800]:
> 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.

Could we use

  $ echo '#include <linux/input.h>' | cpp -M | xargs -n1 | grep linux/input.h
  /usr/include/linux/input.h

to figure out the real path?

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux