allow building of kernel-specific stuff in package/ instead of target/linux/package...
[openwrt.git] / Makefile
index 8a2e6bb..b1bcf91 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,7 @@ endif
 endif
 export OPENWRTVERSION
 
-all:
+all: world
 
 .pkginfo: FORCE
 ifneq ($(shell ./scripts/timestamp.pl -p .pkginfo package Makefile),.pkginfo)
@@ -70,14 +70,21 @@ config: scripts/config/conf
 config-clean:
        $(MAKE) -C scripts/config clean
 
-package/%:
+package/%: .pkginfo
        $(MAKE) -C package $(patsubst package/%,%,$@)
 
-target/%:
+target/%: .pkginfo
        $(MAKE) -C target $(patsubst target/%,%,$@)
 
 toolchain/%:
        $(MAKE) -C toolchain $(patsubst toolchain/%,%,$@)
 
+world:
+       $(MAKE) toolchain/install
+       $(MAKE) target/compile
+       $(MAKE) package/compile
+       $(MAKE) package/install
+       $(MAKE) target/install
+
 .PHONY: FORCE
 FORCE:
This page took 0.024357 seconds and 4 git commands to generate.