When the .config file is missing, supply a default one
authorEric Andersen <andersen@codepoet.org>
Sat, 27 Apr 2002 00:06:47 +0000 (00:06 -0000)
committerEric Andersen <andersen@codepoet.org>
Sat, 27 Apr 2002 00:06:47 +0000 (00:06 -0000)
and run menuconfig

Makefile

index f48fa9da3a259306b4715871258d34eb078b8296..f86ebedf7954c229cbcfef055e2d3c3130757066 100644 (file)
--- 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