SRC_URI = ftp://ftp.kernel.org/pub/linux/utils/kernel/${PN}/v2.4/${P}.tar.bz2 \ file://${FILESDIR}/modutils-notest.patch;patch=1 \ file://${FILESDIR}/configure.patch;patch=1 inherit autotools # modutils go in /sbin sbindir=/sbin EXTRA_OECONF = --disable-strip export BUILDCC = ${BUILD_CC} do_install_prepend () { oe_runmake 'DESTDIR=${D}' install } do_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 }