From: Maxim Anisimov Date: Thu, 28 Jun 2018 05:26:39 +0000 (+0300) Subject: ramips: move zyimage define to common Makefile X-Git-Tag: v19.07.0-rc1~3262 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9e2c28472c3f3a76e16afb582fd8807d08c6dda6;p=oweals%2Fopenwrt.git ramips: move zyimage define to common Makefile Signed-off-by: Maxim Anisimov --- diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index cd77ffe411..753e287d73 100644 --- a/target/linux/ramips/image/Makefile +++ b/target/linux/ramips/image/Makefile @@ -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 # diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk index 325e3104a7..736741a4ba 100644 --- a/target/linux/ramips/image/mt7620.mk +++ b/target/linux/ramips/image/mt7620.mk @@ -16,10 +16,6 @@ define Build/elecom-header -f $@ -C $(KDIR) v_0.0.0.bin v_0.0.0.md5 endef -define Build/zyimage - $(STAGING_DIR_HOST)/bin/zyimage $(1) $@ -endef - define Device/ai-br100 DTS := AI-BR100 IMAGE_SIZE := 7936k