Add build recipe for creating images using the sks7300-img tool that was
recently added to firmware-utils.
Signed-off-by: Andreas Böhler <dev@aboehler.at>
Link: https://github.com/openwrt/openwrt/pull/23305
Signed-off-by: Robert Marko <robimarko@gmail.com>
mv $@.new $@
endef
+define Build/xikestor-sks7300-img
+ $(STAGING_DIR_HOST)/bin/sks7300-img \
+ -i $@ \
+ -o $@.new \
+ -n OpenWrt \
+ -v $(VERSION_DIST)$(firstword $(subst +, , $(firstword $(subst -, ,$(REVISION)))))
+ mv $@.new $@
+endef
+
define Build/zynsig
$(STAGING_DIR_HOST)/bin/zynsig -i $@ \
-o $@.new