diff options
author | Rod Whitby <rod@whitby.id.au> | 2006-11-13 12:29:51 +0000 |
---|---|---|
committer | Rod Whitby <rod@whitby.id.au> | 2006-11-13 12:29:51 +0000 |
commit | 006eecf9769374d14c65103ef358119e115f1193 (patch) | |
tree | 6a46cc5c68635ed5eb6ec426b90557af4e4f0e63 | |
parent | 67a41ab0a8ddfd847b78e5b339d06c39f133cabb (diff) |
upslug2: Set COMPATIBLE_MACHINE to nslu2
-rw-r--r-- | packages/upslug/upslug2.inc | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/packages/upslug/upslug2.inc b/packages/upslug/upslug2.inc index 0a91bc3fd1..9bee027034 100644 --- a/packages/upslug/upslug2.inc +++ b/packages/upslug/upslug2.inc @@ -1,11 +1,12 @@ # This package builds the 'upslug2' binary upload/flash tool # for the NSLU2. It is not useful for anything else. -PR = "r0" +PR = "r1" DESCRIPTION = "NSLU2 binary upload tool (version 2)" HOMEPAGE = "http://www.nslu2-linux.org/wiki/Main/UpSlug2" SECTION = "console/network" PRIORITY = "optional" LICENSE = "MIT" +COMPATIBLE_MACHINE = "nslu2" # On Linux libpcap does not work. Using libpcap is sub-optimal - it # is intended for packet capture not management of a new protocol @@ -28,10 +29,3 @@ S = "${WORKDIR}/upslug2-${PV}" PACKAGES = "${PN}" EXTRA_OECONF += "${LIBPCAP_OECONF}" - -python () { - # Don't build upslug2 unless we're targeting an nslu2 - mach = bb.data.getVar("MACHINE", d, 1) - if mach != 'nslu2': - raise bb.parse.SkipPackage("upslug2 only builds for the Linksys NSLU2") -} |