diff options
author | Phil Blundell <philb@gnu.org> | 2004-10-18 18:22:10 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2004-10-18 18:22:10 +0000 |
commit | 88f15744be406027ae82b79dbf650508130e3213 (patch) | |
tree | e25c0721653a1daf670670fdea68a9b875f1e548 /busybox/busybox_1.00.oe | |
parent | 425a68549c816c778ec00df1c478e5e0635d73cc (diff) |
Merge bk://openembedded@openembedded.bkbits.net/packages
into stealth.nexus.co.uk:/home/pb/oe/oe-packages
2004/10/17 22:14:19+01:00 nexus.co.uk!pb
use run-parts for udhcpc client scripts
2004/10/17 20:47:07+01:00 (none)!pb
add new glibc-intermediate with fixed cvs version, and use it in preference to the floating one.
2004/10/17 20:45:34+01:00 (none)!pb
add floating mythtv cvs snapshot
2004/10/17 20:41:07+01:00 (none)!pb
move some files into files/
2004/10/17 20:40:41+01:00 (none)!pb
update handhelds-pxa kernels to hh37.1 to fix tagging snafu
2004/10/17 20:39:11+01:00 (none)!pb
enable tftp client
2004/10/17 20:38:10+01:00 (none)!pb
enable /proc/scsi
2004/10/17 12:38:03+01:00 (none)!pb
update libtododb to 0.08
BKrev: 417409d2YrGHQU8k9SD5pdtiuOa7qg
Diffstat (limited to 'busybox/busybox_1.00.oe')
-rw-r--r-- | busybox/busybox_1.00.oe | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/busybox/busybox_1.00.oe b/busybox/busybox_1.00.oe index e69de29bb2..330f6106fc 100644 --- a/busybox/busybox_1.00.oe +++ b/busybox/busybox_1.00.oe @@ -0,0 +1,71 @@ +DESCRIPTION = "BusyBox version ${PV}. \ +BusyBox combines tiny versions of many common UNIX utilities into a single \ +small executable. It provides minimalist replacements for most of the \ +utilities you usually find in GNU fileutils, shellutils, etc. The utilities \ +in BusyBox generally have fewer options than their full-featured GNU \ +cousins; however, the options that are included provide the expected \ +functionality and behave very much like their GNU counterparts. BusyBox \ +provides a fairly complete POSIX environment for any small or embedded \ +system." +HOMEPAGE = "http://www.busybox.net" +LICENSE = "GPL" +SECTION = "base" +PRIORITY = "required" +PR = "r2" + +SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \ + file://add-getkey-applet.patch;patch=1 \ + file://udhcpscript.patch;patch=1 \ + file://dhcpretrytime.patch;patch=1 \ + file://defconfig \ + file://busybox-cron \ + file://busybox-httpd \ + file://busybox-udhcpd \ + file://syslog \ + file://hwclock.sh \ + file://default.script" + +S = "${WORKDIR}/busybox-${PV}" + +export EXTRA_CFLAGS = "${CFLAGS}" +EXTRA_OEMAKE_append = " CROSS=${HOST_PREFIX}" +FILES_${PN} += " ${datadir}/udhcpc" + +inherit cml1 update-rc.d + +INITSCRIPT_NAME = "syslog" +INITSCRIPT_PARAMS = "defaults" + +do_configure () { + install -m 0644 ${WORKDIR}/defconfig ${S}/.config + cml1_do_configure +} + +do_compile () { + unset CFLAGS + base_do_compile +} + +do_install () { + install -d ${D}/etc/init.d + oe_runmake 'PREFIX=${D}' install + install -m 0755 ${WORKDIR}/syslog ${D}/etc/init.d/ + if grep "CONFIG_CROND=y" ${WORKDIR}/defconfig; then + install -m 0755 ${WORKDIR}/busybox-cron ${D}/etc/init.d/ + fi + if grep "CONFIG_HTTPD=y" ${WORKDIR}/defconfig; then + install -m 0755 ${WORKDIR}/busybox-httpd ${D}/etc/init.d/ + fi + if grep "CONFIG_UDHCPD=y" ${WORKDIR}/defconfig; then + install -m 0755 ${WORKDIR}/busybox-udhcpd ${D}/etc/init.d/ + fi + if grep "CONFIG_HWCLOCK=y" ${WORKDIR}/defconfig; then + install -m 0755 ${WORKDIR}/hwclock.sh ${D}/etc/init.d/hwclock.sh + fi + if grep "CONFIG_UDHCPC=y" ${WORKDIR}/defconfig; then + install -d ${D}/etc/udhcpc.d + install -d ${D}${datadir}/udhcpc + install -m 0755 ${S}/examples/udhcp/simple.script ${D}/etc/udhcpc.d/50default + install -m 0755 ${WORKDIR}/default.script ${D}${datadir}/udhcpc/default.script + fi +} |