[openwrt/openwrt] ipq40xx: fix Linksys WHW0x sorting

LEDE Commits lede-commits at lists.infradead.org
Sun Oct 19 08:25:58 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/c5892fe8c566521db3fddabe55f74ccb1331f0eb

commit c5892fe8c566521db3fddabe55f74ccb1331f0eb
Author: Christoph Krapp <achterin at gmail.com>
AuthorDate: Sat Oct 18 00:58:37 2025 +0200

    ipq40xx: fix Linksys WHW0x sorting
    
    whw01 was incorrectly placed below whw03 definitions.
    
    Signed-off-by: Christoph Krapp <achterin at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/20441
    Signed-off-by: Robert Marko <robimarko at gmail.com>
    (cherry picked from commit 1fecbaf3d86ad8ce8bbc4a9504c73e943da323e1)
    Link: https://github.com/openwrt/openwrt/pull/20454
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/ipq40xx/image/generic.mk | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/target/linux/ipq40xx/image/generic.mk b/target/linux/ipq40xx/image/generic.mk
index 21841f4bf1..86bcaf8406 100644
--- a/target/linux/ipq40xx/image/generic.mk
+++ b/target/linux/ipq40xx/image/generic.mk
@@ -731,6 +731,23 @@ define Device/linksys_mr8300
 endef
 TARGET_DEVICES += linksys_mr8300
 
+define Device/linksys_whw01
+	$(call Device/FitzImage)
+	DEVICE_VENDOR := Linksys
+	DEVICE_MODEL := WHW01
+	KERNEL_SIZE := 6144k
+	IMAGE_SIZE := 75776k
+	NAND_SIZE := 256m
+	SOC := qcom-ipq4018
+	BLOCKSIZE := 128k
+	PAGESIZE := 2048
+	UBINIZE_OPTS := -E 5    # EOD marks to "hide" factory sig at EOF
+	IMAGES += factory.bin
+	IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi | linksys-image type=WHW01
+	DEVICE_PACKAGES := uboot-envtools kmod-leds-pca963x
+endef
+TARGET_DEVICES += linksys_whw01
+
 define Device/linksys_whw03
 	$(call Device/FitzImage)
 	DEVICE_VENDOR := Linksys
@@ -763,23 +780,6 @@ define Device/linksys_whw03v2
 endef
 TARGET_DEVICES += linksys_whw03v2
 
-define Device/linksys_whw01
-	$(call Device/FitzImage)
-	DEVICE_VENDOR := Linksys
-	DEVICE_MODEL := WHW01
-	KERNEL_SIZE := 6144k
-	IMAGE_SIZE := 75776k
-	NAND_SIZE := 256m
-	SOC := qcom-ipq4018
-	BLOCKSIZE := 128k
-	PAGESIZE := 2048
-	UBINIZE_OPTS := -E 5    # EOD marks to "hide" factory sig at EOF
-	IMAGES += factory.bin
-	IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi | linksys-image type=WHW01
-	DEVICE_PACKAGES := uboot-envtools kmod-leds-pca963x
-endef
-TARGET_DEVICES += linksys_whw01
-
 define Device/luma_wrtq-329acn
 	$(call Device/FitImage)
 	DEVICE_VENDOR := Luma Home




More information about the lede-commits mailing list