diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-03-13 02:52:23 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-03-13 02:52:23 +0000 |
commit | 5f057269f2699d6b9b3a8bfe68f27812a0329c87 (patch) | |
tree | 4126a1c4c4c5297909f1f15c2b2c6c53b8b02ccf /Makefile | |
parent | ef71ba52951d887442d373567824c0df2210b1ad (diff) | |
download | busybox-w32-5f057269f2699d6b9b3a8bfe68f27812a0329c87.tar.gz busybox-w32-5f057269f2699d6b9b3a8bfe68f27812a0329c87.tar.bz2 busybox-w32-5f057269f2699d6b9b3a8bfe68f27812a0329c87.zip |
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.
git-svn-id: svn://busybox.net/trunk/busybox@14527 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -162,7 +162,7 @@ help: | |||
162 | 162 | ||
163 | ifneq ($(strip $(HAVE_DOT_CONFIG)),y) | 163 | ifneq ($(strip $(HAVE_DOT_CONFIG)),y) |
164 | # Default target if none was requested explicitly | 164 | # Default target if none was requested explicitly |
165 | all: defconfig menuconfig ; | 165 | all: menuconfig ; |
166 | 166 | ||
167 | ifneq ($(filter-out $(noconfig_targets),$(MAKECMDGOALS)),) | 167 | ifneq ($(filter-out $(noconfig_targets),$(MAKECMDGOALS)),) |
168 | # warn if no configuration exists and we are asked to build a non-config target | 168 | # 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 | |||
191 | $(Q)$(MAKE) -C scripts/config ncurses conf mconf | 191 | $(Q)$(MAKE) -C scripts/config ncurses conf mconf |
192 | 192 | ||
193 | menuconfig: scripts/config/mconf | 193 | menuconfig: scripts/config/mconf |
194 | @[ -f .config ] || make $(MAKEFLAGS) defconfig | ||
194 | @./scripts/config/mconf $(CONFIG_CONFIG_IN) | 195 | @./scripts/config/mconf $(CONFIG_CONFIG_IN) |
195 | 196 | ||
196 | config: scripts/config/conf | 197 | config: scripts/config/conf |