From c2334ad60dc82cedc2ec9a6eb8166200d7cbf5e3 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Wed, 3 Jul 2019 23:22:13 +0200 Subject: ramips/mt76x8: Synchronize Makefiles with DTS compatible Signed-off-by: Adrian Schmutzler --- target/linux/ramips/image/mt76x8.mk | 98 ++++++++++++++++++++++--------------- 1 file changed, 58 insertions(+), 40 deletions(-) (limited to 'target/linux/ramips/image/mt76x8.mk') diff --git a/target/linux/ramips/image/mt76x8.mk b/target/linux/ramips/image/mt76x8.mk index 96b067e900..b8d118bc69 100644 --- a/target/linux/ramips/image/mt76x8.mk +++ b/target/linux/ramips/image/mt76x8.mk @@ -52,23 +52,25 @@ define Device/tama_w06 endef TARGET_DEVICES += tama_w06 -define Device/duzun-dm06 +define Device/duzun_dm06 DTS := DUZUN-DM06 DEVICE_VENDOR := DuZun DEVICE_MODEL := DM06 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport + SUPPORTED_DEVICES += duzun-dm06 endef -TARGET_DEVICES += duzun-dm06 +TARGET_DEVICES += duzun_dm06 -define Device/gl-mt300n-v2 +define Device/glinet_gl-mt300n-v2 DTS := GL-MT300N-V2 IMAGE_SIZE := 16064k DEVICE_VENDOR := GL.iNet DEVICE_MODEL := GL-MT300N DEVICE_VARIANT := V2 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci + SUPPORTED_DEVICES += gl-mt300n-v2 endef -TARGET_DEVICES += gl-mt300n-v2 +TARGET_DEVICES += glinet_gl-mt300n-v2 define Device/glinet_vixmini DTS := VIXMINI @@ -79,19 +81,20 @@ define Device/glinet_vixmini endef TARGET_DEVICES += glinet_vixmini -define Device/hc5661a +define Device/hiwifi_hc5661a DTS := HC5661A IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_VENDOR := HiWiFi DEVICE_MODEL := HC5661A + SUPPORTED_DEVICES += hc5661a endef -TARGET_DEVICES += hc5661a +TARGET_DEVICES += hiwifi_hc5661a define Device/hilink_hlk-7628n DTS := HLK-7628N IMAGE_SIZE := $(ralink_default_fw_size_32M) DEVICE_VENDOR := HILINK - DEVICE_MODEL := HLK7628N + DEVICE_MODEL := HLK-7628N endef TARGET_DEVICES += hilink_hlk-7628n @@ -104,44 +107,47 @@ define Device/hiwifi_hc5861b endef TARGET_DEVICES += hiwifi_hc5861b -define Device/LinkIt7688 +define Device/mediatek_linkit-smart-7688 DTS := LINKIT7688 IMAGE_SIZE := $(ralink_default_fw_size_32M) - SUPPORTED_DEVICES := linkits7688 linkits7688d DEVICE_VENDOR := MediaTek DEVICE_MODEL := LinkIt Smart 7688 DEVICE_PACKAGES:= kmod-usb2 kmod-usb-ohci uboot-envtools + SUPPORTED_DEVICES += linkits7688 linkits7688d endef -TARGET_DEVICES += LinkIt7688 +TARGET_DEVICES += mediatek_linkit-smart-7688 -define Device/mac1200r-v2 +define Device/mercury_mac1200r-v2 DTS := MAC1200RV2 DEVICE_VENDOR := Mercury DEVICE_MODEL := MAC1200R DEVICE_VARIANT := v2.0 SUPPORTED_DEVICES := mac1200rv2 DEVICE_PACKAGES := kmod-mt76x2 + SUPPORTED_DEVICES += mac1200rv2 endef -TARGET_DEVICES += mac1200r-v2 +TARGET_DEVICES += mercury_mac1200r-v2 -define Device/miwifi-nano +define Device/xiaomi_miwifi-nano DTS := MIWIFI-NANO IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_VENDOR := Xiaomi DEVICE_MODEL := MiWiFi Nano DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport + SUPPORTED_DEVICES += miwifi-nano endef -TARGET_DEVICES += miwifi-nano +TARGET_DEVICES += xiaomi_miwifi-nano -define Device/mt7628 +define Device/mediatek_mt7628an-eval-board DTS := MT7628 BLOCKSIZE := 64k IMAGE_SIZE := $(ralink_default_fw_size_4M) DEVICE_VENDOR := MediaTek DEVICE_MODEL := MT7628 EVB DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport + SUPPORTED_DEVICES += mt7628 endef -TARGET_DEVICES += mt7628 +TARGET_DEVICES += mediatek_mt7628an-eval-board define Device/netgear_r6120 DTS := R6120 @@ -161,32 +167,35 @@ define Device/netgear_r6120 endef TARGET_DEVICES += netgear_r6120 -define Device/omega2 +define Device/onion_omega2 DTS := OMEGA2 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_VENDOR := Onion DEVICE_MODEL := Omega2 DEVICE_PACKAGES:= kmod-usb2 kmod-usb-ohci uboot-envtools + SUPPORTED_DEVICES += omega2 endef -TARGET_DEVICES += omega2 +TARGET_DEVICES += onion_omega2 -define Device/omega2p +define Device/onion_omega2p DTS := OMEGA2P IMAGE_SIZE := $(ralink_default_fw_size_32M) DEVICE_VENDOR := Onion DEVICE_MODEL := Omega2+ DEVICE_PACKAGES:= kmod-usb2 kmod-usb-ohci uboot-envtools kmod-sdhci-mt7620 + SUPPORTED_DEVICES += omega2p endef -TARGET_DEVICES += omega2p +TARGET_DEVICES += onion_omega2p -define Device/pbr-d1 +define Device/d-team_pbr-d1 DTS := PBR-D1 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_VENDOR := PandoraBox DEVICE_MODEL := PBR-D1 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci + SUPPORTED_DEVICES += pbr-d1 endef -TARGET_DEVICES += pbr-d1 +TARGET_DEVICES += d-team_pbr-d1 define Device/rakwireless_rak633 DTS := RAK633 @@ -242,7 +251,7 @@ define Device/tplink_tl-wr802n-v4 endef TARGET_DEVICES += tplink_tl-wr802n-v4 -define Device/tl-wr840n-v4 +define Device/tplink_tl-wr840n-v4 $(Device/tplink) DTS := TL-WR840NV4 IMAGE_SIZE := 7808k @@ -253,10 +262,11 @@ define Device/tl-wr840n-v4 TPLINK_HWREV := 0x1 TPLINK_HWREVADD := 0x4 TPLINK_HVERSION := 3 + SUPPORTED_DEVICES += tl-wr840n-v4 endef -TARGET_DEVICES += tl-wr840n-v4 +TARGET_DEVICES += tplink_tl-wr840n-v4 -define Device/tl-wr840n-v5 +define Device/tplink_tl-wr840n-v5 DTS := TL-WR840NV5 IMAGE_SIZE := 3904k DEVICE_MODEL := TL-WR840N @@ -270,10 +280,11 @@ define Device/tl-wr840n-v5 KERNEL_INITRAMFS := $(KERNEL_DTB) | tplink-v2-header -e IMAGE/sysupgrade.bin := tplink-v2-image -s -e | append-metadata | \ check-size $$$$(IMAGE_SIZE) + SUPPORTED_DEVICES += tl-wr840n-v5 endef -TARGET_DEVICES += tl-wr840n-v5 +TARGET_DEVICES += tplink_tl-wr840n-v5 -define Device/tl-wr841n-v13 +define Device/tplink_tl-wr841n-v13 $(Device/tplink) DTS := TL-WR841NV13 IMAGE_SIZE := 7808k @@ -284,8 +295,9 @@ define Device/tl-wr841n-v13 TPLINK_HWREV := 0x268 TPLINK_HWREVADD := 0x13 TPLINK_HVERSION := 3 + SUPPORTED_DEVICES += tl-wr841n-v13 endef -TARGET_DEVICES += tl-wr841n-v13 +TARGET_DEVICES += tplink_tl-wr841n-v13 define Device/tplink_tl-wr841n-v14 $(Device/tplink) @@ -411,35 +423,38 @@ define Device/tplink_tl-wr902ac-v3 endef TARGET_DEVICES += tplink_tl-wr902ac-v3 -define Device/u7628-01-128M-16M +define Device/unielec_u7628-01-128m-16m DTS := U7628-01-128M-16M IMAGE_SIZE := 16064k DEVICE_VENDOR := UniElec DEVICE_MODEL := U7628-01 DEVICE_VARIANT := 128M RAM/16M flash DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport + SUPPORTED_DEVICES += u7628-01-128M-16M endef -TARGET_DEVICES += u7628-01-128M-16M +TARGET_DEVICES += unielec_u7628-01-128m-16m -define Device/vocore2 +define Device/vocore_vocore2 DTS := VOCORE2 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_VENDOR := VoCore DEVICE_MODEL := VoCore2 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport \ kmod-sdhci-mt7620 + SUPPORTED_DEVICES += vocore2 endef -TARGET_DEVICES += vocore2 +TARGET_DEVICES += vocore_vocore2 -define Device/vocore2lite +define Device/vocore_vocore2-lite DTS := VOCORE2LITE IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_VENDOR := VoCore DEVICE_MODEL := VoCore2-Lite DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport \ kmod-sdhci-mt7620 + SUPPORTED_DEVICES += vocore2lite endef -TARGET_DEVICES += vocore2lite +TARGET_DEVICES += vocore_vocore2-lite define Device/wavlink_wl-wn570ha1 DTS := WL-WN570HA1 @@ -460,7 +475,7 @@ define Device/wavlink_wl-wn575a3 endef TARGET_DEVICES += wavlink_wl-wn575a3 -define Device/wcr-1166ds +define Device/buffalo_wcr-1166ds DTS := WCR-1166DS BUFFALO_TAG_PLATFORM := MTK BUFFALO_TAG_VERSION := 9.99 @@ -475,8 +490,9 @@ define Device/wcr-1166ds DEVICE_VENDOR := Buffalo DEVICE_MODEL := WCR-1166DS DEVICE_PACKAGES := kmod-mt76x2 + SUPPORTED_DEVICES += wcr-1166ds endef -TARGET_DEVICES += wcr-1166ds +TARGET_DEVICES += buffalo_wcr-1166ds define Device/widora_neo-16m DTS := WIDORA-NEO-16M @@ -507,23 +523,25 @@ define Device/wiznet_wizfi630s endef TARGET_DEVICES += wiznet_wizfi630s -define Device/wrtnode2p +define Device/wrtnode_wrtnode2p DTS := WRTNODE2P IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_VENDOR := WRTnode DEVICE_MODEL := WRTnode 2P DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport + SUPPORTED_DEVICES += wrtnode2p endef -TARGET_DEVICES += wrtnode2p +TARGET_DEVICES += wrtnode_wrtnode2p -define Device/wrtnode2r +define Device/wrtnode_wrtnode2r DTS := WRTNODE2R IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_VENDOR := WRTnode DEVICE_MODEL := WRTnode 2R DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci + SUPPORTED_DEVICES += wrtnode2r endef -TARGET_DEVICES += wrtnode2r +TARGET_DEVICES += wrtnode_wrtnode2r define Device/xiaomi_mir4a-100m DTS := XIAOMI-MIR4A-100M -- cgit v1.2.3