summaryrefslogtreecommitdiff
path: root/packages/images/base-image.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/images/base-image.bb')
-rw-r--r--packages/images/base-image.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/images/base-image.bb b/packages/images/base-image.bb
index 20a5fd9445..36760ec499 100644
--- a/packages/images/base-image.bb
+++ b/packages/images/base-image.bb
@@ -24,7 +24,8 @@ DEPENDS = "\
task-distro-base task-machine-base \
${DISTRO_SSH_DAEMON} \
${DISTRO_PACKAGE_MANAGER} \
- task-base-usbhost task-base-ext2 \
+ ${@base_contains('MACHINE_FEATURES', 'ext2', 'task-base-ext2', '', d)} \
+ ${@base_contains('MACHINE_FEATURES', 'usbhost', 'task-base-usbhost', '', d)} \
"
IMAGE_INSTALL = "\
@@ -32,7 +33,8 @@ IMAGE_INSTALL = "\
task-distro-base task-machine-base \
${DISTRO_SSH_DAEMON} \
${DISTRO_PACKAGE_MANAGER} \
- task-base-usbhost task-base-ext2 \
+ ${@base_contains('MACHINE_FEATURES', 'ext2', 'task-base-ext2', '', d)} \
+ ${@base_contains('MACHINE_FEATURES', 'usbhost', 'task-base-usbhost', '', d)} \
"
export IMAGE_BASENAME = "base-image"