From 4914433ccbd0c25273bbd3f512301f603bbbfbb5 Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Mon, 29 May 2023 14:02:50 +0000 Subject: [PATCH] linux: allow manual answers for oldconfig handling By setting INTERACTIVE_CONFIG="yes", allow the manual configuration of the new options available in the .config. --- packages/linux/package.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/linux/package.mk b/packages/linux/package.mk index 7e363cf85b..2194c75798 100644 --- a/packages/linux/package.mk +++ b/packages/linux/package.mk @@ -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