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"
9 SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
11 file://slingbox.patch;patch=1"
13 S = "${WORKDIR}/busybox-${PV}"
16 # Don't build slingbox unless we're targeting an nslu2
17 if bb.data.getVar("MACHINE", d, 1) != "nslu2":
18 raise bb.parse.SkipPackage("switchbox only builds for the Linksys NSLU2")
21 export EXTRA_CFLAGS = "${CFLAGS}"
22 EXTRA_OEMAKE_append = " CROSS=${HOST_PREFIX}"
28 FILES_${PN}-locale = ""
33 install -m 0644 ${WORKDIR}/defconfig ${S}/.config
43 oe_runmake 'PREFIX=${D}' install