summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/xorg-xserver/xorg-xserver-common.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/xorg-xserver/xorg-xserver-common.inc b/packages/xorg-xserver/xorg-xserver-common.inc
index ce7658054d..7bcd483c24 100644
--- a/packages/xorg-xserver/xorg-xserver-common.inc
+++ b/packages/xorg-xserver/xorg-xserver-common.inc
@@ -47,6 +47,10 @@ PACKAGES =+ "${PN}-multimedia ${PN}-configtools"
FILES_${PN}-multimedia = "${libdir}/xorg/modules/multimedia/*.so"
FILES_${PN}-configtools = "${bindir}/xorgconfig ${bindir}/xorgcfg"
+do_configure_prepend() {
+ sed -i -e s:/usr/include/drm:${STAGING_INCDIR}/drm:g hw/xfree86/os-support/linux/Makefile.am
+}
+
do_stage() {
autotools_stage_all
}