patch out spurious inclusion of linux/config.h
authorPhil Blundell <philb@gnu.org>
Sat, 18 Sep 2004 14:26:09 +0000 (14:26 +0000)
committerPhil Blundell <philb@gnu.org>
Sat, 18 Sep 2004 14:26:09 +0000 (14:26 +0000)
BKrev: 414c4581dxbPQR03o2aqVpjrvQ6jzA

dri/config.patch [new file with mode: 0644]
dri/drm_cvs.oe

diff --git a/dri/config.patch b/dri/config.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..f49db79 100644 (file)
@@ -0,0 +1,22 @@
+SRC_URI = "cvs://anoncvs@dri.freedesktop.org/cvs/dri;module=drm;method=pserver \
+       file://config.patch;patch=1"
+
+PV = "0.0cvs${CVSDATE}"
+PR = "r1"
+
+S = "${WORKDIR}/drm"
+
+do_compile() {
+       oe_runmake -C libdrm
+}
+
+do_stage() {
+       oe_libinstall -a -C libdrm libxf86drm ${STAGING_LIBDIR}
+       for i in xf86drmCompat.h xf86drm.h; do
+               install -m 0644 libdrm/$i ${STAGING_INCDIR}
+       done
+       for i in drm.h; do
+               install -m 0644 shared/$i ${STAGING_INCDIR}
+       done
+}
+