summaryrefslogtreecommitdiffstats
path: root/scripts/oe-setup-builddir
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-08-31 13:11:49 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-02-16 17:11:11 +0000
commitd369a45ae7c6b82f7ae337a56a673eed5afc461b (patch)
tree0c055c9a747592b76e9d60f66387937f0676a71b /scripts/oe-setup-builddir
parent44311c454d0b0856f58cfa6fa60669903b2ba3af (diff)
downloadpoky-d369a45ae7c6b82f7ae337a56a673eed5afc461b.tar.gz
meta/conf: move default configuration templates into meta/conf/templates/default
This sets the ground for standardizing (and enforcing) the location of configuration templates: let's start with the default one. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-setup-builddir')
-rwxr-xr-xscripts/oe-setup-builddir6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir
index a13860c7d9..89ae30f609 100755
--- a/scripts/oe-setup-builddir
+++ b/scripts/oe-setup-builddir
@@ -62,7 +62,7 @@ fi
62 62
63unset SHOWYPDOC 63unset SHOWYPDOC
64if [ -z "$OECORELOCALCONF" ]; then 64if [ -z "$OECORELOCALCONF" ]; then
65 OECORELOCALCONF="$OEROOT/meta/conf/local.conf.sample" 65 OECORELOCALCONF="$OEROOT/meta/conf/templates/default/local.conf.sample"
66fi 66fi
67if [ ! -r "$BUILDDIR/conf/local.conf" ]; then 67if [ ! -r "$BUILDDIR/conf/local.conf" ]; then
68 cat <<EOM 68 cat <<EOM
@@ -77,7 +77,7 @@ EOM
77fi 77fi
78 78
79if [ -z "$OECORELAYERCONF" ]; then 79if [ -z "$OECORELAYERCONF" ]; then
80 OECORELAYERCONF="$OEROOT/meta/conf/bblayers.conf.sample" 80 OECORELAYERCONF="$OEROOT/meta/conf/templates/default/bblayers.conf.sample"
81fi 81fi
82if [ ! -r "$BUILDDIR/conf/bblayers.conf" ]; then 82if [ ! -r "$BUILDDIR/conf/bblayers.conf" ]; then
83 cat <<EOM 83 cat <<EOM
@@ -117,7 +117,7 @@ EOM
117fi 117fi
118 118
119if [ -z "$OECORENOTESCONF" ]; then 119if [ -z "$OECORENOTESCONF" ]; then
120 OECORENOTESCONF="$OEROOT/meta/conf/conf-notes.txt" 120 OECORENOTESCONF="$OEROOT/meta/conf/templates/default/conf-notes.txt"
121fi 121fi
122[ ! -r "$OECORENOTESCONF" ] || cat "$OECORENOTESCONF" 122[ ! -r "$OECORENOTESCONF" ] || cat "$OECORENOTESCONF"
123unset OECORENOTESCONF 123unset OECORENOTESCONF