summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/update-modules/update-modules_1.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/update-modules/update-modules_1.0.bb')
-rw-r--r--meta/recipes-kernel/update-modules/update-modules_1.0.bb11
1 files changed, 1 insertions, 10 deletions
diff --git a/meta/recipes-kernel/update-modules/update-modules_1.0.bb b/meta/recipes-kernel/update-modules/update-modules_1.0.bb
index a8ebbdaebd..336bca2e9b 100644
--- a/meta/recipes-kernel/update-modules/update-modules_1.0.bb
+++ b/meta/recipes-kernel/update-modules/update-modules_1.0.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa
5 5
6PACKAGE_ARCH = "all" 6PACKAGE_ARCH = "all"
7RDEPENDS_${PN} = "${@base_contains("MACHINE_FEATURES", "kernel26", "module-init-tools-depmod","modutils-depmod",d)} " 7RDEPENDS_${PN} = "${@base_contains("MACHINE_FEATURES", "kernel26", "module-init-tools-depmod","modutils-depmod",d)} "
8PR = "r8" 8PR = "r9"
9 9
10SRC_URI = "file://update-modules \ 10SRC_URI = "file://update-modules \
11 file://COPYING.GPL" 11 file://COPYING.GPL"
@@ -22,12 +22,3 @@ do_install() {
22 install ${WORKDIR}/update-modules ${D}${sbindir} 22 install ${WORKDIR}/update-modules ${D}${sbindir}
23} 23}
24 24
25# The Unslung distro uses a 2.4 kernel for a machine (the NSLU2) which
26# supports both 2.4 and 2.6 kernels. Rather than forcing OE to have
27# to deal with that unique legacy corner case, we just nullify the
28# RDEPENDS_${PN} here and handle it in the Unslung image recipe. I know this
29# is ugly. Please don't remove it unless you first make the RDEPENDS
30# line at the top of this file understand that a machine can be used
31# in both a 2.4 kernel distro and a 2.6 kernel distro. Really, it's
32# not worth the effort to do that, so just overlook the next line.
33RDEPENDS_unslung = ""