Merge zelda.tuxnami.org:code/packages
authorChris Larson <clarson@kergoth.com>
Thu, 22 Jan 2004 22:02:36 +0000 (22:02 +0000)
committerChris Larson <clarson@kergoth.com>
Thu, 22 Jan 2004 22:02:36 +0000 (22:02 +0000)
into linux.local:/home/kergoth/code/packages

2004/01/22 17:02:06-05:00 local!kergoth
Add an initial modutils-cross, so we can pregenerate module dependency information for images.

BKrev: 4010487cr4HynJbW5m4jaJuKspbjlQ

modutils/modutils-cross_2.4.25.oe [new file with mode: 0644]
modutils/modutils_2.4.25.oe

diff --git a/modutils/modutils-cross_2.4.25.oe b/modutils/modutils-cross_2.4.25.oe
new file mode 100644 (file)
index 0000000..e69de29
index 397de5e..ac0b39c 100644 (file)
@@ -1,4 +1,4 @@
-SRC_URI = ftp://ftp.kernel.org/pub/linux/utils/kernel/${PN}/v2.4/${P}.tar.bz2 \
+SRC_URI = ftp://ftp.kernel.org/pub/linux/utils/kernel/${PN}/v2.4/modutils-${PV}.tar.bz2 \
          file://${FILESDIR}/modutils-notest.patch;patch=1 \
          file://${FILESDIR}/configure.patch;patch=1
 
@@ -9,11 +9,8 @@ sbindir=/sbin
 EXTRA_OECONF = --disable-strip
 export BUILDCC = ${BUILD_CC}
 
-do_install_prepend () {
-       oe_runmake 'DESTDIR=${D}' install
-}
-
 do_install () {
+       oe_runmake 'DESTDIR=${D}' install
        install -d ${D}/${sysconfdir}
        oe_machinstall -m 0644 ${FILESDIR}/modules ${D}/${sysconfdir}/modules
        oe_machinstall -m 0644 ${FILESDIR}/modules.conf ${D}/${sysconfdir}/modules.conf