diff options
author | Richard Purdie <richard@openedhand.com> | 2006-05-09 16:12:17 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-05-09 16:12:17 +0000 |
commit | 6b703b1c319c911e2ba7b0b0323b2f6b86b5f6ab (patch) | |
tree | 9de640ac84784e2457bce7e98b5ba44b5fc433c3 /openembedded/packages/modutils | |
parent | 2622e938b2432d28d6964ef5afff2492b9f5a327 (diff) | |
download | poky-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.bb | 3 | ||||
-rw-r--r-- | openembedded/packages/modutils/modutils_2.4.27.bb | 4 |
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 @@ | |||
1 | SECTION = "base" | 1 | SECTION = "base" |
2 | include modutils_${PV}.bb | 2 | include modutils_${PV}.bb |
3 | PR = "r6" | 3 | PR = "r8" |
4 | inherit cross | 4 | inherit cross |
5 | S = "${WORKDIR}/modutils-${PV}" | 5 | S = "${WORKDIR}/modutils-${PV}" |
6 | DEPENDS = "" | 6 | DEPENDS = "" |
@@ -19,6 +19,7 @@ CFLAGS_prepend_mipseb = "-D__MIPSEB__" | |||
19 | 19 | ||
20 | do_stage () { | 20 | do_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 | ||
24 | do_install () { | 25 | do_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 | |||
39 | done | 39 | done |
40 | if test -n "$D"; then | 40 | if 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 |
48 | fi | 48 | fi |