diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2024-02-16 12:52:20 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-19 11:47:53 +0000 |
| commit | 01d0ee1b834ef58fbb1f6a69a81c0e9a4e2a83d9 (patch) | |
| tree | e774742621088d0e2da5b387c12f5ad57ab8a704 /scripts | |
| parent | f6f50200c97f77cfeaefa2699dbbc1a6da2692c3 (diff) | |
| download | poky-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-x | scripts/oe-setup-builddir | 10 |
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" |
| 61 | fi | 62 | fi |
| 62 | 63 | ||
| @@ -98,6 +99,13 @@ EOM | |||
| 98 | SHOWYPDOC=yes | 99 | SHOWYPDOC=yes |
| 99 | fi | 100 | fi |
| 100 | 101 | ||
| 102 | if [ -z "$OECORESUMMARYCONF" ]; then | ||
| 103 | OECORESUMMARYCONF="$OEROOT/meta/conf/templates/default/conf-summary.txt" | ||
| 104 | fi | ||
| 105 | if [ ! -r "$BUILDDIR/conf/conf-summary.txt" ]; then | ||
| 106 | [ ! -r "$OECORESUMMARYCONF" ] || cp "$OECORESUMMARYCONF" "$BUILDDIR/conf/conf-summary.txt" | ||
| 107 | fi | ||
| 108 | |||
| 101 | if [ -z "$OECORENOTESCONF" ]; then | 109 | if [ -z "$OECORENOTESCONF" ]; then |
| 102 | OECORENOTESCONF="$OEROOT/meta/conf/templates/default/conf-notes.txt" | 110 | OECORENOTESCONF="$OEROOT/meta/conf/templates/default/conf-notes.txt" |
| 103 | fi | 111 | fi |
| @@ -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 |
| 109 | unset OECORELOCALCONF | 117 | unset OECORELOCALCONF |
| 110 | unset OECORELAYERCONF | 118 | unset OECORELAYERCONF |
| 119 | unset OECORESUMMARYCONF | ||
| 111 | unset OECORENOTESCONF | 120 | unset 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 |
| 125 | fi | 134 | fi |
| 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 | ||
| 129 | if [ ! -f "$BUILDDIR/conf/templateconf.cfg" ]; then | 139 | if [ ! -f "$BUILDDIR/conf/templateconf.cfg" ]; then |
