When the .config file is missing, supply a default one

and run menuconfig
This commit is contained in:
Eric Andersen 2002-04-27 00:06:47 +00:00
parent 1323c940fd
commit aba75460e4

View File

@ -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