summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/Makefile
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-01-31 21:55:38 +0000
committerMike Baker <mbm@openwrt.org>2006-01-31 21:55:38 +0000
commit5a2107ed8a8eb20f3b4bac0539f7a19fad7144b7 (patch)
tree7776e4c451dc34ebb5bf2d64745bec12fc2cc023 /openwrt/target/linux/Makefile
parent752413e7f0ff73c22b2c828ffa9767be7e8f2df1 (diff)
downloadmtk-20170518-5a2107ed8a8eb20f3b4bac0539f7a19fad7144b7.zip
mtk-20170518-5a2107ed8a8eb20f3b4bac0539f7a19fad7144b7.tar.gz
mtk-20170518-5a2107ed8a8eb20f3b4bac0539f7a19fad7144b7.tar.bz2
fix "make target/linux/package/*-*" targets
SVN-Revision: 3103
Diffstat (limited to 'openwrt/target/linux/Makefile')
-rw-r--r--openwrt/target/linux/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/openwrt/target/linux/Makefile b/openwrt/target/linux/Makefile
index 2fff3b3..626587b 100644
--- a/openwrt/target/linux/Makefile
+++ b/openwrt/target/linux/Makefile
@@ -45,6 +45,8 @@ compile: $(1)/$(2)-compile
rebuild: $(1)/$(2)-rebuild
$(BIN_DIR)/$(IB_NAME).tar.bz2 install: $(1)/$(2)-image
install-ib: $(1)/$(2)-install-ib
+package/%:
+ $(MAKE) -C $(2)-$(1) BOARD="$(2)" $$@
endif
.PHONY: $(1)/$(2)-clean $(1)/$(2)-prepare $(1)/$(2)-compile $(1)/$(2)-rebuild $(1)/$(2)-install $(1)/$(2)-image $(1)/$(2)-install-ib