summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2024-02-16 12:52:20 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-02-19 11:47:53 +0000
commit01d0ee1b834ef58fbb1f6a69a81c0e9a4e2a83d9 (patch)
treee774742621088d0e2da5b387c12f5ad57ab8a704 /scripts
parentf6f50200c97f77cfeaefa2699dbbc1a6da2692c3 (diff)
downloadpoky-01d0ee1b834ef58fbb1f6a69a81c0e9a4e2a83d9.tar.gz
scripts/oe-setup-builddir: add support for configuration summaries
They are handled exactly same as conf-notes.txt. (From OE-Core rev: 6fd2eb619693da4cb918b421f3e31072b48fa85a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/oe-setup-builddir10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir
index 678aeac4be..dcb384c33a 100755
--- a/scripts/oe-setup-builddir
+++ b/scripts/oe-setup-builddir
@@ -57,6 +57,7 @@ if [ -n "$TEMPLATECONF" ]; then
57 fi 57 fi
58 OECORELAYERCONF="$TEMPLATECONF/bblayers.conf.sample" 58 OECORELAYERCONF="$TEMPLATECONF/bblayers.conf.sample"
59 OECORELOCALCONF="$TEMPLATECONF/local.conf.sample" 59 OECORELOCALCONF="$TEMPLATECONF/local.conf.sample"
60 OECORESUMMARYCONF="$TEMPLATECONF/conf-summary.txt"
60 OECORENOTESCONF="$TEMPLATECONF/conf-notes.txt" 61 OECORENOTESCONF="$TEMPLATECONF/conf-notes.txt"
61fi 62fi
62 63
@@ -98,6 +99,13 @@ EOM
98 SHOWYPDOC=yes 99 SHOWYPDOC=yes
99fi 100fi
100 101
102if [ -z "$OECORESUMMARYCONF" ]; then
103 OECORESUMMARYCONF="$OEROOT/meta/conf/templates/default/conf-summary.txt"
104fi
105if [ ! -r "$BUILDDIR/conf/conf-summary.txt" ]; then
106 [ ! -r "$OECORESUMMARYCONF" ] || cp "$OECORESUMMARYCONF" "$BUILDDIR/conf/conf-summary.txt"
107fi
108
101if [ -z "$OECORENOTESCONF" ]; then 109if [ -z "$OECORENOTESCONF" ]; then
102 OECORENOTESCONF="$OEROOT/meta/conf/templates/default/conf-notes.txt" 110 OECORENOTESCONF="$OEROOT/meta/conf/templates/default/conf-notes.txt"
103fi 111fi
@@ -108,6 +116,7 @@ fi
108# Prevent disturbing a new GIT clone in same console 116# Prevent disturbing a new GIT clone in same console
109unset OECORELOCALCONF 117unset OECORELOCALCONF
110unset OECORELAYERCONF 118unset OECORELAYERCONF
119unset OECORESUMMARYCONF
111unset OECORENOTESCONF 120unset OECORENOTESCONF
112 121
113# Ending the first-time run message. Show the YP Documentation banner. 122# Ending the first-time run message. Show the YP Documentation banner.
@@ -124,6 +133,7 @@ EOM
124# unset SHOWYPDOC 133# unset SHOWYPDOC
125fi 134fi
126 135
136[ ! -r "$BUILDDIR/conf/conf-summary.txt" ] || cat "$BUILDDIR/conf/conf-summary.txt"
127[ ! -r "$BUILDDIR/conf/conf-notes.txt" ] || cat "$BUILDDIR/conf/conf-notes.txt" 137[ ! -r "$BUILDDIR/conf/conf-notes.txt" ] || cat "$BUILDDIR/conf/conf-notes.txt"
128 138
129if [ ! -f "$BUILDDIR/conf/templateconf.cfg" ]; then 139if [ ! -f "$BUILDDIR/conf/templateconf.cfg" ]; then