Move it to image-commands.mk to get rid of duplicate recipes.
Signed-off-by: Mathias Kresin <[email protected]>
endef
+define Build/seama
+ $(STAGING_DIR_HOST)/bin/seama -i $@ \
+ -m "dev=/dev/mtdblock/$(SEAMA_MTDBLOCK)" -m "type=firmware"
+endef
+
+define Build/seama-seal
+ -m "signature=$(SEAMA_SIGNATURE)"
+endef
+
define Build/zyxel-ras-image
let \
newsize="$(subst k,* 1024,$(RAS_ROOTFS_SIZE))"; \
endef
-define Build/seama
- $(STAGING_DIR_HOST)/bin/seama -i $@ \
- -m "dev=/dev/mtdblock/$(SEAMA_MTDBLOCK)" -m "type=firmware"
-endef
-
-define Build/seama-seal
- -m "signature=$(SEAMA_SIGNATURE)"
-endef
-
define Build/teltonika-fw-fake-checksum
# Teltonika U-Boot web based firmware upgrade/recovery routine compares
# 16 bytes from md5sum1[16] field in TP-Link v1 header (offset: 76 bytes
endef
-define Build/seama
- $(STAGING_DIR_HOST)/bin/seama -i $@ \
- -m "dev=/dev/mtdblock/$(SEAMA_MTDBLOCK)" -m "type=firmware"
-endef
-
-define Build/seama-seal
- -m "signature=$(SEAMA_SIGNATURE)"
-endef
-
define Build/wrg-header