summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Westerhof <mwester@dls.net>2011-01-22 18:18:48 -0600
committerMike Westerhof <mwester@dls.net>2011-01-22 18:18:48 -0600
commit7b922eeac47c6303d4eb059a15a202c66efc4b88 (patch)
treedbaab458cdaa4d2e16a5a957d8729737cfef987d
parent991070017a7dcc05875ba7640948666be7a577b9 (diff)
downloadopenembedded-7b922eeac47c6303d4eb059a15a202c66efc4b88.tar.gz
SlugOS: nslu2-image.bbclass - use overrides to enable only for nslu2
This change effectively makes inheriting nslu2-image a no-op unless MACHINE == nslu2, making it much easier and neater to support other machine types with SlugOS.
-rw-r--r--classes/nslu2-image.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/nslu2-image.bbclass b/classes/nslu2-image.bbclass
index 8be1fa762f..1652ce5acd 100644
--- a/classes/nslu2-image.bbclass
+++ b/classes/nslu2-image.bbclass
@@ -19,5 +19,5 @@ nslu2_pack_image () {
-o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}-nslu2-16mb.bin
}
-EXTRA_IMAGEDEPENDS += 'slugimage-native nslu2-linksys-firmware ixp4xx-npe apex-nslu2 apex-nslu2-16mb'
-IMAGE_POSTPROCESS_COMMAND += "nslu2_pack_image; "
+EXTRA_IMAGEDEPENDS_append_nslu2 = ' slugimage-native nslu2-linksys-firmware ixp4xx-npe apex-nslu2 apex-nslu2-16mb'
+IMAGE_POSTPROCESS_COMMAND_append_nslu2 = " nslu2_pack_image; "