aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
}