Why copy this from TEMPLATECONF when they can be supplied by any layer in
your BBLAYERS?

On Wed, Sep 16, 2020 at 8:10 AM gr embeter <grembe...@gmail.com> wrote:

> Retrieve multiconfig automatically from meta-layer if it exists,
> so that it is possible to use it "out-of-the-box".
>
> Signed-off-by: Grygorii Tertychnyi <
> grygorii.tertych...@leica-geosystems.com>
> ---
>  scripts/oe-setup-builddir | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir
> index 30eaa8efbe1f..0077c13110b9 100755
> --- a/scripts/oe-setup-builddir
> +++ b/scripts/oe-setup-builddir
> @@ -65,6 +65,7 @@ if [ -n "$TEMPLATECONF" ]; then
>      OECORELAYERCONF="$TEMPLATECONF/bblayers.conf.sample"
>      OECORELOCALCONF="$TEMPLATECONF/local.conf.sample"
>      OECORENOTESCONF="$TEMPLATECONF/conf-notes.txt"
> +    OECOREMULTICONF="$TEMPLATECONF/multiconfig"
>  fi
>
>  unset SHOWYPDOC
> @@ -80,6 +81,9 @@ for more information as common configuration options
> are commented.
>
>  EOM
>      cp -f $OECORELOCALCONF "$BUILDDIR/conf/local.conf"
> +    if [ -d "$OECOREMULTICONF" ]; then
> +        cp -af -t "$BUILDDIR/conf" "$OECOREMULTICONF"
> +    fi
>      SHOWYPDOC=yes
>  fi
>
> --
> 2.25.1
>
> 
>
>

-- 
Christopher Larson
kergoth at gmail dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Senior Software Engineer, Mentor Graphics
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#142621): 
https://lists.openembedded.org/g/openembedded-core/message/142621
Mute This Topic: https://lists.openembedded.org/mt/76889431/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to