Rewrite config before the menuconfig and co prompt using olddefconfig. This offers an up to date set of default options before optional further customization.
This commit is contained in:
parent
89cd81e726
commit
63f0a1ea79
@ -1334,6 +1334,10 @@ CONFIG_DEBUG_INFO_BTF_MODULES=y\n
|
||||
_menuconfig="Void"
|
||||
fi
|
||||
|
||||
# rewrite configuration
|
||||
msg2 "Setting config"
|
||||
make olddefconfig ${llvm_opt} >> "$_where"/prepare.log
|
||||
|
||||
# menuconfig / nconfig
|
||||
if [ -z "$_menunconfig" ] && [ "$_distro" != "Void" ]; then
|
||||
plain ""
|
||||
@ -1353,9 +1357,6 @@ CONFIG_DEBUG_INFO_BTF_MODULES=y\n
|
||||
elif [ 3 = "$_menunconfig" ]; then
|
||||
cp .config .config.orig
|
||||
make xconfig ${llvm_opt}
|
||||
else
|
||||
# rewrite configuration
|
||||
yes "" | make config ${llvm_opt} >/dev/null
|
||||
fi
|
||||
if [ 1 = "$_menunconfig" ] || [ 2 = "$_menunconfig" ] || [ 3 = "$_menunconfig" ]; then
|
||||
if [ -z "${_diffconfig}" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user