From 79db5d65ca5a19fb37e7fb428dec798f713a8632 Mon Sep 17 00:00:00 2001 From: Maxim Anisimov Date: Mon, 3 Jun 2024 18:52:49 +0300 Subject: [PATCH] ramips: move zyimage creation to include/image-commands.mk This is required for upcoming Keenetic KN-3911 support Signed-off-by: Maxim Anisimov Link: https://github.com/openwrt/openwrt/pull/16830 Signed-off-by: Hauke Mehrtens --- include/image-commands.mk | 4 ++++ target/linux/ramips/image/Makefile | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/image-commands.mk b/include/image-commands.mk index 2568fb3ade..a627ffc202 100644 --- a/include/image-commands.mk +++ b/include/image-commands.mk @@ -732,6 +732,10 @@ define Build/zip rm -rf $@.tmp endef +define Build/zyimage + $(STAGING_DIR_HOST)/bin/zyimage $(1) $@ +endef + define Build/zyxel-ras-image let \ newsize="$(call exp_units,$(RAS_ROOTFS_SIZE))"; \ diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index 5697176943..53b9c314ef 100644 --- a/target/linux/ramips/image/Makefile +++ b/target/linux/ramips/image/Makefile @@ -167,10 +167,6 @@ define Build/wrg-header mv $@.new $@ endef -define Build/zyimage - $(STAGING_DIR_HOST)/bin/zyimage $(1) $@ -endef - define Device/Default PROFILES = Default BLOCKSIZE := 64k -- 2.30.2