aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-06-20 23:57:10 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-06-20 23:57:10 +0000
commit71068dead931b6d63e12715290076c02c8e68382 (patch)
tree451dcd946e83742db7d0b4cb6d628cdef9b93ac2 /Makefile
parent00ea655b03ee6aaeebd4a4cd952dad7ad2252e75 (diff)
downloadmaster-187ad058-71068dead931b6d63e12715290076c02c8e68382.tar.gz
master-187ad058-71068dead931b6d63e12715290076c02c8e68382.tar.bz2
master-187ad058-71068dead931b6d63e12715290076c02c8e68382.zip
add global make download target
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4031 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'Makefile')
-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