[oe] [PATCH 2/4] autotools: shift deps into AUTOTOOLS_DEPENDS

Khem Raj raj.khem at gmail.com
Wed Feb 16 22:20:35 UTC 2011


On (16/02/11 15:07), Chris Larson wrote:
> From: Chris Larson <chris_larson at mentor.com>
> 
> Signed-off-by: Chris Larson <chris_larson at mentor.com>

Acked-by: Khem Raj <raj.khem at gmail.com>
> ---
>  classes/autotools.bbclass |   10 ++++++----
>  1 files changed, 6 insertions(+), 4 deletions(-)
> 
> diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass
> index 60925e9..3c124ae 100644
> --- a/classes/autotools.bbclass
> +++ b/classes/autotools.bbclass
> @@ -21,11 +21,13 @@ def autotools_deps(d):
>              not d.getVar('INHIBIT_DEFAULT_DEPS', True)):
>              deps += 'libtool-cross '
>  
> -    return deps + 'gnu-config-native '
> +    return deps + ' gnu-config-native'
>  
> -DEPENDS_prepend = "${@autotools_deps(d)}"
> -DEPENDS_virtclass-native_prepend = "${@autotools_deps(d)}"
> -DEPENDS_virtclass-nativesdk_prepend = "${@autotools_deps(d)}"
> +AUTOTOOLS_DEPENDS = "${@autotools_deps(d)}"
> +
> +DEPENDS_prepend = "${AUTOTOOLS_DEPENDS} "
> +DEPENDS_virtclass-native_prepend = "${AUTOTOOLS_DEPENDS} "
> +DEPENDS_virtclass-nativesdk_prepend = "${AUTOTOOLS_DEPENDS} "
>  
>  autotools_do_configure () {
>      autotools_do_bootstrap
> -- 
> 1.7.2.3
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
-Khem




More information about the Openembedded-devel mailing list