diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-04-27 00:06:47 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-04-27 00:06:47 +0000 |
commit | 66db395620f58d80ff1d4a76b133c8432a5f9cd1 (patch) | |
tree | 59ec25b9058b3603276bb9f13c656dc67a1c6b73 | |
parent | 6cecc367cb5fd414095f80cdf97b0ade54afe88b (diff) | |
download | busybox-w32-66db395620f58d80ff1d4a76b133c8432a5f9cd1.tar.gz busybox-w32-66db395620f58d80ff1d4a76b133c8432a5f9cd1.tar.bz2 busybox-w32-66db395620f58d80ff1d4a76b133c8432a5f9cd1.zip |
When the .config file is missing, supply a default one
and run menuconfig
git-svn-id: svn://busybox.net/trunk/busybox@4680 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 | |||
162 | menuconfig: | 168 | menuconfig: |
163 | mkdir -p $(TOPDIR)include/config | 169 | mkdir -p $(TOPDIR)include/config |
164 | $(MAKE) -C scripts/lxdialog all | 170 | $(MAKE) -C scripts/lxdialog all |