require busybox.inc PR = "r5" SRC_URI = "\ http://www.busybox.net/downloads/busybox-${PV}.tar.gz \ \ file://udhcpscript.patch;patch=1 \ file://B921600.patch;patch=1 \ file://fdisk_lineedit_segfault.patch;patch=1 \ file://busybox-cron \ file://busybox-httpd \ file://busybox-udhcpd \ file://default.script \ file://hwclock.sh \ file://mount.busybox \ file://syslog \ file://syslog.conf \ file://umount.busybox \ file://defconfig \ file://mdev \ file://mdev.conf \ " EXTRA_OEMAKE += "V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX}" do_configure () { install -m 0644 ${WORKDIR}/defconfig ${S}/.config cml1_do_configure } do_install_append() { install -m 0644 ${WORKDIR}/mdev.conf ${D}${sysconfdir}/ install -d ${D}${sysconfdir}/init.d/ install -m 0755 ${WORKDIR}/mdev ${D}${sysconfdir}/init.d/ } pkg_postinst_${PN}_append() { update-rc.d $OPT mdev start 06 S . }