From aba75460e4ca8415e9dd3b07ed3511126724dbd9 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 27 Apr 2002 00:06:47 +0000 Subject: [PATCH] When the .config file is missing, supply a default one and run menuconfig --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.25.1