diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-12-20 13:44:49 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-12-20 13:44:49 +0000 |
commit | e32b9ba8ea0ae8ed77f69d852658599d2e497dfa (patch) | |
tree | 9402307df91e752b3a36b45e176d03f3140f7f94 /packages | |
parent | 04fc97c66f0a23f348dde70d0181d1661a80a13c (diff) |
base-image: depend on ext2/usbhost only if machine supports them - close #3499
Diffstat (limited to 'packages')
-rw-r--r-- | packages/images/base-image.bb | 6 |
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" |