ramips: move zyimage creation to include/image-commands.mk
authorMaxim Anisimov <maxim.anisimov.ua@gmail.com>
Mon, 3 Jun 2024 15:52:49 +0000 (18:52 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 28 Nov 2024 21:33:21 +0000 (22:33 +0100)
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>
include/image-commands.mk
target/linux/ramips/image/Makefile

index 2568fb3ade5f3d65bc478d87be2edac6db981f5f..a627ffc202cc0aabd2ee40a40b583fb303a6797d 100644 (file)
@@ -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))"; \
index 569717694345c4c76fb1641a8fd154a79d120540..53b9c314ef65ecf966dadd8654c5b69d3192fd63 100644 (file)
@@ -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