2
0
Эх сурвалжийг харах

ramips: move zyimage creation to include/image-commands.mk

This is required for upcoming Keenetic KN-3911 support

Signed-off-by: Maxim Anisimov <[email protected]>
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 <[email protected]>
Maxim Anisimov 1 жил өмнө
parent
commit
d93b6a2bc2

+ 4 - 0
include/image-commands.mk

@@ -732,6 +732,10 @@ define Build/zip
 	rm -rf [email protected]
 endef
 
+define Build/zyimage
+	$(STAGING_DIR_HOST)/bin/zyimage $(1) $@
+endef
+
 define Build/zyxel-ras-image
 	let \
 		newsize="$(call exp_units,$(RAS_ROOTFS_SIZE))"; \

+ 0 - 4
target/linux/ramips/image/Makefile

@@ -167,10 +167,6 @@ define Build/wrg-header
 	mv [email protected] $@
 endef
 
-define Build/zyimage
-	$(STAGING_DIR_HOST)/bin/zyimage $(1) $@
-endef
-
 define Device/Default
   PROFILES = Default
   BLOCKSIZE := 64k