[oe] [RFC] base.bbclass: add make-native to default dependencies

Khem Raj raj.khem at gmail.com
Mon Sep 20 20:24:33 UTC 2010


On Mon, Sep 20, 2010 at 11:47 AM, Michael Smith <msmith at cbnco.com> wrote:
> In case the build system is running some ancient make, we can just as easily
> build our own make (3.82) to get predictable behaviour. Does something like
> this make sense?

although it does but make 3.82 is not usable out of box yet.
so people might find surprises. 3.81 would be ok.

>
> diff --git a/classes/base.bbclass b/classes/base.bbclass
> index b19eb32..5c6d41d 100644
> --- a/classes/base.bbclass
> +++ b/classes/base.bbclass
> @@ -71,7 +71,7 @@ def base_deps(d):
>        if not bb.data.getVar('INHIBIT_DEFAULT_DEPS', d):
>                if (bb.data.getVar('HOST_SYS', d, 1) !=
>                    bb.data.getVar('BUILD_SYS', d, 1)):
> -                       deps += " virtual/${TARGET_PREFIX}gcc virtual/libc "
> +                       deps += " make-native virtual/${TARGET_PREFIX}gcc
> virtual/libc "
>                elif bb.data.inherits_class('native', d) and \
>                                bb.data.getVar('PN', d, True) not in \
>                                ("linux-libc-headers-native", "quilt-native",
>
> _______________________________________________
> 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