summaryrefslogtreecommitdiff
path: root/recipes/module-init-tools/module-init-tools_3.2.1.bb
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-11 15:29:00 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-11 15:29:00 +0000
commit59ae038eec20833a9d07c43ddd9f0109f8bc3a74 (patch)
treebf0cd09bdbcd9d7a4db307ce17f3d8c2dd171abc /recipes/module-init-tools/module-init-tools_3.2.1.bb
parentd3d76c149b8fba3d1ef6d803d7a3b6fcfca58b2f (diff)
module-init-tools: Split into a .inc file for use by -cross so bindir and sbindir aren't clobbered (from Poky)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'recipes/module-init-tools/module-init-tools_3.2.1.bb')
-rw-r--r--recipes/module-init-tools/module-init-tools_3.2.1.bb18
1 files changed, 1 insertions, 17 deletions
diff --git a/recipes/module-init-tools/module-init-tools_3.2.1.bb b/recipes/module-init-tools/module-init-tools_3.2.1.bb
index 91c0efcd64..6481913ca7 100644
--- a/recipes/module-init-tools/module-init-tools_3.2.1.bb
+++ b/recipes/module-init-tools/module-init-tools_3.2.1.bb
@@ -1,30 +1,14 @@
-DESCRIPTION = "This package contains a set of programs for loading, inserting, and \
-removing kernel modules for Linux (versions 2.5.48 and above). It serves \
-the same function that the modutils package serves for Linux 2.4."
-LICENSE = "GPL"
-SECTION = "base"
-PR = "r1"
-
-PACKAGES =+ "module-init-tools-insmod-static module-init-tools-depmod"
-RDEPENDS_${PN} += "module-init-tools-depmod"
-
-FILES_module-init-tools-depmod = "${sbindir}/depmod.26"
-FILES_module-init-tools-insmod-static = "${sbindir}/insmod.static"
+require module-init-tools.inc
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/module-init-tools/module-init-tools-${PV}.tar.bz2 \
file://ignore_arch_directory;patch=1 \
file://modutils_extension;patch=1 \
file://no_man_rebuild;patch=1 \
file://manpagesopt;patch=1 "
-S = "${WORKDIR}/module-init-tools-${PV}"
-
-EXTRA_OECONF = "--disable-manpages"
bindir = "/bin"
sbindir = "/sbin"
-inherit autotools
-
do_install() {
autotools_do_install
for f in bin/lsmod sbin/insmod sbin/rmmod sbin/modprobe sbin/modinfo sbin/depmod; do