summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openwrt/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/openwrt/Makefile b/openwrt/Makefile
index e935295..1b8d968 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