move jffs2 end-of-filesystem detection to the generic 2.6 patches
[openwrt.git] / Makefile
index dae3283..faeecaa 100644 (file)
--- 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
@@ -98,10 +105,10 @@ world: ./scripts/config/conf FORCE
 clean: FORCE
        rm -rf build_* bin
 
-dirclean: clean FORCE
+dirclean: clean
        rm -rf staging_dir_* toolchain_build_*
 
-distclean: dirclean FORCE
+distclean: dirclean config-clean
        rm -rf dl .*config* .pkg*
 
 .PHONY: FORCE
This page took 0.02117 seconds and 4 git commands to generate.