diff --git a/linux-tkg-config/prepare b/linux-tkg-config/prepare index 28193ec..5b7e13a 100644 --- a/linux-tkg-config/prepare +++ b/linux-tkg-config/prepare @@ -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