]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
qualcommax: ipq5018: gl-b3000: fix uboot support 18547/head
authorScott Mercer <TheRootEd24@gmail.com>
Mon, 21 Apr 2025 09:38:14 +0000 (05:38 -0400)
committerRobert Marko <robimarko@gmail.com>
Mon, 21 Apr 2025 09:49:51 +0000 (11:49 +0200)
The bootscript parameter in gl-qsdk-factory.sh was moved
from arg[4] to arg[2] (1 based index) This patch reflects
these changes

Fixes: 3307fe8ee4cf ("qualcommax: ipq50xx: add support for GL.iNET GL-B3000")
Signed-off-by: Scott Mercer <TheRootEd24@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18547
Signed-off-by: Robert Marko <robimarko@gmail.com>
include/image-commands.mk

index 52652b59a40b587f3c19a32b92e8d7f77e729dbe..d767ab356e7ed9ff3975a4cab744efdc0e4fb72e 100644 (file)
@@ -513,9 +513,9 @@ define Build/gl-qsdk-factory
 
        $(TOPDIR)/scripts/mkits-qsdk-ipq-image.sh \
                $(GL_ITS) \
+               $(BOOT_SCRIPT) \
                $(GL_UBI) \
-               $(GL_IMGK) \
-               $(BOOT_SCRIPT)
+               $(GL_IMGK)
 
        sed -i "s/rootfs_size/`wc -c $(GL_IMGK) | \
        cut -d " " -f 1 | xargs printf "0x%x"`/g" $(BOOT_SCRIPT);