From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Pitt Date: Thu, 21 Jan 2010 11:00:33 +0000 Subject: Re: udev, input/linux.h and cross compilation Message-Id: <20100121110033.GB2351@piware.de> List-Id: References: <4B5749A9.2090005@san.rr.com> In-Reply-To: <4B5749A9.2090005@san.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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 ' | 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)