ramips: move zyimage define to common Makefile
[openwrt/staging/yousong.git] / target / linux / ramips / image / Makefile
index cd77ffe411913c7aeac651290f8d87ae8e152558..753e287d737593b9dce820e054680d8db6615cdc 100644 (file)
@@ -147,6 +147,10 @@ define Build/mkdlinkfw-factory
        mv $@.new $@
 endef
 
+define Build/zyimage
+       $(STAGING_DIR_HOST)/bin/zyimage $(1) $@
+endef
+
 #
 # The real magic happens inside these templates
 #