Fix "rm .config;make menuconfig" to work like "rm .config; make" (I.E. do defconfig first), and group busybox administrative settings into a sub-menu.
This commit was genuinely broken at the time (not related to our build system): scripts/config/mkconfigs.c (2005-08-01 - 2006-10-05 arasi) uretilen bbconfigopts.h icine .config satirlarini kacissiz, ham newline'larla gömüyordu - gecerli C degildi, busybox'un kendi bb_mkdep araci bile parse edemiyordu (7d219aab7 ile duzeltildi, mkconfigs shell scripte cevrildi)
No binary (build failed)
—
(log yok)
| @@ -9,7 +9,7 @@ config HAVE_DOT_CONFIG | |
| bool | |
| default y | |
| - | comment "Busybox Settings" |
| + | menu "Busybox Settings" |
| menu "General Configuration" | |
| @@ -384,6 +384,8 @@ endmenu | |
| source libbb/Config.in | |
| + | endmenu |
| + | |
| comment "Applets" | |
| source archival/Config.in | |
| @@ -162,7 +162,7 @@ help: | |
| ifneq ($(strip $(HAVE_DOT_CONFIG)),y) | |
| # Default target if none was requested explicitly | |
| - | all: defconfig menuconfig ; |
| + | all: menuconfig ; |
| ifneq ($(filter-out $(noconfig_targets),$(MAKECMDGOALS)),) | |
| # warn if no configuration exists and we are asked to build a non-config target | |
| @@ -191,6 +191,7 @@ scripts/config/mconf: scripts/config/Makefile | |
| $(Q)$(MAKE) -C scripts/config ncurses conf mconf | |
| menuconfig: scripts/config/mconf | |
| + | @[ -f .config ] || make $(MAKEFLAGS) defconfig |
| @./scripts/config/mconf $(CONFIG_CONFIG_IN) | |
| config: scripts/config/conf | |