aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 92a49bf9e8..faeecaa488 100644
--- a/Makefile
+++ b/Makefile
@@ -86,9 +86,16 @@ target/%: .pkginfo FORCE
toolchain/%: FORCE
$(MAKE) -C toolchain $(patsubst toolchain/%,%,$@)
-world: ./scripts/config/conf FORCE
- touch .config
+.config: ./scripts/config/conf FORCE
+ @[ -f .config ] || $(MAKE) menuconfig
$< -D .config Config.in >/dev/null 2>/dev/null
+
+download: .config FORCE
+ $(MAKE) toolchain/download
+ $(MAKE) package/download
+ $(MAKE) target/download
+
+world: .config FORCE
$(MAKE) toolchain/install
$(MAKE) target/compile
$(MAKE) package/compile