diff options
author | Chris Larson <clarson@kergoth.com> | 2004-12-03 19:51:24 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-12-03 19:51:24 +0000 |
commit | 492457a85abbd41d7a37efe76108ecde3c72d307 (patch) | |
tree | b85c05b3b6f1a3ac53f8706e6fd87973cf128cf2 /busybox/switchbox_1.00.oe | |
parent | a14105a30a4a6538ddc613ff890d442ec78aa4b6 (diff) |
Don't build switchbox and slingbox unless you're targeting an NSLU2.
BKrev: 41b0c3bcHWKv3tvxOM48uMvcxtkj-w
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}" |