From a3aa7c162c6a660bf6b468a6af73612addf3e2cb Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Sat, 20 Nov 2010 16:54:09 +0100 Subject: [PATCH] xf86-input-synaptics 1.3.0: fix CROSS COMPILE Badness It was failing to compile that way: make[2]: Entering directory `.../work/i686-angstrom-linux/xf86-input-synaptics-1_1.3.0-r14.0/xf86-input-synaptics-1.3.0/tools' CC synclient.o CC syndaemon-syndaemon.o CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/xorg So I grepped for /usr/include/xorg and found that: Makefile:sdkdir = /usr/include/xorg Makefile.in:sdkdir = @sdkdir@ So simply passing the right directory to sdkdir fixed the issue. Signed-off-by: Denis 'GNUtoo' Carikli --- recipes/xorg-driver/xf86-input-synaptics_1.3.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes/xorg-driver/xf86-input-synaptics_1.3.0.bb b/recipes/xorg-driver/xf86-input-synaptics_1.3.0.bb index 4db0efc5f1..c0e66f1a28 100644 --- a/recipes/xorg-driver/xf86-input-synaptics_1.3.0.bb +++ b/recipes/xorg-driver/xf86-input-synaptics_1.3.0.bb @@ -1,7 +1,9 @@ require xorg-driver-input.inc DESCRIPTION = "X.Org X server -- mouse input driver" PE = "1" -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" + +EXTRA_OEMAKE += " sdkdir=${STAGING_INCDIR}/xorg " SRC_URI[archive.md5sum] = "b4e58eba1bdca13f0929a4b03b262135" SRC_URI[archive.sha256sum] = "30a33250c4f3d2daa8a61cab847dc7befd3248db0fca139d17fd7b890b5a8fd7" -- 2.39.5