Projecte

General

Perfil

Baixar (20.7 KB) Estadístiques
| Branca: | Etiqueta: | Revisió:
cef88a16 p4u
# targets.mk
3a4e6871 Roger Pueyo Centelles
# Copyright (C) 2011-2016 qmp.cat
6b5e8a5c p4u
#
3a4e6871 Roger Pueyo Centelles
# This is free software, licensed under the GNU General Public License v3.
cef88a16 p4u
# See LICENSE for more information.
3a4e6871 Roger Pueyo Centelles
#
cef88a16 p4u
#
# For each target the next variables must be defined
# NAME := The name of the device used for output firmware file name
973bac34 Roger Pueyo Centelles
# ARCH := The LEDE CPU architecture
# SUBARCH := The LEDE CPU subarchitecture
cef88a16 p4u
# IMAGE := The file path (relative to buildroot) to the firmware
92b6b927 p4u
# PROFILE := The profile used for the device (must coincide with a configs/xxx filename=
#
cef88a16 p4u
# Optional
92b6b927 p4u
# TARGET_MASTER := The device will use the same options defined in his target master
cef88a16 p4u
# TBUILD := The buildroot directory (relative to BUILD_DIR)
# SYSUPGRADE := The file path (relative to buildroot) to the firmware sysupgrade image
6b5e8a5c p4u
#
cef88a16 p4u
# Any option defined in Makefile can be overrided from here, for instance
# override OWRT_SVN = svn://mysvn.com/owrt
6b5e8a5c p4u
2c86914a Roger Pueyo Centelles
COMBINEDEXT4IMG := combined-ext4.img.gz
ca37bbc7 Roger Pueyo Centelles
COMBINEDEXT4VDI := combined-ext4.vdi
COMBINEDEXT4VMDK := combined-ext4.vmdk
9a8d0b07 Roger Pueyo Centelles
COMBINEDSQUASH := combined-squashfs.bin
3150f2fb Roger Pueyo Centelles
COMBINEDSQUASHIMG := combined-squashfs.img.gz
ca37bbc7 Roger Pueyo Centelles
COMBINEDSQUASHVDI := combined-squashfs.vdi
COMBINEDSQUASHVMDK := combined-squashfs.vmdk
f420c2ff Roger Pueyo Centelles
EXT4SDCARD := ext4-sdcard.img.gz
9a8d0b07 Roger Pueyo Centelles
SDCARDVFATEXT4 := sdcard-vfat-ext4.img
SQUASHFACTORY := squashfs-factory.bin
SQUASHSYSUPGRADE := squashfs-sysupgrade.bin
f420c2ff Roger Pueyo Centelles
SQUASHFSSDCARD := squashfs-sdcard.img.gz
6b5e8a5c p4u
2c86914a Roger Pueyo Centelles
BINEXT := bin

9a8d0b07 Roger Pueyo Centelles
TINYPKG ?= qmp-tiny-node
SMALLPKG ?= qmp-small-node
BIGPKG ?= qmp-big-node

973bac34 Roger Pueyo Centelles
TBUILD_LIST := lede
6b5e8a5c p4u
9a8d0b07 Roger Pueyo Centelles
DISTLEGACY:=lede

f420c2ff Roger Pueyo Centelles
MP_AVAILABLE := ath25-generic ar71xx-generic brcm2708-bcm2708 brcm2708-bcm2709 brcm2708-bcm2710 mpc85xx-generic ramips-mt7620 ramips-mt7621 ramips-mt7628 ramips-rt305x sunxi-generic x86-generic x86-geode x86-64
0d8eb3f9 Roger Pueyo Centelles
HW_AVAILABLE := alfa-nx alix bullet cf-wr800n dir-810l dragino2 kvm kvm64 lamobo-r1 mc-mac1200r microwrt miwifi-mini nslm5-xw nsm2 nsm5 nsm5-xw pico2 rocket-m rocket-m-xw rs rspro soekris45xx tl-2543-v1 tl-mr3020-v1 tl-mr3040-v1 tl-wa7510n tl-wdr3500-v1 tl-wdr3600 tl-wdr4300 tl-wdr4900-v1 tl-wr703n-v1 tl-wr743nd-v1 tl-wr841-v10 tl-wr841-v7 tl-wr841-v8 tl-wr841-v9 tl-wr842n-v1 uap-pro unifiac-lite unifi-ap vbox vbox64 vmware vmware64 vocore-16M vocore-8M wl-wn575a3 wpe72-8M wrtnode wt1520-4M wt1520-8M wt3020-4M wt3020-8M x86 x86-64 zbt-ape522ii
9a8d0b07 Roger Pueyo Centelles
ifeq ($(MPT),ath25-generic)
TBUILD:=lede
ARCH:=ath25
SUBARCH:=generic
DEVPKG:=CONFIG_TARGET_DEVICE_PACKAGES_$(ARCH)_DEVICE_
TINY:=ubnt2-pico2
SMALL:=
BIG:=
endif

ifeq ($(MPT),ar71xx-generic)
TBUILD:=lede
ARCH:=ar71xx
SUBARCH:=generic
DEVPKG:=CONFIG_TARGET_DEVICE_PACKAGES_$(ARCH)_$(SUBARCH)_DEVICE_
TINY:=tl-wr841-v7 tl-wr841-v8 tl-wr841-v9 tl-wr841-v10 tl-wr842n-v1 tl-wr703n-v1 tl-mr3020-v1 tl-mr3040-v1 tl-wa7510n tl-wr743nd-v1 tl-wr740n-v1
SMALL:=ALFANX tl-wr2543-v1 ubnt-bullet-m ubnt-nano-m ubnt-nano-m-xw ubnt-loco-m-xw ubnt-rocket-m-xw ubnt-rocket-m mc-mac1200r WPE72_8M dragino2 ubnt-unifi ubnt-uap-pro
BIG:=ubnt-rs ubnt-rspro tl-wdr3500-v1 tl-wdr3600-v1 tl-wdr4300-v1
endif

ifeq ($(MPT),brcm2708-bcm2708)
TBUILD:=lede
ARCH:=brcm2708
SUBARCH:=bcm2708
DEVPKG:=CONFIG_TARGET_DEVICE_PACKAGES_$(ARCH)_$(SUBARCH)_DEVICE_
TINY:=
SMALL:=
BIG:=rpi
endif

ifeq ($(MPT),brcm2708-bcm2709)
TBUILD:=lede
ARCH:=brcm2708
SUBARCH:=bcm2709
DEVPKG:=CONFIG_TARGET_DEVICE_PACKAGES_$(ARCH)_$(SUBARCH)_DEVICE_
TINY:=
SMALL:=
BIG:=rpi-2
endif

ifeq ($(MPT),brcm2708-bcm2710)
TBUILD:=lede
ARCH:=brcm2708
SUBARCH:=bcm2710
DEVPKG:=CONFIG_TARGET_DEVICE_PACKAGES_$(ARCH)_$(SUBARCH)_DEVICE_
TINY:=
SMALL:=
BIG:=rpi-3
endif

0e1aa02a Roger Pueyo Centelles
#This architecture is not really multi-profile, but has only one device
ifeq ($(MPT),mpc85xx-generic)
TBUILD:=lede
ARCH:=mpc85xx
SUBARCH:=generic
DEVPKG:=
TINY:=
SMALL:=
BIG:=
endif

9a8d0b07 Roger Pueyo Centelles
ifeq ($(MPT),ramips-mt7620)
TBUILD:=lede
ARCH:=ramips
SUBARCH:=mt7620
DEVPKG:=CONFIG_TARGET_DEVICE_PACKAGES_$(ARCH)_$(SUBARCH)_DEVICE_$(DEVICE)
af8cee4f Roger Pueyo Centelles
SYSTEM:=wt3020-4M
TINY:=
42534ea4 Roger Pueyo Centelles
SMALL:=cf-wr800n dir-810l microwrt miwifi-mini wrtnode wt3020-8M zbt-ape522ii
9a8d0b07 Roger Pueyo Centelles
BIG:=
endif

ifeq ($(MPT),ramips-mt7621)
TBUILD:=lede
ARCH:=ramips
SUBARCH:=mt7621
DEVPKG:=CONFIG_TARGET_DEVICE_PACKAGES_$(ARCH)_$(SUBARCH)_DEVICE_$(DEVICE)
TINY:=
SMALL:=
BIG:=
endif

803d3ccc Roger Pueyo Centelles
ifeq ($(MPT),ramips-mt7628)
TBUILD:=lede
ARCH:=ramips
SUBARCH:=mt7628
DEVPKG:=CONFIG_TARGET_DEVICE_PACKAGES_$(ARCH)_$(SUBARCH)_DEVICE_$(DEVICE)
TINY:=
SMALL:=wl-wn575a3
BIG:=
endif

9a8d0b07 Roger Pueyo Centelles
ifeq ($(MPT),ramips-rt305x)
TBUILD:=lede
ARCH:=ramips
SUBARCH:=rt305x
DEVPKG:=CONFIG_TARGET_DEVICE_PACKAGES_$(ARCH)_$(SUBARCH)_DEVICE_$(DEVICE)
ecdecd1e Roger Pueyo Centelles
TINY:=wt1520-4M
SMALL:=wt1520-8M
9a8d0b07 Roger Pueyo Centelles
BIG:=
endif

f420c2ff Roger Pueyo Centelles
ifeq ($(MPT),sunxi-generic)
TBUILD:=lede
ARCH:=sunxi
SUBARCH:=generic
DEVPKG:=CONFIG_TARGET_DEVICE_PACKAGES_$(ARCH)_DEVICE_$(DEVICE)
TINY:=
SMALL:=
BIG:=sun7i-a20-lamobo-r1
endif

ca37bbc7 Roger Pueyo Centelles
#This architecture is not really multi-profile, but generates all images
ifeq ($(MPT),x86-generic)
TBUILD:=lede
ARCH:=x86
SUBARCH:=generic
DEVPKG:=
TINY:=
SMALL:=
BIG:=
endif

#This architecture is not really multi-profile, but has only one device
59b4c27e Roger Pueyo Centelles
ifeq ($(MPT),x86-geode)
TBUILD:=lede
ARCH:=x86
SUBARCH:=geode
ca37bbc7 Roger Pueyo Centelles
DEVPKG:=
59b4c27e Roger Pueyo Centelles
TINY:=
SMALL:=
BIG:=
endif

59f8a977 Roger Pueyo Centelles
#This architecture is not really multi-profile, but generates all images
ifeq ($(MPT),x86-64)
TBUILD:=lede
ARCH:=x86
SUBARCH:=64
DEVPKG:=
TINY:=
SMALL:=
BIG:=
67e67aad p4u
endif

c85fc20a Roger Pueyo Centelles
ifeq ($(T),alfa-nx)
31314f1e Roger Pueyo Centelles
NAME:=Alfa-Network_N5
c85fc20a Roger Pueyo Centelles
ARCH:=ar71xx
31314f1e Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=ALFANX
FACTORY:=$(DISTLEGACY)-$(ARCH)-$(SUBARCH)-$(T)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTLEGACY)-$(ARCH)-$(SUBARCH)-$(T)-$(SQUASHSYSUPGRADE)
c85fc20a Roger Pueyo Centelles
endif

0a1f5a1f p4u
ifeq ($(T),alix)
50881ab5 Roger Pueyo Centelles
NAME:=PC-Engines_Alix
0a1f5a1f p4u
ARCH:=x86
973bac34 Roger Pueyo Centelles
SUBARCH:=geode
TBUILD:=lede
59b4c27e Roger Pueyo Centelles
MPNAME:=x86-geode
b2ebc4ea Roger Pueyo Centelles
SQUASHIMAGE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(COMBINEDSQUASHIMG)
EXT4IMAGE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(COMBINEDEXT4IMG)
2c86914a Roger Pueyo Centelles
BINEXT=img.gz
0a1f5a1f p4u
endif

c59a1b4d Pau Escrich
ifeq ($(T),x86)
50881ab5 Roger Pueyo Centelles
NAME:=Generic_x86
c59a1b4d Pau Escrich
ARCH:=x86
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
ca37bbc7 Roger Pueyo Centelles
MPNAME:=x86
b2ebc4ea Roger Pueyo Centelles
SQUASHIMAGE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(COMBINEDSQUASHIMG)
EXT4IMAGE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(COMBINEDEXT4IMG)
2c86914a Roger Pueyo Centelles
BINEXT=img.gz
c59a1b4d Pau Escrich
endif

59f8a977 Roger Pueyo Centelles
ifeq ($(T),x86-64)
NAME:=Generic_x86-64
ARCH:=x86
SUBARCH:=64
TBUILD:=lede
MPNAME:=x86
SQUASHIMAGE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(COMBINEDSQUASHIMG)
EXT4IMAGE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(COMBINEDEXT4IMG)
c59a1b4d Pau Escrich
endif

6ffd1496 Roger Pueyo Centelles
ifeq ($(T),soekris45xx)
50881ab5 Roger Pueyo Centelles
NAME:=Soekris_Net45xx
6ffd1496 Roger Pueyo Centelles
ARCH:=x86
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
ca37bbc7 Roger Pueyo Centelles
MPNAME:=soekris45xx
b2ebc4ea Roger Pueyo Centelles
SQUASHIMAGE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(COMBINEDSQUASHIMG)
EXT4IMAGE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(COMBINEDEXT4IMG)
2c86914a Roger Pueyo Centelles
BINEXT=img.gz
6ffd1496 Roger Pueyo Centelles
endif
c59a1b4d Pau Escrich
0ebffef3 Jorge L Florit
ifeq ($(T),bullet)
2e70cc30 Roger Pueyo Centelles
NAME:=Ubiquiti_Bullet-M
0ebffef3 Jorge L Florit
ARCH:=ar71xx
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=ubnt-bullet-m
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
0ebffef3 Jorge L Florit
endif

d2df1407 Roger Pueyo Centelles
ifeq ($(T),cf-wr800n)
NAME:=Comfast_CF-WR800N
ARCH:=ramips
973bac34 Roger Pueyo Centelles
SUBARCH:=mt7620
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=cf-wr800n
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
3a4e6871 Roger Pueyo Centelles
endif
d2df1407 Roger Pueyo Centelles
0ebffef3 Jorge L Florit
ifeq ($(T),nsm2)
2e70cc30 Roger Pueyo Centelles
NAME:=Ubiquiti_NanoStation-M2
0ebffef3 Jorge L Florit
ARCH:=ar71xx
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=ubnt-nano-m
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
0ebffef3 Jorge L Florit
endif

0a1f5a1f p4u
ifeq ($(T),nsm5)
2e70cc30 Roger Pueyo Centelles
NAME:=Ubiquiti_NanoStation-M5
0a1f5a1f p4u
ARCH:=ar71xx
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=ubnt-nano-m
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
0a1f5a1f p4u
endif

9f585fd7 Roger Pueyo Centelles
ifeq ($(T),nsm5-xw)
2e70cc30 Roger Pueyo Centelles
NAME:=Ubiquiti_NanoStation-M5-XW
9f585fd7 Roger Pueyo Centelles
ARCH:=ar71xx
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=ubnt-nano-m-xw
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
9f585fd7 Roger Pueyo Centelles
endif

fa7ccd0e Roger Pueyo Centelles
ifeq ($(T),nslm5-xw)
2e70cc30 Roger Pueyo Centelles
NAME:=Ubiquiti_NanoStation-Loco-M5-XW
fa7ccd0e Roger Pueyo Centelles
ARCH:=ar71xx
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=ubnt-loco-m-xw
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
fa7ccd0e Roger Pueyo Centelles
endif

398b0246 Roger Pueyo Centelles
ifeq ($(T),lamobo-r1)
NAME:=Lamobo_R1
ARCH:=sunxi
31314f1e Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
f420c2ff Roger Pueyo Centelles
MPNAME:=sun7i-a20-lamobo-r1
SQUASHIMAGE:=$(DISTCL)-$(ARCH)-$(MPNAME)-$(SQUASHFSSDCARD)
EXT4IMAGE:=$(DISTCL)-$(ARCH)-$(MPNAME)-$(EXT4SDCARD)
BINEXT=img.gz
398b0246 Roger Pueyo Centelles
endif

49c9844c Roger Pueyo Centelles
ifeq ($(T),rocket-m-xw)
2e70cc30 Roger Pueyo Centelles
NAME:=Ubiquiti_Rocket-M5-XW
49c9844c Roger Pueyo Centelles
ARCH:=ar71xx
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=ubnt-rocket-m-xw
23a7961c Roger Pueyo Centelles
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
9a8d0b07 Roger Pueyo Centelles
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
49c9844c Roger Pueyo Centelles
endif

0a1f5a1f p4u
ifeq ($(T),pico2)
2e70cc30 Roger Pueyo Centelles
NAME:=Ubiquiti_PicoStation-2
6ac0deda Roger Pueyo Centelles
ARCH:=ath25
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=ubnt2-pico2
6ac0deda Roger Pueyo Centelles
BUILD_PATH:=$(BUILD_DIR)/ath25
9a8d0b07 Roger Pueyo Centelles
FACTORY:=$(DISTCL)-$(ARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
0a1f5a1f p4u
endif

2aabd076 Roger Pueyo Centelles
ifeq ($(T),rocket-m)
2e70cc30 Roger Pueyo Centelles
NAME:=Ubiquiti_Rocket-M
6b5e8a5c p4u
ARCH:=ar71xx
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=ubnt-rocket-m
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
6b5e8a5c p4u
endif

ifeq ($(T),rs)
50881ab5 Roger Pueyo Centelles
NAME:=Ubiquiti_RouterStation
6b5e8a5c p4u
ARCH:=ar71xx
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
PROFILE:=qmp-big-node
MPNAME:=ubnt-rs
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
6b5e8a5c p4u
endif

0ebffef3 Jorge L Florit
ifeq ($(T),rspro)
2e70cc30 Roger Pueyo Centelles
NAME:=Ubiquiti_RouterStation-Pro
0a1f5a1f p4u
ARCH:=ar71xx
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
PROFILE:=qmp-big-node
MPNAME:=ubnt-rspro
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
6f755fd4 p4u
endif

9a8d0b07 Roger Pueyo Centelles
ifeq ($(T),tl-2543-v1)
50881ab5 Roger Pueyo Centelles
NAME:=TP-Link_TL-WR2543ND-v1
bc56881a p4u
ARCH:=ar71xx
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=tl-wr2543-v1
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
9a0da680 p4u
endif

6c6320e2 Roger Pueyo Centelles
ifeq ($(T),mc-mac1200r)
50881ab5 Roger Pueyo Centelles
NAME:=Mercury_MAC1200R
6c6320e2 Roger Pueyo Centelles
ARCH:=ar71xx
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=mc-mac1200r
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
6c6320e2 Roger Pueyo Centelles
endif

9a8d0b07 Roger Pueyo Centelles
ifeq ($(T),tl-wr841-v7)
NAME:=TP-Link_TL-WR841-v7
512c6391 Marc Navarro
ARCH:=ar71xx
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=tl-wr841-v7
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
512c6391 Marc Navarro
endif

9a8d0b07 Roger Pueyo Centelles
ifeq ($(T),tl-wr841-v8)
NAME:=TP-Link_TL-WR841-v8
d3e38b73 Lino
ARCH:=ar71xx
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=tl-wr841-v8
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
d3e38b73 Lino
endif

9a8d0b07 Roger Pueyo Centelles
ifeq ($(T),tl-wr841-v9)
NAME:=TP-Link_TL-WR841-v9
d3d4970d Roger Pueyo Centelles
ARCH:=ar71xx
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=tl-wr841-v9
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
d3d4970d Roger Pueyo Centelles
endif

9a8d0b07 Roger Pueyo Centelles
ifeq ($(T),tl-wr841-v10)
NAME:=TP-Link_TL-WR841-v10
611d4f8e Roger Pueyo Centelles
ARCH:=ar71xx
782d9b7b Roger Pueyo Centelles
SUBARCH:=generic
31314f1e Roger Pueyo Centelles
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=tl-wr841-v10
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
611d4f8e Roger Pueyo Centelles
endif

0d8eb3f9 Roger Pueyo Centelles
ifeq ($(T),tl-wr842n-v1)
9a8d0b07 Roger Pueyo Centelles
NAME:=TP-Link_TL-WR842N-v1
54a4d8b6 p4u
ARCH:=ar71xx
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=tl-wr842n-v1
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
54a4d8b6 p4u
endif

9a8d0b07 Roger Pueyo Centelles
ifeq ($(T),tl-wr703n-v1)
50881ab5 Roger Pueyo Centelles
NAME:=TP-Link_TL-WR703N-v1
f9f3fc15 p4u
ARCH:=ar71xx
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=tl-wr703n-v1
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
f9f3fc15 p4u
endif


9a8d0b07 Roger Pueyo Centelles
ifeq ($(T),tl-mr3020-v1)
50881ab5 Roger Pueyo Centelles
NAME:=TP-Link_TL-MR3020-v1
c49cef83 p4u
ARCH:=ar71xx
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=tl-mr3020-v1
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
ae80821b p4u
endif

b8b00429 Roger Pueyo Centelles
ifeq ($(T),tl-mr3040-v1)
50881ab5 Roger Pueyo Centelles
NAME:=TP-Link_TL-MR3040-v1
243c7ec6 p4u
ARCH:=ar71xx
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=tl-mr3040-v1
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
3a4e6871 Roger Pueyo Centelles
endif
137624cc p4u
a9d9e2c2 Roger Pueyo Centelles
ifeq ($(T),tl-wa7510n)
NAME:=TP-Link_TL-WA7510N
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=tl-wa7510n
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
a9d9e2c2 Roger Pueyo Centelles
endif

ifeq ($(T),tl-wdr3500-v1)
NAME:=TP-Link_TL-WDR3500-v1
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
PROFILE:=qmp-big-node
MPNAME:=tl-wdr3500-v1
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
a9d9e2c2 Roger Pueyo Centelles
endif
137624cc p4u
3e50186d Roger Pueyo Centelles
ifeq ($(T),tl-wa7510n)
NAME:=TP-Link_TL-WA7510N
ARCH:=ar71xx
TBUILD:=openwrt
PROFILE:=ath-qmp-tiny-node
0b4e86ab Roger Pueyo Centelles
IMAGE:=bin/$(ARCH)/qmp-ar71xx-generic-tl-wa7510n-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/qmp-ar71xx-generic-tl-wa7510n-squashfs-sysupgrade.bin
3e50186d Roger Pueyo Centelles
endif

ifeq ($(T),tl-wdr3500-v1)
NAME:=TP-Link_TL-WDR3500-v1
ARCH:=ar71xx
TBUILD:=openwrt
PROFILE:=ath-qmp-big-node
0b4e86ab Roger Pueyo Centelles
IMAGE:=bin/$(ARCH)/qmp-ar71xx-generic-tl-wdr3500-v1-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/qmp-ar71xx-generic-tl-wdr3500-v1-squashfs-sysupgrade.bin
3e50186d Roger Pueyo Centelles
endif

0ebffef3 Jorge L Florit
ifeq ($(T),tl-wdr3600)
50881ab5 Roger Pueyo Centelles
NAME:=TP-Link_TL-WDR3600-v1
0ebffef3 Jorge L Florit
ARCH:=ar71xx
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
PROFILE:=qmp-big-node
MPNAME:=tl-wdr3600-v1
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
243c7ec6 p4u
endif

4871984b p4u
ifeq ($(T),tl-wdr4300)
50881ab5 Roger Pueyo Centelles
NAME:=TP-Link_TL-WDR4300-v1
4871984b p4u
ARCH:=ar71xx
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
PROFILE:=qmp-big-node
MPNAME:=tl-wdr4300-v1
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
4871984b p4u
endif

167d191a Roger Pueyo Centelles
ifeq ($(T),tl-wdr4900-v1)
50881ab5 Roger Pueyo Centelles
NAME:=TP-Link_TL-WDR4900-v1
167d191a Roger Pueyo Centelles
ARCH:=mpc85xx
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
0e1aa02a Roger Pueyo Centelles
PROFILE:=qmp-big-node
MPNAME:=tl-wdr4900-v1
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
167d191a Roger Pueyo Centelles
endif

9a8d0b07 Roger Pueyo Centelles
ifeq ($(T),tl-wr743nd-v1)
50881ab5 Roger Pueyo Centelles
NAME:=TP-Link_TL-WR743ND-v1
cb3f65fc Pau Escrich
ARCH:=ar71xx
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=tl-wr743nd-v1
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
cb3f65fc Pau Escrich
endif

ifeq ($(T),tl-wr740n)
50881ab5 Roger Pueyo Centelles
NAME:=TP-Link_TL-WR740N-v1
cb3f65fc Pau Escrich
ARCH:=ar71xx
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=-tl-wr740n-v1
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
cb3f65fc Pau Escrich
endif

eb04ce1a Roger Pueyo Centelles
ifeq ($(T),wpe72-8M)
NAME:=Compex_WPE72-8M
92b6b927 p4u
ARCH:=ar71xx
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=WPE72_8M
FACTORY:=$(DISTLC)-$(ARCH)-$(SUBARCH)-wpe72-squashfs-8M-factory.img
SYSUPGRADE:=$(DISTLC)-$(ARCH)-$(SUBARCH)-wpe72-squashfs-8M-sysupgrade.img
92b6b927 p4u
endif

e380de91 Pau Escrich
ifeq ($(T),dragino2)
50881ab5 Roger Pueyo Centelles
NAME:=Dragino_MS14
e380de91 Pau Escrich
ARCH:=ar71xx
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=dragino2
FACTORY:=$(DISTLC)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTLC)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
e380de91 Pau Escrich
endif

2cd2d361 Roger Pueyo Centelles
ifeq ($(T),unifiac-lite)
NAME:=Ubiquiti_UniFi-AP-AC-Lite
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
MPNAME:=ubnt-unifiac-lite
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
e380de91 Pau Escrich
endif

f3578636 Roger Pueyo Centelles
ifeq ($(T),unifi-ap)
2e70cc30 Roger Pueyo Centelles
NAME:=Ubiquiti_UniFi-AP
f3578636 Roger Pueyo Centelles
ARCH:=ar71xx
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=ubnt-unifi
23a7961c Roger Pueyo Centelles
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
9a8d0b07 Roger Pueyo Centelles
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
f3578636 Roger Pueyo Centelles
endif

0c263807 Roger Pueyo Centelles
ifeq ($(T),uap-pro)
2e70cc30 Roger Pueyo Centelles
NAME:=Ubiquiti_UniFi-AP-PRO
0c263807 Roger Pueyo Centelles
ARCH:=ar71xx
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=ubnt-uap-pro
23a7961c Roger Pueyo Centelles
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
9a8d0b07 Roger Pueyo Centelles
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
0c263807 Roger Pueyo Centelles
endif

0ebffef3 Jorge L Florit
ifeq ($(T),vbox)
50881ab5 Roger Pueyo Centelles
NAME:=VirtualBox_x86
0ebffef3 Jorge L Florit
ARCH:=x86
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
ca37bbc7 Roger Pueyo Centelles
MPNAME:=vbox
b2ebc4ea Roger Pueyo Centelles
SQUASHIMAGE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(COMBINEDSQUASHVDI)
EXT4IMAGE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(COMBINEDEXT4VDI)
2c86914a Roger Pueyo Centelles
BINEXT=vdi
0ebffef3 Jorge L Florit
endif

59f8a977 Roger Pueyo Centelles
ifeq ($(T),vbox64)
NAME:=VirtualBox_x86-64
ARCH:=x86
SUBARCH:=64
TBUILD:=lede
MPNAME:=vbox
SQUASHIMAGE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(COMBINEDSQUASHVDI)
EXT4IMAGE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(COMBINEDEXT4VDI)
0ebffef3 Jorge L Florit
endif

ifeq ($(T),vmware)
50881ab5 Roger Pueyo Centelles
NAME:=VMware_x86
0ebffef3 Jorge L Florit
ARCH:=x86
973bac34 Roger Pueyo Centelles
TBUILD:=lede
02596ec0 Roger Pueyo Centelles
SUBARCH:=generic
ca37bbc7 Roger Pueyo Centelles
MPNAME:=vmware
b2ebc4ea Roger Pueyo Centelles
SQUASHIMAGE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(COMBINEDSQUASHVMDK)
EXT4IMAGE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(COMBINEDEXT4VMDK)
2c86914a Roger Pueyo Centelles
BINEXT=vmdk
0ebffef3 Jorge L Florit
endif
98c56dad Roger Pueyo Centelles
59f8a977 Roger Pueyo Centelles
ifeq ($(T),vmware64)
NAME:=VMware_x86-64
ARCH:=x86
TBUILD:=lede
SUBARCH:=64
MPNAME:=vmware
SQUASHIMAGE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(COMBINEDSQUASHVMDK)
EXT4IMAGE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(COMBINEDEXT4VMDK)
0ebffef3 Jorge L Florit
endif
98c56dad Roger Pueyo Centelles
eb04ce1a Roger Pueyo Centelles
ifeq ($(T),vocore-8M)
NAME:=Vonger_VoCore-8M
6d51a64d Roger Pueyo Centelles
ARCH:=ramips
973bac34 Roger Pueyo Centelles
SUBARCH:=rt305x
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=vocore-8M
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
eb04ce1a Roger Pueyo Centelles
endif

ifeq ($(T),vocore-16M)
NAME:=Vonger_VoCore-16M
ARCH:=ramips
SUBARCH:=rt305x
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=vocore-16M
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
3a4e6871 Roger Pueyo Centelles
endif
6d51a64d Roger Pueyo Centelles
9eeaee45 Roger Pueyo Centelles
ifeq ($(T),microwrt)
NAME:=Microduino_MicroWRT
ARCH:=ramips
973bac34 Roger Pueyo Centelles
SUBARCH:=mt7620
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=microwrt
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
3a4e6871 Roger Pueyo Centelles
endif
9eeaee45 Roger Pueyo Centelles
aa153c49 Roger Pueyo Centelles
ifeq ($(T),wl-wn575a3)
NAME:=Wavlink_WL-WN575A3
a2b1879a Roger Pueyo Centelles
ARCH:=ramips
aa153c49 Roger Pueyo Centelles
SUBARCH:=mt7628
TBUILD:=lede
MPNAME:=wl-wn575a3
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
4c2ad901 Simó Albert i Beltran
f96ef416 Roger Pueyo Centelles
ifeq ($(T),wt1520-4M)
50881ab5 Roger Pueyo Centelles
NAME:=Nexx_WT1520-4M
58c5bc81 Roger Pueyo Centelles
ARCH:=ramips
973bac34 Roger Pueyo Centelles
SUBARCH:=rt305x
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=wt1520-4M
FACTORY:=$(DISTLEGACY)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTLEGACY)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
58c5bc81 Roger Pueyo Centelles
endif

f96ef416 Roger Pueyo Centelles
ifeq ($(T),wt1520-8M)
50881ab5 Roger Pueyo Centelles
NAME:=Nexx_WT1520-8M
58c5bc81 Roger Pueyo Centelles
ARCH:=ramips
973bac34 Roger Pueyo Centelles
SUBARCH:=rt305x
TBUILD:=lede
58c5bc81 Roger Pueyo Centelles
PROFILE:=rt5350-qmp-small-node
9a8d0b07 Roger Pueyo Centelles
MPNAME:=wt1520-8M
FACTORY:=$(DISTLEGACY)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTLEGACY)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
f93bdd7e Roger Pueyo Centelles
endif

42534ea4 Roger Pueyo Centelles
ifeq ($(T),dir-810l)
NAME:=D-Link_DIR-810L
f93bdd7e Roger Pueyo Centelles
ARCH:=ramips
42534ea4 Roger Pueyo Centelles
SUBARCH:=mt7620
TBUILD:=lede
MPNAME:=dir-810l
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
a2b1879a Roger Pueyo Centelles
endif

06d66f77 Roger Pueyo Centelles
ifeq ($(T),miwifi-mini)
50881ab5 Roger Pueyo Centelles
NAME:=Xiaomi_MiWiFi-Mini
663c6c05 Roger Pueyo Centelles
ARCH:=ramips
42534ea4 Roger Pueyo Centelles
SUBARCH:=mt7620
TBUILD:=lede
MPNAME:=miwifi-mini
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
aeaffae2 Simó Albert i Beltran
endif
c06b74bc Roger Pueyo Centelles
42534ea4 Roger Pueyo Centelles
ifeq ($(T),wrtnode)
NAME:=WRTnode_WRTnode
ARCH:=ramips
SUBARCH:=mt7620
TBUILD:=lede
MPNAME:=wrtnode
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
c06b74bc Roger Pueyo Centelles
endif

f96ef416 Roger Pueyo Centelles
ifeq ($(T),wt3020-4M)
50881ab5 Roger Pueyo Centelles
NAME:=Nexx_WT3020-4M
a2b1879a Roger Pueyo Centelles
ARCH:=ramips
973bac34 Roger Pueyo Centelles
SUBARCH:=mt7620
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=wt3020-4M
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
c06b74bc Roger Pueyo Centelles
endif

f96ef416 Roger Pueyo Centelles
ifeq ($(T),wt3020-8M)
50881ab5 Roger Pueyo Centelles
NAME:=Nexx_WT3020-8M
f93bdd7e Roger Pueyo Centelles
ARCH:=ramips
973bac34 Roger Pueyo Centelles
SUBARCH:=mt7620
TBUILD:=lede
9a8d0b07 Roger Pueyo Centelles
MPNAME:=wt3020-8M
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
c06b74bc Roger Pueyo Centelles
endif

42534ea4 Roger Pueyo Centelles
ifeq ($(T),zbt-ape522ii)
NAME:=ZBT_APE522II
c06b74bc Roger Pueyo Centelles
ARCH:=ramips
973bac34 Roger Pueyo Centelles
SUBARCH:=mt7620
TBUILD:=lede
42534ea4 Roger Pueyo Centelles
MPNAME:=zbt-ape522ii
9a8d0b07 Roger Pueyo Centelles
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
c06b74bc Roger Pueyo Centelles
endif

aeaffae2 Simó Albert i Beltran
ifeq ($(T),kvm)
50881ab5 Roger Pueyo Centelles
NAME:=KVM_x86
aeaffae2 Simó Albert i Beltran
ARCH:=x86
973bac34 Roger Pueyo Centelles
SUBARCH:=generic
TBUILD:=lede
ca37bbc7 Roger Pueyo Centelles
MPNAME:=kvm
2c86914a Roger Pueyo Centelles
SQUASHIMAGE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(COMBINEDSQUASHIMG)
EXT4IMAGE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(COMBINEDEXT4IMG)
BINEXT=img.gz
614698c5 Roger Pueyo Centelles
endif

59f8a977 Roger Pueyo Centelles
ifeq ($(T),kvm64)
NAME:=KVM_x86-64
c06b74bc Roger Pueyo Centelles
ARCH:=x86
59f8a977 Roger Pueyo Centelles
SUBARCH:=64
TBUILD:=lede
MPNAME:=kvm
SQUASHIMAGE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(COMBINEDSQUASHVDI)
EXT4IMAGE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(COMBINEDEXT4VDI)
c06b74bc Roger Pueyo Centelles
endif
59f8a977 Roger Pueyo Centelles
b8e71113 Roger Pueyo Centelles
DEVPKG ?= CONFIG_TARGET_DEVICE_PACKAGES_$(ARCH)_$(SUBARCH)_DEVICE_$(DEVICE)=$PROFILE