blob: 97c0004de6b6449cb014a61e15f15d67caf4c00d (
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
|
PR = "r1"
SRC_URI = "cvs://anoncvs@dri.freedesktop.org/cvs/dri;module=drm;method=pserver"
inherit module-base
PV = "0.0cvs${CVSDATE}"
S = "${WORKDIR}/drm"
do_compile() {
oe_runmake -C linux LINUXDIR="${KERNEL_SOURCE}"
}
do_install() {
install -d ${D}/lib/modules/${KERNEL_VERSION}/drm
cd linux
for i in *.ko; do install -m 0644 $i ${D}/lib/modules/${KERNEL_VERSION}/drm/; done
}
python populate_packages_prepend () {
root = oe.data.expand('/lib/modules/${KERNEL_VERSION}/drm', d)
do_split_packages(d, root, '^(.*)\.ko$',
output_pattern='drm-module-%s',
description='DRM driver module for %s',
extra_depends='')
}
|