aboutsummaryrefslogtreecommitdiff
path: root/Makefile
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 /Makefile
parent1323c940fd651a818e133f5c13f28b708998420a (diff)
downloadbusybox-aba75460e4ca8415e9dd3b07ed3511126724dbd9.tar.gz
When the .config file is missing, supply a default one
and run menuconfig
Diffstat (limited to 'Makefile')
-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:
make oldconfig; \
fi;
+$(TOPDIR).config:
+ cp $(TOPDIR)sysdeps/$(TARGET_OS)/defconfig $(TOPDIR).config
+ mkdir -p $(TOPDIR)include/config
+ $(MAKE) -C scripts/lxdialog all
+ $(BB_SHELL) scripts/Menuconfig sysdeps/$(TARGET_OS)/config.in
+
menuconfig:
mkdir -p $(TOPDIR)include/config
$(MAKE) -C scripts/lxdialog all