summaryrefslogtreecommitdiff
path: root/dri/drm_cvs.oe
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-09-18 14:26:09 +0000
committerPhil Blundell <philb@gnu.org>2004-09-18 14:26:09 +0000
commitc7b4436fdd9f92acee32f5e9abee8fad92347352 (patch)
tree59608c44e5165fbb56b224f71a080131993e9201 /dri/drm_cvs.oe
parent7ff55c4f8b69f279aa6a8b7f481705149f7a07d7 (diff)
patch out spurious inclusion of linux/config.h
BKrev: 414c4581dxbPQR03o2aqVpjrvQ6jzA
Diffstat (limited to 'dri/drm_cvs.oe')
-rw-r--r--dri/drm_cvs.oe22
1 files changed, 22 insertions, 0 deletions
diff --git a/dri/drm_cvs.oe b/dri/drm_cvs.oe
index e69de29bb2..f49db79711 100644
--- a/dri/drm_cvs.oe
+++ b/dri/drm_cvs.oe
@@ -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
+}
+