From: Christoph Krapp Date: Fri, 17 Oct 2025 22:58:37 +0000 (+0200) Subject: ipq40xx: fix Linksys WHW0x sorting X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F20441%2Fhead;p=thirdparty%2Fopenwrt.git ipq40xx: fix Linksys WHW0x sorting whw01 was incorrectly placed below whw03 definitions. Signed-off-by: Christoph Krapp Link: https://github.com/openwrt/openwrt/pull/20441 Signed-off-by: Robert Marko --- diff --git a/target/linux/ipq40xx/image/generic.mk b/target/linux/ipq40xx/image/generic.mk index 1376c3eb9a6..bbc4e390a0f 100644 --- a/target/linux/ipq40xx/image/generic.mk +++ b/target/linux/ipq40xx/image/generic.mk @@ -723,6 +723,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 @@ -755,23 +772,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