Projecte

General

Perfil

Baixar (4.68 KB) Estadístiques
| Branca: | Etiqueta: | Revisió:
cef88a16 p4u
# targets.mk
6b5e8a5c p4u
# Copyright (C) 2011 qmp.cat
#
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

# Optional
# TBUILD := The buildroot directory (relative to BUILD_DIR)
# TARGET_MASTER := If defined the config files will be taken from the master target
# 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
ae80821b p4u
HW_AVAILABLE := alix vbox rs rspro nsm5 nsm2 tl-2543 tl-841 tl-842 tl-wdr3600 tl-mr3020 tl-wr703 freestation rocket bullet wpe72 pico2
6b5e8a5c p4u
0a1f5a1f p4u
ifeq ($(T),alix)
NAME:=Alix
ARCH:=x86
TBUILD:=x86
IMAGE:=bin/$(ARCH)/openwrt-x86-generic-combined-squashfs.img
SYSUPGRADE:=bin/$(ARCH)/openwrt-x86-generic-combined-squashfs.img
endif

ifeq ($(T),nsm5)
NAME:=NanoStationM5
ARCH:=ar71xx
TBUILD:=ar71xx
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
TBUILD:=atheros
BUILD_PATH:=$(BUILD_DIR)/atheros
IMAGE:=bin/$(ARCH)/openwrt-atheros-ubnt2-pico2-squashfs.bin
endif

6b5e8a5c p4u
ifeq ($(T),rspro)
NAME:=RouterStationPro
ARCH:=ar71xx
0a1f5a1f p4u
TBUILD:=ar71xx
ae80821b p4u
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-ubnt-rspro-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-ubnt-rspro-squashfs-sysupgrade.bin
6b5e8a5c p4u
endif

ifeq ($(T),rs)
NAME:=RouterStation
ARCH:=ar71xx
0a1f5a1f p4u
TBUILD:=ar71xx
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

cc71c733 p4u
ifeq ($(T),vbox)
NAME:=VBox
ARCH:=x86
0a1f5a1f p4u
TBUILD:=x86
ae80821b p4u
IMAGE:=bin/$(ARCH)/openwrt-x86-generic-combined-ext4.vdi
SYSUPGRADE:=bin/$(ARCH)/openwrt-x86-generic-combined-ext4.vdi
cc71c733 p4u
endif

b79b17c8 p4u
ifeq ($(T),nsm2)
NAME:=NanoStationM2
ARCH:=ar71xx
0a1f5a1f p4u
TBUILD:=ar71xx
TARGET_MASTER:=nsm5
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
b79b17c8 p4u
endif

7a96ef47 p4u
ifeq ($(T),rocket)
NAME:=Rocket
ARCH:=ar71xx
0a1f5a1f p4u
TBUILD:=ar71xx
TARGET_MASTER:=nsm5
ae80821b p4u
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-ubnt-rocket-m-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-ubnt-rocket-m-squashfs-sysupgrade.bin
7a96ef47 p4u
endif

0a1f5a1f p4u
ifeq ($(T),bullet)
NAME:=Bullet
ARCH:=ar71xx
TBUILD:=ar71xx
TARGET_MASTER:=nsm5
ae80821b p4u
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-ubnt-bullet-m-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-ubnt-bullet-m-squashfs-sysupgrade.bin
0a1f5a1f p4u
endif

6f755fd4 p4u
ifeq ($(T),freestation)
NAME:=Freestation
ARCH:=ramips
2899925c p4u
IMAGE:=bin/$(ARCH)/openwrt-ramips-rt305x-freestation5-squashfs-sysupgrade.bin
9a0da680 p4u
SYSUPGRADE:=bin/$(ARCH)/openwrt-ramips-rt305x-freestation5-squashfs-sysupgrade.bin
6f755fd4 p4u
endif

c49cef83 p4u
ifeq ($(T),tl-2543)
0e766927 p4u
NAME:=Tplink2543
bc56881a p4u
ARCH:=ar71xx
ae80821b p4u
TBUILD:=ar71xx
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

c49cef83 p4u
ifeq ($(T),tl-842)
f6807f3d Marc Navarro
NAME:=Tplink842
ARCH:=ar71xx
ae80821b p4u
TBUILD:=ar71xx
f6807f3d Marc Navarro
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wr842n-v1-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wr842n-v1-squashfs-sysupgrade.bin
endif

c49cef83 p4u
ifeq ($(T),tl-841)
512c6391 Marc Navarro
NAME:=Tplink841
ARCH:=ar71xx
ae80821b p4u
TBUILD:=ar71xx
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

ae80821b p4u
ifeq ($(T),tl-wdr3600)
NAME:=TplinkWDR3600
54a4d8b6 p4u
ARCH:=ar71xx
ae80821b p4u
TBUILD:=ar71xx
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wdr3600-v1-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wdr3600-v1-squashfs-sysupgrade.bin
54a4d8b6 p4u
endif

c49cef83 p4u
ifeq ($(T),tl-mr3020)
NAME:=TplinkMR3020
ARCH:=ar71xx
ae80821b p4u
TBUILD:=ar71xx_aa
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

ifeq ($(T),tl-wr703)
NAME:=TplinkWR703n
ARCH:=ar71xx
TBUILD:=ar71xx_aa
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-sysupgrade.bin
c49cef83 p4u
endif
54a4d8b6 p4u
9a0da680 p4u
ifeq ($(T),wpe72)
2899925c p4u
NAME:=CompexWPE72
9a0da680 p4u
ARCH:=ar71xx
ae80821b p4u
TBUILD:=ar71xx
9a0da680 p4u
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-wpe72-squashfs-8M-factory.img
b79b17c8 p4u
endif