summaryrefslogtreecommitdiff
path: root/busybox
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-04-30 19:59:35 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-04-30 19:59:35 +0000
commit6a30b821b292e8c18bb67677f6b773bbdcf31a22 (patch)
treeadcd04e344ea163c78d13cb9c0547d9bc7947872 /busybox
parent6b4663a02dc4ea07f8b457b4ec57a8a821d4043c (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into gandalf.tm.informatik.uni-frankfurt.de:/usr/local/projects/packages 2004/04/30 21:59:29+02:00 uni-frankfurt.de!mickeyl install udhcp helper script - patch courtesy pb_. BKrev: 4092b027Rwut0Zbf-keLg3lovoMa3w
Diffstat (limited to 'busybox')
-rw-r--r--busybox/busybox_1.00-pre10.oe39
1 files changed, 39 insertions, 0 deletions
diff --git a/busybox/busybox_1.00-pre10.oe b/busybox/busybox_1.00-pre10.oe
index e69de29bb2..17891d5710 100644
--- a/busybox/busybox_1.00-pre10.oe
+++ b/busybox/busybox_1.00-pre10.oe
@@ -0,0 +1,39 @@
+PR = "r1"
+LICENSE = "GPL"
+DEPENDS = "virtual/libc"
+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."
+
+SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz"
+S = "${WORKDIR}/busybox-${PV}"
+export EXTRA_CFLAGS = "${CFLAGS}"
+EXTRA_OEMAKE_append = " CROSS=${HOST_PREFIX}"
+FILES_${PN} += " ${datadir}/udhcp"
+
+inherit cml1
+
+do_configure () {
+ install -m 0644 ${FILESDIR}/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 ${FILESDIR}/syslog ${D}/etc/init.d/syslog
+ install -m 0755 ${FILESDIR}/hwclock.sh ${D}/etc/init.d/hwclock.sh
+ install -d ${D}${datadir}/udhcp
+ install -m 0755 ${S}/examples/udhcp/simple.script ${D}${datadir}/udhcp/default.script
+}