aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2024-04-08 05:53:56 -0500
committerRob Landley <rob@landley.net>2024-04-08 05:53:56 -0500
commitbd1b098251ef095852915456a7315ce8cfa0a39c (patch)
tree9ef1df7740a3bf75607d05f7eb9360b0c222e3e7
parent9c0e6eff9cedd658d7b9690e8068671669934646 (diff)
downloadtoybox-bd1b098251ef095852915456a7315ce8cfa0a39c.tar.gz
Stop forcing CONFIG_EXPERT on to disable other symbols.
They mostly moved out of that menu so "allnoconfig" hits them now.
-rwxr-xr-xmkroot/mkroot.sh7
1 files changed, 0 insertions, 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