diff options
author | Roman I Khimov <khimov@altell.ru> | 2009-10-28 00:45:55 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-11-01 10:18:06 +0100 |
commit | f3e05e06129c692d26fc1b330e59176ff05494ff (patch) | |
tree | 19d4bd9e033d1a0c41f825c1689cf5101a75e289 /classes | |
parent | fedb12bc451f5991e6c615466e3de2967d368ec0 (diff) | |
download | openembedded-f3e05e06129c692d26fc1b330e59176ff05494ff.tar.gz |
coreutils-native: make mandatory dep for all packages
Gives us guaranteed sane GNU coreutils on any host. Should greatly ease
support for various non-GNU host systems and allow to safely remove some other
native packages like 'install-native'.
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Acked-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Koen Kooi <koen@openembedded.org>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/base.bbclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass index 611c71d1b5..e622aeec51 100644 --- a/classes/base.bbclass +++ b/classes/base.bbclass @@ -134,9 +134,11 @@ def base_dep_prepend(d): # the case where host == build == target, for now we don't work in # that case though. # - deps = "shasum-native " - if bb.data.getVar('PN', d, True) == "shasum-native": + deps = "shasum-native coreutils-native" + if bb.data.getVar('PN', d, True) == "shasum-native" or bb.data.getVar('PN', d, True) == "stagemanager-native": deps = "" + if bb.data.getVar('PN', d, True) == "coreutils-native": + deps = "shasum-native" # INHIBIT_DEFAULT_DEPS doesn't apply to the patch command. Whether or not # we need that built is the responsibility of the patch function / class, not |