From: Eric Andersen Date: Sat, 27 Apr 2002 00:06:47 +0000 (-0000) Subject: When the .config file is missing, supply a default one X-Git-Tag: 0_60_3~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=aba75460e4ca8415e9dd3b07ed3511126724dbd9;p=oweals%2Fbusybox.git When the .config file is missing, supply a default one and run menuconfig --- 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