[oe] [STABLE][PATCH 3/6] coreutils-native: make mandatory dep for all packages

Denys Dmytriyenko denis at denix.org
Sat Oct 31 07:54:17 UTC 2009


On Wed, Oct 28, 2009 at 11:45:55AM +0100, Marcin Juszkiewicz wrote:
> From: Roman I Khimov <khimov at altell.ru>
> 
> 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 at ossystems.com.br>
> Signed-off-by: Marcin Juszkiewicz <marcin at juszkiewicz.com.pl>

Acked-by: Denys Dmytriyenko <denis at denix.org>

> ---
>  classes/base.bbclass |    6 ++++--
>  1 files changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/classes/base.bbclass b/classes/base.bbclass
> index 611c71d..e622aee 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
> -- 
> 1.6.5
> 
> 
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




More information about the Openembedded-devel mailing list