summaryrefslogtreecommitdiffstats
path: root/openembedded/packages/modutils
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-05-09 16:12:17 +0000
committerRichard Purdie <richard@openedhand.com>2006-05-09 16:12:17 +0000
commit6b703b1c319c911e2ba7b0b0323b2f6b86b5f6ab (patch)
tree9de640ac84784e2457bce7e98b5ba44b5fc433c3 /openembedded/packages/modutils
parent2622e938b2432d28d6964ef5afff2492b9f5a327 (diff)
downloadpoky-6b703b1c319c911e2ba7b0b0323b2f6b86b5f6ab.tar.gz
Sync kernel module utils with OE (needed for kernel.bbclass changes)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@376 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/modutils')
-rw-r--r--openembedded/packages/modutils/modutils-cross_2.4.27.bb3
-rw-r--r--openembedded/packages/modutils/modutils_2.4.27.bb4
2 files changed, 4 insertions, 3 deletions
diff --git a/openembedded/packages/modutils/modutils-cross_2.4.27.bb b/openembedded/packages/modutils/modutils-cross_2.4.27.bb
index 2b301d7d09..834f13adbd 100644
--- a/openembedded/packages/modutils/modutils-cross_2.4.27.bb
+++ b/openembedded/packages/modutils/modutils-cross_2.4.27.bb
@@ -1,6 +1,6 @@
1SECTION = "base" 1SECTION = "base"
2include modutils_${PV}.bb 2include modutils_${PV}.bb
3PR = "r6" 3PR = "r8"
4inherit cross 4inherit cross
5S = "${WORKDIR}/modutils-${PV}" 5S = "${WORKDIR}/modutils-${PV}"
6DEPENDS = "" 6DEPENDS = ""
@@ -19,6 +19,7 @@ CFLAGS_prepend_mipseb = "-D__MIPSEB__"
19 19
20do_stage () { 20do_stage () {
21 oe_runmake install 21 oe_runmake install
22 mv ${bindir}/${TARGET_PREFIX}depmod ${bindir}/${TARGET_PREFIX}depmod-2.4
22} 23}
23 24
24do_install () { 25do_install () {
diff --git a/openembedded/packages/modutils/modutils_2.4.27.bb b/openembedded/packages/modutils/modutils_2.4.27.bb
index 9fa7cef105..56420f7de0 100644
--- a/openembedded/packages/modutils/modutils_2.4.27.bb
+++ b/openembedded/packages/modutils/modutils_2.4.27.bb
@@ -39,10 +39,10 @@ for f in sbin/insmod sbin/modprobe sbin/rmmod bin/lsmod; do
39done 39done
40if test -n "$D"; then 40if test -n "$D"; then
41 D="-r $D" 41 D="-r $D"
42 if test -n "`which ${TARGET_PREFIX}depmod`"; then 42 if test -n "`which ${TARGET_PREFIX}depmod-2.4`"; then
43 for kerneldir in `ls -p ${IMAGE_ROOTFS}/lib/modules|grep /`; do 43 for kerneldir in `ls -p ${IMAGE_ROOTFS}/lib/modules|grep /`; do
44 kernelver=`basename $kerneldir` 44 kernelver=`basename $kerneldir`
45 ${TARGET_PREFIX}depmod -a -b ${IMAGE_ROOTFS} -C ${IMAGE_ROOTFS}/${sysconfdir}/modules.conf -r $kernelver 45 ${TARGET_PREFIX}depmod-2.4 -a -b ${IMAGE_ROOTFS} -C ${IMAGE_ROOTFS}/${sysconfdir}/modules.conf -r $kernelver
46 done 46 done
47 fi 47 fi
48fi 48fi