summaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2004-05-10 19:04:46 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2004-05-10 19:04:46 +0000
commit2e649a8073284c7b41607ff80c71c3c76e193a2a (patch)
tree5805b00a7b4c7a72eba0f7c97873c6bd48765c52 /modutils
parentef2a0dc9d1771cee259c9e5ce9d8dc40e9a68cbd (diff)
Pack of changes to get task-bootstrap works better.
BKrev: 409fd24ePJ42qABkdpYI28oHVuIMmg
Diffstat (limited to 'modutils')
-rw-r--r--modutils/modutils-collateral.oe5
-rw-r--r--modutils/modutils-cross_2.4.27.oe17
-rw-r--r--modutils/modutils_2.4.27.oe1
3 files changed, 20 insertions, 3 deletions
diff --git a/modutils/modutils-collateral.oe b/modutils/modutils-collateral.oe
index d0e055bddd..a9de9433b5 100644
--- a/modutils/modutils-collateral.oe
+++ b/modutils/modutils-collateral.oe
@@ -1,9 +1,8 @@
DEPENDS = "virtual/libc"
DESCRIPTION = "modutils configuration files"
+FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/files"
-SRC_URI = "file://${FILESDIR}/modules \
- file://${FILESDIR}/modules.conf \
- file://${FILESDIR}/modutils"
+SRC_URI = "file://${FILESDIR}/modutils"
INITSCRIPT_NAME = "modutils"
INITSCRIPT_PARAMS = "start 20 S ."
diff --git a/modutils/modutils-cross_2.4.27.oe b/modutils/modutils-cross_2.4.27.oe
index e69de29bb2..8946d68100 100644
--- a/modutils/modutils-cross_2.4.27.oe
+++ b/modutils/modutils-cross_2.4.27.oe
@@ -0,0 +1,17 @@
+include modutils_${PV}.oe
+inherit cross
+S = "${WORKDIR}/modutils-${PV}"
+DEPENDS = "patcher-native"
+PACKAGES = ""
+
+sbindir = "${prefix}/bin"
+
+EXTRA_OECONF_append = " --program-prefix=${TARGET_PREFIX}"
+
+do_stage () {
+ oe_runmake install
+}
+
+do_install () {
+ :
+}
diff --git a/modutils/modutils_2.4.27.oe b/modutils/modutils_2.4.27.oe
index 2525ae84a9..892898dc98 100644
--- a/modutils/modutils_2.4.27.oe
+++ b/modutils/modutils_2.4.27.oe
@@ -2,6 +2,7 @@ PR = "r1"
DESCRIPTION = "These utilities are intended to make a Linux modular kernel \
manageable for all users, administrators and distribution \
maintainers."
+FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/files"
SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/kernel/modutils/v2.4/modutils-${PV}.tar.bz2 \
file://${FILESDIR}/modutils-notest.patch;patch=1 \