linux: allow manual answers for oldconfig handling

By setting INTERACTIVE_CONFIG="yes", allow the manual configuration of
the new options available in the .config.
This commit is contained in:
Rudi Heitbaum 2023-05-29 14:02:50 +00:00
parent 557e82187e
commit 4914433ccb

View File

@ -172,7 +172,13 @@ pre_make_target() {
fi
kernel_make listnewconfig
yes "" | kernel_make oldconfig > /dev/null
if [ "${INTERACTIVE_CONFIG}" = "yes" ]; then
# manually answer .config changes
kernel_make oldconfig
else
# accept default answers for .config changes
yes "" | kernel_make oldconfig > /dev/null
fi
if [ -f "${DISTRO_DIR}/${DISTRO}/kernel_options" ]; then
while read OPTION; do