]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
uboot-mediatek: reorder targets alphabetically
authorChukun Pan <amadeus@jmu.edu.cn>
Mon, 16 Feb 2026 11:01:27 +0000 (19:01 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 25 May 2026 22:23:37 +0000 (00:23 +0200)
Sort U-Boot targets alphabetically.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: https://github.com/openwrt/openwrt/pull/23490
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/boot/uboot-mediatek/Makefile

index f7e6f0a4d3078f9ea931bf91ab1210d4ce5e2a77..66865cb95ad97730efa41ae222ce5a7766f08cb0 100644 (file)
@@ -385,6 +385,19 @@ define U-Boot/mt7981_cudy_wr3000p-v1
   DEPENDS:=+trusted-firmware-a-mt7981-cudy-ddr4
 endef
 
+define U-Boot/mt7981_gatonetworks_gdsp
+  NAME:=GatoNetworks GDSP
+  BUILD_SUBTARGET:=filogic
+  BUILD_DEVICES:=gatonetworks_gdsp
+  UBOOT_CONFIG:=mt7981_gatonetworks_gdsp
+  UBOOT_IMAGE:=u-boot.fip
+  BL2_BOOTDEV:=nor
+  BL2_SOC:=mt7981
+  BL2_DDRTYPE:=ddr3
+  DEPENDS:=+trusted-firmware-a-mt7981-nor-ddr3
+  FIP_COMPRESS:=1
+endef
+
 define U-Boot/mt7981_glinet_gl-mt2500
   NAME:=GL.iNet GL-MT2500
   BUILD_SUBTARGET:=filogic
@@ -578,19 +591,6 @@ define U-Boot/mt7981_rfb-emmc
   DEPENDS:=+trusted-firmware-a-mt7981-emmc-ddr3
 endef
 
-define U-Boot/mt7981_gatonetworks_gdsp
-  NAME:=GatoNetworks GDSP
-  BUILD_SUBTARGET:=filogic
-  BUILD_DEVICES:=gatonetworks_gdsp
-  UBOOT_CONFIG:=mt7981_gatonetworks_gdsp
-  UBOOT_IMAGE:=u-boot.fip
-  BL2_BOOTDEV:=nor
-  BL2_SOC:=mt7981
-  BL2_DDRTYPE:=ddr3
-  DEPENDS:=+trusted-firmware-a-mt7981-nor-ddr3
-  FIP_COMPRESS:=1
-endef
-
 define U-Boot/mt7981_rfb-nor
   NAME:=MT7981 Reference Board
   BUILD_SUBTARGET:=filogic
@@ -1001,6 +1001,42 @@ define U-Boot/mt7987_bananapi_bpi-r4-lite-nor
   FIP_COMPRESS:=1
 endef
 
+define U-Boot/mt7987_rfb-emmc
+  NAME:=MT7987 Reference Board
+  BUILD_SUBTARGET:=filogic
+  BUILD_DEVICES:=mediatek_mt7987a-rfb
+  UBOOT_CONFIG:=mt7987_emmc_rfb
+  UBOOT_IMAGE:=u-boot.fip
+  BL2_BOOTDEV:=emmc
+  BL2_SOC:=mt7987
+  BL2_DDRTYPE:=comb
+  DEPENDS:=+trusted-firmware-a-mt7987-emmc-comb
+endef
+
+define U-Boot/mt7987_rfb-spim-nand
+  NAME:=MT7987 Reference Board
+  BUILD_SUBTARGET:=filogic
+  BUILD_DEVICES:=mediatek_mt7987a-rfb
+  UBOOT_CONFIG:=mt7987_rfb
+  UBOOT_IMAGE:=u-boot.fip
+  BL2_BOOTDEV:=spim-nand0-ubi
+  BL2_SOC:=mt7987
+  BL2_DDRTYPE:=comb
+  DEPENDS:=+trusted-firmware-a-mt7987-spim-nand0-ubi-comb
+endef
+
+define U-Boot/mt7987_rfb-sd
+  NAME:=MT7987 Reference Board
+  BUILD_SUBTARGET:=filogic
+  BUILD_DEVICES:=mediatek_mt7987a-rfb
+  UBOOT_CONFIG:=mt7987_sd_rfb
+  UBOOT_IMAGE:=u-boot.fip
+  BL2_BOOTDEV:=sdmmc
+  BL2_SOC:=mt7987
+  BL2_DDRTYPE:=comb
+  DEPENDS:=+trusted-firmware-a-mt7987-sdmmc-comb
+endef
+
 define U-Boot/mt7987_routerich_be7200
   NAME:=Routerich BE7200
   BUILD_SUBTARGET:=filogic
@@ -1108,42 +1144,6 @@ define U-Boot/mt7988_bananapi_bpi-r4-poe-snand
   DEPENDS:=+trusted-firmware-a-mt7988-spim-nand-ubi-comb +trusted-firmware-a-mt7988-spim-nand-ubi-comb-4bg
 endef
 
-define U-Boot/mt7987_rfb-emmc
-  NAME:=MT7987 Reference Board
-  BUILD_SUBTARGET:=filogic
-  BUILD_DEVICES:=mediatek_mt7987a-rfb
-  UBOOT_CONFIG:=mt7987_emmc_rfb
-  UBOOT_IMAGE:=u-boot.fip
-  BL2_BOOTDEV:=emmc
-  BL2_SOC:=mt7987
-  BL2_DDRTYPE:=comb
-  DEPENDS:=+trusted-firmware-a-mt7987-emmc-comb
-endef
-
-define U-Boot/mt7987_rfb-spim-nand
-  NAME:=MT7987 Reference Board
-  BUILD_SUBTARGET:=filogic
-  BUILD_DEVICES:=mediatek_mt7987a-rfb
-  UBOOT_CONFIG:=mt7987_rfb
-  UBOOT_IMAGE:=u-boot.fip
-  BL2_BOOTDEV:=spim-nand0-ubi
-  BL2_SOC:=mt7987
-  BL2_DDRTYPE:=comb
-  DEPENDS:=+trusted-firmware-a-mt7987-spim-nand0-ubi-comb
-endef
-
-define U-Boot/mt7987_rfb-sd
-  NAME:=MT7987 Reference Board
-  BUILD_SUBTARGET:=filogic
-  BUILD_DEVICES:=mediatek_mt7987a-rfb
-  UBOOT_CONFIG:=mt7987_sd_rfb
-  UBOOT_IMAGE:=u-boot.fip
-  BL2_BOOTDEV:=sdmmc
-  BL2_SOC:=mt7987
-  BL2_DDRTYPE:=comb
-  DEPENDS:=+trusted-firmware-a-mt7987-sdmmc-comb
-endef
-
 define U-Boot/mt7988_rfb-spim-nand
   NAME:=MT7988 Reference Board
   BUILD_SUBTARGET:=filogic