From c7b4436fdd9f92acee32f5e9abee8fad92347352 Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Sat, 18 Sep 2004 14:26:09 +0000 Subject: [PATCH] patch out spurious inclusion of linux/config.h BKrev: 414c4581dxbPQR03o2aqVpjrvQ6jzA --- dri/config.patch | 0 dri/drm_cvs.oe | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 dri/config.patch diff --git a/dri/config.patch b/dri/config.patch new file mode 100644 index 0000000000..e69de29bb2 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 +} + -- 2.39.5