From bd1b098251ef095852915456a7315ce8cfa0a39c Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 8 Apr 2024 05:53:56 -0500 Subject: [PATCH] Stop forcing CONFIG_EXPERT on to disable other symbols. They mostly moved out of that menu so "allnoconfig" hits them now. --- mkroot/mkroot.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/mkroot/mkroot.sh b/mkroot/mkroot.sh index 604d5c98..09ef14ea 100755 --- a/mkroot/mkroot.sh +++ b/mkroot/mkroot.sh @@ -350,13 +350,6 @@ else # Expand miniconfig to full .config make ARCH=$KARCH allnoconfig KCONFIG_ALLCONFIG="$OUTDOC/linux-miniconfig" && - - # Second config pass to remove stupid kernel defaults - # See http://lkml.iu.edu/hypermail/linux/kernel/1912.3/03493.html - sed -e 's/# CONFIG_EXPERT .*/CONFIG_EXPERT=y/' -e "$(sed -E -e '/^$/d' \ - -e 's@([^,]*)($|,)@/^CONFIG_\1=y/d;$a# CONFIG_\1 is not set\n@g' \ - <<< VT,SCHED_DEBUG,DEBUG_MISC,X86_DEBUG_FPU)" -i .config && - yes "" | make ARCH=$KARCH oldconfig > /dev/null && cp .config "$OUTDOC/linux-fullconfig" && # Build kernel. Copy config, device tree binary, and kernel binary to output -- 2.39.2