From: Felix Fietkau Date: Tue, 20 Jun 2006 23:57:10 +0000 (+0000) Subject: add global make download target X-Git-Tag: reboot~30718^2~508 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=99bc02a12be0b7725b2917e2b25c25e446f67717;p=openwrt%2Fstaging%2Fxback.git add global make download target SVN-Revision: 4031 --- diff --git a/openwrt/Makefile b/openwrt/Makefile index 92a49bf9e8..faeecaa488 100644 --- a/openwrt/Makefile +++ b/openwrt/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