aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-04-27 00:06:47 +0000
committerEric Andersen <andersen@codepoet.org>2002-04-27 00:06:47 +0000
commitaba75460e4ca8415e9dd3b07ed3511126724dbd9 (patch)
tree59ec25b9058b3603276bb9f13c656dc67a1c6b73
parent1323c940fd651a818e133f5c13f28b708998420a (diff)
downloadbusybox-w32-aba75460e4ca8415e9dd3b07ed3511126724dbd9.tar.gz
busybox-w32-aba75460e4ca8415e9dd3b07ed3511126724dbd9.tar.bz2
busybox-w32-aba75460e4ca8415e9dd3b07ed3511126724dbd9.zip
When the .config file is missing, supply a default one
and run menuconfig
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f48fa9da3..f86ebedf7 100644
--- a/Makefile
+++ b/Makefile
@@ -159,6 +159,12 @@ $(TOPDIR)include/config.h:
159 make oldconfig; \ 159 make oldconfig; \
160 fi; 160 fi;
161 161
162$(TOPDIR).config:
163 cp $(TOPDIR)sysdeps/$(TARGET_OS)/defconfig $(TOPDIR).config
164 mkdir -p $(TOPDIR)include/config
165 $(MAKE) -C scripts/lxdialog all
166 $(BB_SHELL) scripts/Menuconfig sysdeps/$(TARGET_OS)/config.in
167
162menuconfig: 168menuconfig:
163 mkdir -p $(TOPDIR)include/config 169 mkdir -p $(TOPDIR)include/config
164 $(MAKE) -C scripts/lxdialog all 170 $(MAKE) -C scripts/lxdialog all