blob: c12b2b8269a34d4fb98694c774b6a0a26d3d11cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
SECTION = "x11/base"
LICENSE = "MIT"
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 -so -C libdrm libdrm ${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-core/$i ${STAGING_INCDIR}
done
}
do_install() {
install -d ${D}${includedir}
install -d ${D}/lib
oe_runmake -C libdrm DESTDIR="${D}" install
}
|