summaryrefslogtreecommitdiff
path: root/packages/mdev
diff options
context:
space:
mode:
authorMichael-Luke Jones <mlj28@cam.ac.uk>2006-09-25 18:42:32 +0000
committerMichael-Luke Jones <mlj28@cam.ac.uk>2006-09-25 18:42:32 +0000
commitb9c26c23aa50e080a857261b64312966ae0f327d (patch)
tree586c9475003693c1e4008a5e66a36291c8a5ba6b /packages/mdev
parent52923557de58c18ccf41c12759994528e068b434 (diff)
ixp4xx-kernel: Bump SVN to add new ixp_npe driver fixes
slugos-init: adjustments to loadmodules.sh script mdev: Fake hotplug firmware loading implemented in a script
Diffstat (limited to 'packages/mdev')
-rw-r--r--packages/mdev/mdev-1.2.1/slugos/mdev.conf2
-rw-r--r--packages/mdev/mdev_1.2.1.bb12
2 files changed, 10 insertions, 4 deletions
diff --git a/packages/mdev/mdev-1.2.1/slugos/mdev.conf b/packages/mdev/mdev-1.2.1/slugos/mdev.conf
index 26e8606248..eaf77e64d7 100644
--- a/packages/mdev/mdev-1.2.1/slugos/mdev.conf
+++ b/packages/mdev/mdev-1.2.1/slugos/mdev.conf
@@ -9,4 +9,4 @@ ptmx 0:5 666
tty 0:5 0660
ttyS* 0:20 640
event0 0:0 660 @ln -sf /dev/event0 /dev/buzzer
-ucode_dl root:root 600 @sleep 1 && cat /lib/firmware/NPE-B > /dev/ucode_dl
+ixp4xx_ucode root:root 600 @/lib/mdev/loadmicrocode.sh \ No newline at end of file
diff --git a/packages/mdev/mdev_1.2.1.bb b/packages/mdev/mdev_1.2.1.bb
index fd7aac9042..2e424f3644 100644
--- a/packages/mdev/mdev_1.2.1.bb
+++ b/packages/mdev/mdev_1.2.1.bb
@@ -4,21 +4,22 @@ busybox. This adds a very small extra overhead in rootfs size \
(approx 4kB) but allows greater flexibility."
HOMEPAGE = "http://www.busybox.net"
LICENSE = "GPL"
-PR = "r1"
+PR = "r3"
S = ${WORKDIR}/busybox-${PV}
SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
file://mdevdelnodes.patch;patch=1 \
- file://defconfig \
+ file://defconfig \
file://mdev.sh \
file://mdev.conf \
"
+SRC_URI_append_slugos = "file://loadmicrocode.sh"
export EXTRA_CFLAGS = "${CFLAGS}"
EXTRA_OEMAKE_append = " CROSS=${HOST_PREFIX}"
-FILES_${PN} = "${sysconfdir}/init.d/mdev.sh ${sysconfdir}/mdev.conf ${base_sbindir}/mdev"
+FILES_${PN} = "${sysconfdir}/init.d/mdev.sh ${sysconfdir}/mdev.conf ${base_sbindir}/mdev ${base_libdir}/mdev/loadmicrocode.sh"
INITSCRIPT_PACKAGES = "${PN}"
INITSCRIPT_NAME_${PN} = "mdev.sh"
@@ -46,9 +47,14 @@ do_compile () {
do_install () {
mv ${S}/busybox ${S}/mdev
+
install -d ${D}${base_sbindir}
install -m 0755 ${S}/mdev ${D}${base_sbindir}/
+
install -d ${D}${sysconfdir}/init.d
install -m 644 ${WORKDIR}/mdev.conf ${D}${sysconfdir}/
install -m 0755 ${WORKDIR}/mdev.sh ${D}${sysconfdir}/init.d/
+
+ install -d ${D}${base_libdir}/mdev
+ install -m 0755 ${WORKDIR}/loadmicrocode.sh ${D}${base_libdir}/mdev/loadmicrocode.sh
}