summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dri/config.patch0
-rw-r--r--dri/drm_cvs.oe22
2 files changed, 22 insertions, 0 deletions
diff --git a/dri/config.patch b/dri/config.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/dri/config.patch
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
+}
+