summaryrefslogtreecommitdiff
path: root/dri/drm_cvs.oe
blob: f49db79711ae89b2e98acb94c06e4a7188e30030 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
}