mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
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>
This commit is contained in:
parent
f6f50200c9
commit
01d0ee1b83
|
@ -57,6 +57,7 @@ if [ -n "$TEMPLATECONF" ]; then
|
||||||
fi
|
fi
|
||||||
OECORELAYERCONF="$TEMPLATECONF/bblayers.conf.sample"
|
OECORELAYERCONF="$TEMPLATECONF/bblayers.conf.sample"
|
||||||
OECORELOCALCONF="$TEMPLATECONF/local.conf.sample"
|
OECORELOCALCONF="$TEMPLATECONF/local.conf.sample"
|
||||||
|
OECORESUMMARYCONF="$TEMPLATECONF/conf-summary.txt"
|
||||||
OECORENOTESCONF="$TEMPLATECONF/conf-notes.txt"
|
OECORENOTESCONF="$TEMPLATECONF/conf-notes.txt"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -98,6 +99,13 @@ EOM
|
||||||
SHOWYPDOC=yes
|
SHOWYPDOC=yes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -z "$OECORESUMMARYCONF" ]; then
|
||||||
|
OECORESUMMARYCONF="$OEROOT/meta/conf/templates/default/conf-summary.txt"
|
||||||
|
fi
|
||||||
|
if [ ! -r "$BUILDDIR/conf/conf-summary.txt" ]; then
|
||||||
|
[ ! -r "$OECORESUMMARYCONF" ] || cp "$OECORESUMMARYCONF" "$BUILDDIR/conf/conf-summary.txt"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -z "$OECORENOTESCONF" ]; then
|
if [ -z "$OECORENOTESCONF" ]; then
|
||||||
OECORENOTESCONF="$OEROOT/meta/conf/templates/default/conf-notes.txt"
|
OECORENOTESCONF="$OEROOT/meta/conf/templates/default/conf-notes.txt"
|
||||||
fi
|
fi
|
||||||
|
@ -108,6 +116,7 @@ fi
|
||||||
# Prevent disturbing a new GIT clone in same console
|
# Prevent disturbing a new GIT clone in same console
|
||||||
unset OECORELOCALCONF
|
unset OECORELOCALCONF
|
||||||
unset OECORELAYERCONF
|
unset OECORELAYERCONF
|
||||||
|
unset OECORESUMMARYCONF
|
||||||
unset OECORENOTESCONF
|
unset OECORENOTESCONF
|
||||||
|
|
||||||
# Ending the first-time run message. Show the YP Documentation banner.
|
# Ending the first-time run message. Show the YP Documentation banner.
|
||||||
|
@ -124,6 +133,7 @@ EOM
|
||||||
# unset SHOWYPDOC
|
# unset SHOWYPDOC
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
[ ! -r "$BUILDDIR/conf/conf-summary.txt" ] || cat "$BUILDDIR/conf/conf-summary.txt"
|
||||||
[ ! -r "$BUILDDIR/conf/conf-notes.txt" ] || cat "$BUILDDIR/conf/conf-notes.txt"
|
[ ! -r "$BUILDDIR/conf/conf-notes.txt" ] || cat "$BUILDDIR/conf/conf-notes.txt"
|
||||||
|
|
||||||
if [ ! -f "$BUILDDIR/conf/templateconf.cfg" ]; then
|
if [ ! -f "$BUILDDIR/conf/templateconf.cfg" ]; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user