summaryrefslogtreecommitdiff
path: root/recipes/xorg-driver
diff options
context:
space:
mode:
authorDenis 'Gnutoo' Carikli <GNUtoo@no-log.org>2009-09-20 22:19:50 +0200
committerDenis 'Gnutoo' Carikli <GNUtoo@no-log.org>2009-09-24 13:38:30 +0200
commitbd40807158b26bbe1b5014d8f3609c3af30863e9 (patch)
tree230271cf109608a2fe7d9bdb1750f66865d7b5f6 /recipes/xorg-driver
parent603e3062ae141edbc6aac9fc0c6428717de57404 (diff)
xorg-driver-common.inc: also inlcude(-I) the staging headers of xorg(else compilation fails)"
Diffstat (limited to 'recipes/xorg-driver')
-rw-r--r--recipes/xorg-driver/xorg-driver-common.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes/xorg-driver/xorg-driver-common.inc b/recipes/xorg-driver/xorg-driver-common.inc
index 36c0ddf3b3..110ccde3b6 100644
--- a/recipes/xorg-driver/xorg-driver-common.inc
+++ b/recipes/xorg-driver/xorg-driver-common.inc
@@ -16,6 +16,9 @@ FILES_${PN}-dbg += "${libdir}/xorg/modules/*/.debug"
inherit autotools pkgconfig
+TARGET_CPPFLAGS += "-I${STAGING_DIR_HOST}/usr/include/xorg"
+
+
do_stage() {
autotools_stage_all
}