Projecte

General

Perfil

Baixar (9.16 KB) Estadístiques
| Branca: | Etiqueta: | Revisió:
cef88a16 p4u
# targets.mk
0ebffef3 Jorge L Florit
# Copyright (C) 2011-2013 qmp.cat
6b5e8a5c p4u
#
cef88a16 p4u
# This is free software, licensed under the GNU General Public License v3.
# See LICENSE for more information.
#
#
# For each target the next variables must be defined
# NAME := The name of the device used for output firmware file name
# ARCH := The OpenWRT architecture
# 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
8e846aca Roger Pueyo Centelles
HW_AVAILABLE := ar71xx bullet kvm nsm2 nsm5 pico2 rocket rs rspro tl-2543 tl-703n tl-wr841n-v7 tl-wr841n-v8 tl-wr841n-v9 tl-842 tl-mr3020 tl-mr3040 tl-mr3040-cam tl-wdr3600 tl-wdr4300 tl-wdr4900-v1 wpe72 dragino2 alix x86 unifi-ap vbox vmware wrtnode ath-ib
905adba8 Pau Escrich
TBUILD_LIST := openwrt
6b5e8a5c p4u
67e67aad p4u
ifeq ($(T),ar71xx)
NAME:=ar71xx
ARCH:=ar71xx
905adba8 Pau Escrich
TBUILD:=openwrt
92b6b927 p4u
PROFILE:=ath-qmp-tiny-node
67e67aad p4u
endif

80b64c77 Pau Escrich
ifeq ($(T),ath-ib)
NAME:=ar71xx
ARCH:=ar71xx
905adba8 Pau Escrich
TBUILD:=openwrt
80b64c77 Pau Escrich
PROFILE:=ath-imagebuilder
override MAKE_SRC = -j$(J) V=$(V) IGNORE_ERRORS=1
022f4fc5 Roger Pueyo Centelles
IMAGE:=bin/$(ARCH)/OpenWrt-ImageBuilder-$(ARCH)_generic-for-linux-x86_64.tar.bz2 ImageBuilder-qMp-ar71xx-x86_64.tar.bz2
80b64c77 Pau Escrich
endif

0a1f5a1f p4u
ifeq ($(T),alix)
NAME:=Alix
ARCH:=x86
905adba8 Pau Escrich
TBUILD:=openwrt
92b6b927 p4u
PROFILE:=x86-qmp-big-node
ef701aa8 Simó Albert i Beltran
IMAGE:=bin/$(ARCH)/openwrt-x86-alix2-combined-squashfs.img
SYSUPGRADE:=bin/$(ARCH)/openwrt-x86-alix2-combined-squashfs.img
0a1f5a1f p4u
endif

c59a1b4d Pau Escrich
ifeq ($(T),x86)
NAME:=x86
ARCH:=x86
905adba8 Pau Escrich
TBUILD:=openwrt
c59a1b4d Pau Escrich
PROFILE:=x86-qmp-big-node
IMAGE:=bin/$(ARCH)/openwrt-x86-generic-combined-squashfs.img
SYSUPGRADE:=bin/$(ARCH)/openwrt-x86-generic-combined-squashfs.img
endif


0ebffef3 Jorge L Florit
ifeq ($(T),bullet)
NAME:=Bullet
ARCH:=ar71xx
905adba8 Pau Escrich
TBUILD:=openwrt
92b6b927 p4u
PROFILE:=ath-qmp-small-node
0ebffef3 Jorge L Florit
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-ubnt-bullet-m-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-ubnt-bullet-m-squashfs-sysupgrade.bin
endif

ifeq ($(T),nsm2)
NAME:=NanoStationM2
ARCH:=ar71xx
905adba8 Pau Escrich
TBUILD:=openwrt
92b6b927 p4u
PROFILE:=ath-qmp-small-node
0ebffef3 Jorge L Florit
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-ubnt-nano-m-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-ubnt-nano-m-squashfs-sysupgrade.bin
endif

0a1f5a1f p4u
ifeq ($(T),nsm5)
NAME:=NanoStationM5
ARCH:=ar71xx
905adba8 Pau Escrich
TBUILD:=openwrt
92b6b927 p4u
PROFILE:=ath-qmp-small-node
ae80821b p4u
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-ubnt-nano-m-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-ubnt-nano-m-squashfs-sysupgrade.bin
0a1f5a1f p4u
endif

ifeq ($(T),pico2)
NAME:=PicoStation2
ARCH:=atheros
905adba8 Pau Escrich
TBUILD:=openwrt
92b6b927 p4u
PROFILE:=at2-qmp-tiny-node
0a1f5a1f p4u
BUILD_PATH:=$(BUILD_DIR)/atheros
IMAGE:=bin/$(ARCH)/openwrt-atheros-ubnt2-pico2-squashfs.bin
endif

0ebffef3 Jorge L Florit
ifeq ($(T),rocket)
NAME:=Rocket
6b5e8a5c p4u
ARCH:=ar71xx
905adba8 Pau Escrich
TBUILD:=openwrt
92b6b927 p4u
PROFILE:=ath-qmp-small-node
0ebffef3 Jorge L Florit
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-ubnt-rocket-m-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-ubnt-rocket-m-squashfs-sysupgrade.bin
6b5e8a5c p4u
endif

ifeq ($(T),rs)
NAME:=RouterStation
ARCH:=ar71xx
905adba8 Pau Escrich
TBUILD:=openwrt
92b6b927 p4u
PROFILE:=ath-qmp-big-node
ae80821b p4u
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-ubnt-rs-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-ubnt-rs-squashfs-sysupgrade.bin
6b5e8a5c p4u
endif

0ebffef3 Jorge L Florit
ifeq ($(T),rspro)
NAME:=RouterStationPro
0a1f5a1f p4u
ARCH:=ar71xx
905adba8 Pau Escrich
TBUILD:=openwrt
92b6b927 p4u
PROFILE:=ath-qmp-big-node
0ebffef3 Jorge L Florit
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-ubnt-rspro-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-ubnt-rspro-squashfs-sysupgrade.bin
6f755fd4 p4u
endif

c49cef83 p4u
ifeq ($(T),tl-2543)
0e766927 p4u
NAME:=Tplink2543
bc56881a p4u
ARCH:=ar71xx
905adba8 Pau Escrich
TBUILD:=openwrt
92b6b927 p4u
PROFILE:=ath-qmp-small-node
ae80821b p4u
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wr2543-v1-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wr2543-v1-squashfs-sysupgrade.bin
9a0da680 p4u
endif

0d94a873 Roger Pueyo Centelles
ifeq ($(T),tl-wr841n-v7)
NAME:=TP-Link-TL-WR841N-v7
512c6391 Marc Navarro
ARCH:=ar71xx
905adba8 Pau Escrich
TBUILD:=openwrt
92b6b927 p4u
PROFILE:=ath-qmp-tiny-node
512c6391 Marc Navarro
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wr841nd-v7-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wr841nd-v7-squashfs-sysupgrade.bin
endif

d3e38b73 Lino
ifeq ($(T),tl-wr841n-v8)
NAME:=TP-Link-TL-WR841N-v8
ARCH:=ar71xx
905adba8 Pau Escrich
TBUILD:=openwrt
d3e38b73 Lino
PROFILE:=ath-qmp-tiny-node
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wr841n-v8-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wr841n-v8-squashfs-sysupgrade.bin
endif

d3d4970d Roger Pueyo Centelles
ifeq ($(T),tl-wr841n-v9)
NAME:=TP-Link-TL-WR841N-v9
ARCH:=ar71xx
TBUILD:=openwrt
PROFILE:=ath-qmp-tiny-node
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wr841n-v9-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wr841n-v9-squashfs-sysupgrade.bin
endif

0ebffef3 Jorge L Florit
ifeq ($(T),tl-842)
NAME:=Tplink842
54a4d8b6 p4u
ARCH:=ar71xx
905adba8 Pau Escrich
TBUILD:=openwrt
92b6b927 p4u
PROFILE:=ath-qmp-tiny-node
0ebffef3 Jorge L Florit
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wr842n-v1-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wr842n-v1-squashfs-sysupgrade.bin
54a4d8b6 p4u
endif

f9f3fc15 p4u
ifeq ($(T),tl-703n)
NAME:=Tplink703n
ARCH:=ar71xx
0ba788b0 Pau Escrich
TBUILD:=openwrt
92b6b927 p4u
PROFILE:=ath-qmp-tiny-node
f9f3fc15 p4u
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-sysupgrade.bin
endif


c49cef83 p4u
ifeq ($(T),tl-mr3020)
NAME:=TplinkMR3020
ARCH:=ar71xx
905adba8 Pau Escrich
TBUILD:=openwrt
92b6b927 p4u
PROFILE:=ath-qmp-tiny-node
c49cef83 p4u
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-sysupgrade.bin
ae80821b p4u
endif

243c7ec6 p4u
ifeq ($(T),tl-mr3040)
NAME:=TplinkMR3040
ARCH:=ar71xx
905adba8 Pau Escrich
TBUILD:=openwrt
92b6b927 p4u
PROFILE:=ath-qmp-tiny-node
243c7ec6 p4u
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-mr3040-v1-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-mr3040-v1-squashfs-sysupgrade.bin
eb0d8b08 p4u
endif
137624cc p4u
a8f1b79d p4u
ifeq ($(T),tl-mr3040-cam)
NAME:=TplinkMR3040CamStreaming
ARCH:=ar71xx
905adba8 Pau Escrich
TBUILD:=openwrt
92b6b927 p4u
PROFILE:=ath-qmp-tiny-node
a8f1b79d p4u
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-mr3040-v1-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-mr3040-v1-squashfs-sysupgrade.bin
endif

a7ee1c60 p4u
ifeq ($(T),tl-mr3040-bmx6dev)
NAME:=TplinkMR3040Bmx6Testing
ARCH:=ar71xx
905adba8 Pau Escrich
TBUILD:=openwrt
92b6b927 p4u
PROFILE:=ath-qmp-tiny-node
a7ee1c60 p4u
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-mr3040-v1-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-mr3040-v1-squashfs-sysupgrade.bin
endif

0ebffef3 Jorge L Florit
ifeq ($(T),tl-wdr3600)
NAME:=TplinkWDR3600
ARCH:=ar71xx
905adba8 Pau Escrich
TBUILD:=openwrt
92b6b927 p4u
PROFILE:=ath-qmp-big-node
0ebffef3 Jorge L Florit
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wdr3600-v1-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wdr3600-v1-squashfs-sysupgrade.bin
243c7ec6 p4u
endif

4871984b p4u
ifeq ($(T),tl-wdr4300)
NAME:=TplinkWDR4300
ARCH:=ar71xx
905adba8 Pau Escrich
TBUILD:=openwrt
92b6b927 p4u
PROFILE:=ath-qmp-big-node
4871984b p4u
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-sysupgrade.bin
endif

8e846aca Roger Pueyo Centelles
ifeq ($(T),tl-wdr4900-v1)
NAME:=TP-Link-TL-WDR4900-v1
ARCH:=mpc85xx
TBUILD:=openwrt
IMAGE:=bin/$(ARCH)/openwrt-mpc85xx-generic-tl-wdr4900-v1-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-mpc85xx-generic-tl-wdr4900-v1-squashfs-sysupgrade.bin
endif

cb3f65fc Pau Escrich
ifeq ($(T),tl-wr743nd)
NAME:=Tplink743nd
ARCH:=ar71xx
TBUILD:=openwrt
PROFILE:=ath-qmp-tiny-node
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wr743nd-v1-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wr743nd-v1-squashfs-sysupgrade.bin
endif

ifeq ($(T),tl-wr740n)
NAME:=Tplink740n
ARCH:=ar71xx
TBUILD:=openwrt
PROFILE:=ath-qmp-tiny-node
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wr740n-v1-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wr740n-v1-squashfs-sysupgrade.bin
endif

92b6b927 p4u
ifeq ($(T),wpe72)
NAME:=CompexWPE72
ARCH:=ar71xx
905adba8 Pau Escrich
TBUILD:=openwrt
92b6b927 p4u
PROFILE:=ath-qmp-small-node
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-wpe72-squashfs-8M-factory.img
endif

e380de91 Pau Escrich
ifeq ($(T),dragino2)
NAME:=Dragino2
ARCH:=ar71xx
TBUILD:=openwrt
PROFILE:=ath-qmp-small-node
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-dragino2-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-dragino2-squashfs-sysupgrade.bin
endif

f3578636 Roger Pueyo Centelles
ifeq ($(T),unifi-ap)
NAME:=Ubiquiti-Unifi-AP
ARCH:=ar71xx
TBUILD:=openwrt
PROFILE:=ath-qmp-small-node
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-ubnt-unifi-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-ubnt-unifi-squashfs-sysupgrade.bin
endif

0ebffef3 Jorge L Florit
ifeq ($(T),vbox)
NAME:=VBox
ARCH:=x86
905adba8 Pau Escrich
TBUILD:=openwrt
92b6b927 p4u
PROFILE:=vm-qmp-big-node
2d10bc7c Roger Pueyo Centelles
IMAGE:=bin/$(ARCH)/openwrt-x86-generic-combined-ext4.img.gz
0ebffef3 Jorge L Florit
endif

ifeq ($(T),vmware)
NAME:=VMware
ARCH:=x86
905adba8 Pau Escrich
TBUILD:=openwrt
92b6b927 p4u
PROFILE:=vm-qmp-big-node
0ebffef3 Jorge L Florit
IMAGE:=bin/$(ARCH)/openwrt-x86-generic-combined-ext4.vmdk
SYSUPGRADE:=bin/$(ARCH)/openwrt-x86-generic-combined-ext4.vmdk
endif
98c56dad Roger Pueyo Centelles
ifeq ($(T),wrtnode)
NAME:=WRTnode
ARCH:=ramips
TBUILD:=openwrt
IMAGE:=bin/$(ARCH)/openwrt-ramips-mt7620n-wrtnode-squashfs-sysupgrade.bin
endif
4c2ad901 Simó Albert i Beltran
aeaffae2 Simó Albert i Beltran
ifeq ($(T),kvm)
NAME:=KVM
ARCH:=x86
7fd7b47a Roger Pueyo Centelles
TBUILD:=openwrt
aeaffae2 Simó Albert i Beltran
PROFILE:=kvm-qmp-big-node
IMAGE:=bin/$(ARCH)/openwrt-x86-kvm_guest-combined-ext4.img.gz
endif