From 9e2c28472c3f3a76e16afb582fd8807d08c6dda6 Mon Sep 17 00:00:00 2001 From: Maxim Anisimov Date: Thu, 28 Jun 2018 08:26:39 +0300 Subject: ramips: move zyimage define to common Makefile Signed-off-by: Maxim Anisimov --- target/linux/ramips/image/Makefile | 4 ++++ target/linux/ramips/image/mt7620.mk | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'target/linux') 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 -- cgit v1.2.3