+package/%: .pkginfo FORCE
+ $(MAKE) -C package $(patsubst package/%,%,$@)
+
+target/%: .pkginfo FORCE
+ $(MAKE) -C target $(patsubst target/%,%,$@)
+
+toolchain/%: FORCE
+ $(MAKE) -C toolchain $(patsubst toolchain/%,%,$@)
+
+world: FORCE
+ $(MAKE) toolchain/install
+ $(MAKE) target/compile
+ $(MAKE) package/compile
+ $(MAKE) package/install
+ $(MAKE) target/install
+
+clean: FORCE
+ rm -rf build_* bin
+
+dirclean: clean FORCE
+ rm -rf staging_dir_* toolchain_build_*
+
+distclean: dirclean FORCE
+ rm -rf .* dl
+