blob: 0526339c967d9152013d5375dfe089532a2364ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
DEPENDS = "virtual/libc"
DESCRIPTION = "These utilities are intended to make a Linux modular kernel \
manageable for all users, administrators and distribution \
maintainers."
SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/kernel/modutils/v2.4/modutils-${PV}.tar.bz2 \
file://${FILESDIR}/modutils-notest.patch;patch=1 \
file://${FILESDIR}/configure.patch;patch=1 \
file://${FILESDIR}/program_prefix.patch;patch=1"
inherit autotools
# modutils go in /sbin
sbindir = "/sbin"
EXTRA_OECONF = "--disable-strip"
export BUILDCC = "${BUILD_CC}"
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
}
|