diff options
| author | Maxim Anisimov | 2024-06-03 15:52:49 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2025-02-26 22:32:40 +0000 |
| commit | d93b6a2bc23fe3842d2292326dbec5ff91c70259 (patch) | |
| tree | 976a618e84936116e805908443d841d1968cebf4 | |
| parent | 3abbc154546042af5efe6d299e3e40133dfb3d7f (diff) | |
| download | openwrt-d93b6a2bc23fe3842d2292326dbec5ff91c70259.tar.gz | |
ramips: move zyimage creation to include/image-commands.mk
This is required for upcoming Keenetic KN-3911 support
Signed-off-by: Maxim Anisimov <maxim.anisimov.ua@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16830
(cherry picked from commit 79db5d65ca5a19fb37e7fb428dec798f713a8632)
Link: https://github.com/openwrt/openwrt/pull/18055
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
| -rw-r--r-- | include/image-commands.mk | 4 | ||||
| -rw-r--r-- | 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 |