diff options
Diffstat (limited to 'busybox/switchbox_1.00.oe')
-rw-r--r-- | busybox/switchbox_1.00.oe | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/busybox/switchbox_1.00.oe b/busybox/switchbox_1.00.oe index 42b82d8a9d..e2d9385d44 100644 --- a/busybox/switchbox_1.00.oe +++ b/busybox/switchbox_1.00.oe @@ -14,6 +14,12 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \ S = "${WORKDIR}/busybox-${PV}" +python () { + # Don't build switchbox unless we're targeting an nslu2 + if oe.data.getVar("MACHINE", d, 1) != "nslu2": + raise oe.parse.SkipPackage("switchbox only builds for the Linksys NSLU2") +} + LDFLAGS =+ "-static" export EXTRA_CFLAGS = "${CFLAGS}" |