1 DESCRIPTION = "SlingBox is a minimal version of BusyBox with just enough functionality \
2 to enable ipkg to run on an Unslung NSLU2 device."
3 HOMEPAGE = "http://www.busybox.net"
8 COMPATIBLE_MACHINE = "nslu2"
10 SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
12 file://shadow_h_is_required.patch;patch=1 \
13 file://df_rootfs.patch;patch=1 \
14 file://lazy_umount.patch;patch=1 \
15 file://halt.patch;patch=1 \
16 file://fdisk-readhex.patch;patch=1 \
17 file://trylink-bash.patch;patch=1 \
18 file://slingbox_name.patch;patch=1 \
19 file://slingbox.patch;patch=1"
21 S = "${WORKDIR}/busybox-${PV}"
23 export EXTRA_CFLAGS = "${CFLAGS}"
24 EXTRA_OEMAKE_append = " V=1 ARCH=arm CROSS_COMPILE=${TARGET_PREFIX}"
29 FILES_${PN}-locale = ""
34 install -m 0644 ${WORKDIR}/defconfig ${S}/.config
39 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
44 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
45 oe_runmake "PREFIX=${D}" install
47 # Just in case fdisk is compiled in, do not overwrite the Linksys one
48 rm -f ${S}/_install/sbin/fdisk
50 cp -pPR ${S}/_install/* ${D}/