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 79db5d65ca)
Link: https://github.com/openwrt/openwrt/pull/18055
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
committed by
Hauke Mehrtens
parent
3abbc15454
commit
d93b6a2bc2
@@ -732,6 +732,10 @@ define Build/zip
|
|||||||
rm -rf $@.tmp
|
rm -rf $@.tmp
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Build/zyimage
|
||||||
|
$(STAGING_DIR_HOST)/bin/zyimage $(1) $@
|
||||||
|
endef
|
||||||
|
|
||||||
define Build/zyxel-ras-image
|
define Build/zyxel-ras-image
|
||||||
let \
|
let \
|
||||||
newsize="$(call exp_units,$(RAS_ROOTFS_SIZE))"; \
|
newsize="$(call exp_units,$(RAS_ROOTFS_SIZE))"; \
|
||||||
|
|||||||
@@ -167,10 +167,6 @@ define Build/wrg-header
|
|||||||
mv $@.new $@
|
mv $@.new $@
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/zyimage
|
|
||||||
$(STAGING_DIR_HOST)/bin/zyimage $(1) $@
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Device/Default
|
define Device/Default
|
||||||
PROFILES = Default
|
PROFILES = Default
|
||||||
BLOCKSIZE := 64k
|
BLOCKSIZE := 64k
|
||||||
|
|||||||
Reference in New Issue
Block a user