summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxim Anisimov2024-06-03 15:52:49 +0000
committerHauke Mehrtens2024-11-28 21:33:21 +0000
commit79db5d65ca5a19fb37e7fb428dec798f713a8632 (patch)
tree5d428ff831494ccfede2b4e6a6f0edb020ebe4cf
parent30ae0b3f1e331646054d8110e931dfaa32f7b414 (diff)
downloadopenwrt-79db5d65ca5a19fb37e7fb428dec798f713a8632.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 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--include/image-commands.mk4
-rw-r--r--target/linux/ramips/image/Makefile4
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