All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] oe-setup-builddir: create conf/multiconfig/ from TEMPLATECONF
@ 2020-09-16 15:10 gr embeter
  2020-09-16 15:30 ` [OE-core] " Christopher Larson
  0 siblings, 1 reply; 6+ messages in thread
From: gr embeter @ 2020-09-16 15:10 UTC (permalink / raw)
  To: OE-core

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.tertychnyi@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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-09-17 20:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-16 15:10 [PATCH] oe-setup-builddir: create conf/multiconfig/ from TEMPLATECONF gr embeter
2020-09-16 15:30 ` [OE-core] " Christopher Larson
2020-09-16 17:08   ` gr embeter
2020-09-16 22:42     ` Mark Hatle
2020-09-17  6:39       ` gr embeter
2020-09-17 20:28         ` Mark Hatle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.