diff options
author | Chris Larson <clarson@kergoth.com> | 2003-11-26 23:09:02 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2003-11-26 23:09:02 +0000 |
commit | 0cec914363b83b07235fc2bf75346bd4b6e1e562 (patch) | |
tree | de18dde9ffb80376d40b4f0a2fc7560fcca41c84 /busybox | |
parent | 2a6179483e8df707a76650a5b9ea9e49befa8659 (diff) |
Fixing remnant CROSS usage.
BKrev: 3fc5328e0dIUM-kS9AHuFvdnc6xS3g
Diffstat (limited to 'busybox')
-rw-r--r-- | busybox/busybox_1.00-pre2.oe | 41 | ||||
-rw-r--r-- | busybox/busybox_1.00-pre3.oe | 40 |
2 files changed, 81 insertions, 0 deletions
diff --git a/busybox/busybox_1.00-pre2.oe b/busybox/busybox_1.00-pre2.oe index e69de29bb2..4668df0a98 100644 --- a/busybox/busybox_1.00-pre2.oe +++ b/busybox/busybox_1.00-pre2.oe @@ -0,0 +1,41 @@ +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 +} + +do_package_ipk_prepend () { + set -e + install -m 0755 ${FILESDIR}/postinst ${D}/CONTROL/postinst; + install -m 0755 ${FILESDIR}/prerm ${D}/CONTROL/prerm; +} diff --git a/busybox/busybox_1.00-pre3.oe b/busybox/busybox_1.00-pre3.oe index e69de29bb2..f2a17f55a2 100644 --- a/busybox/busybox_1.00-pre3.oe +++ b/busybox/busybox_1.00-pre3.oe @@ -0,0 +1,40 @@ +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 +} + +do_package_ipk_prepend () { + install -m 0755 ${FILESDIR}/postinst ${D}/CONTROL/postinst; + install -m 0755 ${FILESDIR}/prerm ${D}/CONTROL/prerm; +} |