summaryrefslogtreecommitdiff
path: root/packages/meta/unslung-image.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meta/unslung-image.bb')
-rw-r--r--packages/meta/unslung-image.bb3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/meta/unslung-image.bb b/packages/meta/unslung-image.bb
index a6277afcf7..7fa1b1cd4c 100644
--- a/packages/meta/unslung-image.bb
+++ b/packages/meta/unslung-image.bb
@@ -47,7 +47,6 @@ unslung_clean_image () {
python () {
# Don't build unslung 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 != 'unslung':
+ if mach != 'nslu2':
raise bb.parse.SkipPackage("Unslung only builds for the Linksys NSLU2")
}