summaryrefslogtreecommitdiff
path: root/busybox
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-03-13 05:42:36 +0000
committerChris Larson <clarson@kergoth.com>2004-03-13 05:42:36 +0000
commit06f7d17e81de21a95e35b03453242bc62b05a6aa (patch)
treebc9c53bce2c6a2fdce3caf5bb45bc3f8634b56be /busybox
parent4b022a36ced4930af6bcdeb7d75a5ed10c4ac9cd (diff)
First pass of .oe cleanups.
BKrev: 40529f4crFtRY5_1DubNmWhDeHSmPw
Diffstat (limited to 'busybox')
-rw-r--r--busybox/busybox_1.00-pre8.oe35
1 files changed, 35 insertions, 0 deletions
diff --git a/busybox/busybox_1.00-pre8.oe b/busybox/busybox_1.00-pre8.oe
index e69de29bb2..3d3ae30764 100644
--- a/busybox/busybox_1.00-pre8.oe
+++ b/busybox/busybox_1.00-pre8.oe
@@ -0,0 +1,35 @@
+LICENSE = "GPL"
+SRC_URI="http://www.busybox.net/downloads/${PN}-${PV}.tar.gz"
+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.
+
+S = "${WORKDIR}/${P}"
+export EXTRA_CFLAGS="${CFLAGS}"
+EXTRA_OEMAKE_append=' CROSS=${HOST_PREFIX}'
+
+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
+}