From: Maxim Anisimov Date: Mon, 3 Jun 2024 15:52:49 +0000 (+0300) Subject: ramips: move zyimage creation to include/image-commands.mk X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=79db5d65ca5a19fb37e7fb428dec798f713a8632;p=openwrt%2Fstaging%2Fxback.git 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 --- 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