Skip to content

Commit c5892fe

Browse files
achterinhauke
authored andcommitted
ipq40xx: fix Linksys WHW0x sorting
whw01 was incorrectly placed below whw03 definitions. Signed-off-by: Christoph Krapp <[email protected]> Link: openwrt/openwrt#20441 Signed-off-by: Robert Marko <[email protected]> (cherry picked from commit 1fecbaf) Link: openwrt/openwrt#20454 Signed-off-by: Hauke Mehrtens <[email protected]>
1 parent b2119bb commit c5892fe

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

target/linux/ipq40xx/image/generic.mk

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -731,6 +731,23 @@ define Device/linksys_mr8300
731731
endef
732732
TARGET_DEVICES += linksys_mr8300
733733

734+
define Device/linksys_whw01
735+
$(call Device/FitzImage)
736+
DEVICE_VENDOR := Linksys
737+
DEVICE_MODEL := WHW01
738+
KERNEL_SIZE := 6144k
739+
IMAGE_SIZE := 75776k
740+
NAND_SIZE := 256m
741+
SOC := qcom-ipq4018
742+
BLOCKSIZE := 128k
743+
PAGESIZE := 2048
744+
UBINIZE_OPTS := -E 5 # EOD marks to "hide" factory sig at EOF
745+
IMAGES += factory.bin
746+
IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi | linksys-image type=WHW01
747+
DEVICE_PACKAGES := uboot-envtools kmod-leds-pca963x
748+
endef
749+
TARGET_DEVICES += linksys_whw01
750+
734751
define Device/linksys_whw03
735752
$(call Device/FitzImage)
736753
DEVICE_VENDOR := Linksys
@@ -763,23 +780,6 @@ define Device/linksys_whw03v2
763780
endef
764781
TARGET_DEVICES += linksys_whw03v2
765782

766-
define Device/linksys_whw01
767-
$(call Device/FitzImage)
768-
DEVICE_VENDOR := Linksys
769-
DEVICE_MODEL := WHW01
770-
KERNEL_SIZE := 6144k
771-
IMAGE_SIZE := 75776k
772-
NAND_SIZE := 256m
773-
SOC := qcom-ipq4018
774-
BLOCKSIZE := 128k
775-
PAGESIZE := 2048
776-
UBINIZE_OPTS := -E 5 # EOD marks to "hide" factory sig at EOF
777-
IMAGES += factory.bin
778-
IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi | linksys-image type=WHW01
779-
DEVICE_PACKAGES := uboot-envtools kmod-leds-pca963x
780-
endef
781-
TARGET_DEVICES += linksys_whw01
782-
783783
define Device/luma_wrtq-329acn
784784
$(call Device/FitImage)
785785
DEVICE_VENDOR := Luma Home

0 commit comments

Comments
 (0)