angstrom-console-image: only ship psplash-zap if psplash has been included
authorKoen Kooi <koen@openembedded.org>
Sat, 12 May 2007 11:43:10 +0000 (11:43 +0000)
committerKoen Kooi <koen@openembedded.org>
Sat, 12 May 2007 11:43:10 +0000 (11:43 +0000)
packages/angstrom/angstrom-console-image.bb

index 5368b0d..ebded64 100644 (file)
@@ -1,13 +1,16 @@
 #Angstrom bootstrap image
 LICENSE = "MIT"
-PR = "r5"
+PR = "r6"
 
 ANGSTROM_EXTRA_INSTALL ?= ""
 
-DEPENDS = "task-base  psplash-zap"
+DEPENDS = "task-base \
+           ${@base_contains("MACHINE_FEATURES", "screen", "psplash-zap", "",d)} \
+          "
+
 RDEPENDS = "task-base \
            ${ANGSTROM_EXTRA_INSTALL} \
-           psplash-zap \
+           ${@base_contains("MACHINE_FEATURES", "screen", "psplash-zap", "",d)} \
           "
 
 export IMAGE_BASENAME = "console-image"