summaryrefslogtreecommitdiffstats
path: root/openwrt/target/linux/kernel.mk
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/target/linux/kernel.mk')
-rw-r--r--openwrt/target/linux/kernel.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/openwrt/target/linux/kernel.mk b/openwrt/target/linux/kernel.mk
index b1ac9473c..5406fae20 100644
--- a/openwrt/target/linux/kernel.mk
+++ b/openwrt/target/linux/kernel.mk
@@ -114,3 +114,8 @@ clean:
rm -f $(STAMP_DIR)/.linux-compile
rm -rf $(LINUX_BUILD_DIR)
rm -f $(TARGETS)
+
+package/%:
+ $(MAKE) -C $(TOPDIR)/target/linux/package \
+ $(KPKG_MAKEOPTS) \
+ $(patsubst package/%,%,$@)