realtek: add xikestor sks7300-img tool

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>
This commit is contained in:
Andreas Böhler
2026-02-28 21:54:57 +01:00
committed by Robert Marko
parent 7bbf265d3e
commit 83ee633b19
+9
View File
@@ -116,6 +116,15 @@ define Build/xikestor-nosimg
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