summaryrefslogtreecommitdiff
path: root/packages/meta/openslug-image.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meta/openslug-image.bb')
-rw-r--r--packages/meta/openslug-image.bb3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/meta/openslug-image.bb b/packages/meta/openslug-image.bb
index 6ab8bc73b5..c8c231d302 100644
--- a/packages/meta/openslug-image.bb
+++ b/packages/meta/openslug-image.bb
@@ -36,8 +36,7 @@ inherit image_ipk
python () {
# Don't build openslug images unless we're targeting an nslu2
mach = bb.data.getVar("MACHINE", d, 1)
- dist = bb.data.getVar("DISTRO", d, 1)
- if mach != 'nslu2' or dist != 'openslug':
+ if mach != 'nslu2':
raise bb.parse.SkipPackage("OpenSlug only builds for the Linksys NSLU2")
}
LICENSE = MIT