Don't allow environment-set options to bleed into src.conf.5 generation.
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
fdf068bc5e
commit
3dfad7c764
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=290435
@ -33,7 +33,7 @@ show_options()
|
|||||||
ALL_TARGETS=$(echo $(${make} targets | tail -n +2))
|
ALL_TARGETS=$(echo $(${make} targets | tail -n +2))
|
||||||
rm -f $t/settings
|
rm -f $t/settings
|
||||||
for target in ${ALL_TARGETS} ; do
|
for target in ${ALL_TARGETS} ; do
|
||||||
${make} showconfig \
|
env -i ${make} showconfig \
|
||||||
SRC_ENV_CONF=/dev/null SRCCONF=/dev/null \
|
SRC_ENV_CONF=/dev/null SRCCONF=/dev/null \
|
||||||
__MAKE_CONF=/dev/null \
|
__MAKE_CONF=/dev/null \
|
||||||
TARGET_ARCH=${target#*/} TARGET=${target%/*} |
|
TARGET_ARCH=${target#*/} TARGET=${target%/*} |
|
||||||
@ -97,7 +97,7 @@ show()
|
|||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
${make} .MAKE.MODE=normal "$@" showconfig __MAKE_CONF=/dev/null \
|
env -i ${make} .MAKE.MODE=normal "$@" showconfig __MAKE_CONF=/dev/null \
|
||||||
SRCCONF=/dev/null |
|
SRCCONF=/dev/null |
|
||||||
while read var _ val ; do
|
while read var _ val ; do
|
||||||
opt=${var#MK_}
|
opt=${var#MK_}
|
||||||
|
Loading…
Reference in New Issue
Block a user