summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-09-18 18:51:26 +0000
committerPhil Blundell <philb@gnu.org>2004-09-18 18:51:26 +0000
commit78a8340b69c6d4537a58ffc362842fc1261fe584 (patch)
tree26349bd379e93ece4206225fbc4698aa31fd754b
parent1bb66c8ec553767021fd45377faaac6ef7ad01c6 (diff)
suppress bogus dependency on (nonexistent) drm-kernel.ipk in output packages.
BKrev: 414c83aetXLLseUIy64sWazid9-ZJA
-rw-r--r--dri/drm-kernel_cvs.oe27
1 files changed, 27 insertions, 0 deletions
diff --git a/dri/drm-kernel_cvs.oe b/dri/drm-kernel_cvs.oe
index e69de29bb2..97c0004de6 100644
--- a/dri/drm-kernel_cvs.oe
+++ b/dri/drm-kernel_cvs.oe
@@ -0,0 +1,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='')
+}