]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
realtek: add xikestor sks7300-img tool
authorAndreas Böhler <dev@aboehler.at>
Sat, 28 Feb 2026 20:54:57 +0000 (21:54 +0100)
committerRobert Marko <robimarko@gmail.com>
Sun, 17 May 2026 11:11:05 +0000 (13:11 +0200)
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>
target/linux/realtek/image/Makefile

index 7ce9a7396b424ccba421503ffcae48e3547e6c96..358a03b0f48edef5a16a212f8988c56f5cee0653 100644 (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