From: Felix Fietkau Date: Sun, 5 Jun 2005 14:05:22 +0000 (+0000) Subject: add target package/target_name to the master makefile, which will run $(MAKE) -C... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=de60731de355c3d585677f4f5256597655667379;p=openwrt%2Fstaging%2Fadrian.git add target package/target_name to the master makefile, which will run $(MAKE) -C package target_name. same for target/ and toolchain/ SVN-Revision: 1147 --- diff --git a/openwrt/Makefile b/openwrt/Makefile index e935295e6c..1b8d968a09 100644 --- a/openwrt/Makefile +++ b/openwrt/Makefile @@ -74,7 +74,6 @@ package_install: package_compile toolchain # ############################################################# - # In this section, we need .config include .config.cmd @@ -108,6 +107,16 @@ $(BUILD_DIR): source: $(TARGETS_SOURCE) + +package/%: + $(MAKE) -C package $(patsubst package/%,%,$@) + +target/%: + $(MAKE) -C target $(patsubst target/%,%,$@) + +toolchain/%: + $(MAKE) -C toolchain $(patsubst toolchain/%,%,$@) + ############################################################# # # Cleanup and misc junk