summaryrefslogtreecommitdiff
path: root/packages/upslug
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2006-11-13 10:54:41 +0000
committerRod Whitby <rod@whitby.id.au>2006-11-13 10:54:41 +0000
commitaed3e30c272f4867ba111e2a58342addeb14b1f2 (patch)
treecaafbfd34b4256b6606e4e96722f5b5209e98815 /packages/upslug
parent5650497bd9de10d21908ce54746875745348731a (diff)
COMPATIBLE_MACHINE=nslu2: various packages updated
Diffstat (limited to 'packages/upslug')
-rw-r--r--packages/upslug/upslug-native_1.0.bb10
-rw-r--r--packages/upslug/upslug-native_cvs.bb10
2 files changed, 4 insertions, 16 deletions
diff --git a/packages/upslug/upslug-native_1.0.bb b/packages/upslug/upslug-native_1.0.bb
index 0249cb56fd..729f176a75 100644
--- a/packages/upslug/upslug-native_1.0.bb
+++ b/packages/upslug/upslug-native_1.0.bb
@@ -1,11 +1,12 @@
# This package builds the 'upslug' binary upload/flash tool
# for the NSLU2. It is not useful for anything else.
-PR = "r0"
+PR = "r1"
DESCRIPTION = "NSLU2 binary upload tool"
HOMEPAGE = "http://www.nslu2-linux.org/wiki/Main/UpSlug"
SECTION = "console/network"
PRIORITY = "optional"
LICENSE = "GPL-2"
+COMPATIBLE_MACHINE = "nslu2"
SRC_TAG = "UPSLUG_${@'_'.join(bb.data.getVar('PV',d,1).split('.'))}"
SRC_URI = "cvs://anonymous@nslu.cvs.sourceforge.net/cvsroot/nslu;method=pserver;module=upslug;tag=${SRC_TAG}"
@@ -25,10 +26,3 @@ do_compile() {
do_stage() {
oe_runmake "DESTDIR=${STAGING_BINDIR}" install
}
-
-python () {
- # Don't build upslug unless we're targeting an nslu2
- mach = bb.data.getVar("MACHINE", d, 1)
- if mach != 'nslu2':
- raise bb.parse.SkipPackage("upslug only builds for the Linksys NSLU2")
-}
diff --git a/packages/upslug/upslug-native_cvs.bb b/packages/upslug/upslug-native_cvs.bb
index 7099b3ba44..95b340c589 100644
--- a/packages/upslug/upslug-native_cvs.bb
+++ b/packages/upslug/upslug-native_cvs.bb
@@ -1,11 +1,12 @@
# This package builds the 'upslug' binary upload/flash tool
# for the NSLU2. It is not useful for anything else.
-PR = "r0"
+PR = "r1"
DESCRIPTION = "NSLU2 binary upload tool"
HOMEPAGE = "http://www.nslu2-linux.org/wiki/Main/UpSlug"
SECTION = "console/network"
PRIORITY = "optional"
LICENSE = "GPL-2"
+COMPATIBLE_MACHINE = "nslu2"
# Use releases in preference
DEFAULT_PREFERENCE = "-1"
@@ -24,10 +25,3 @@ do_compile() {
do_stage() {
oe_runmake "DESTDIR=${STAGING_BINDIR}" install
}
-
-python () {
- # Don't build upslug unless we're targeting an nslu2
- mach = bb.data.getVar("MACHINE", d, 1)
- if mach != 'nslu2':
- raise bb.parse.SkipPackage("upslug only builds for the Linksys NSLU2")
-}