Projecte

General

Perfil

Baixar (5.37 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
cc71c733 p4u
HW_AVAILABLE := alix vbox rs rspro nsm5 nsm2 tl-2543 tl-841 tl-842 tl-N750 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
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-ubnt-nano-m-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-ubnt-nano-m-squashfs-sysupgrade.bin
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
ba9fab2c Agustí Moll Garcia
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-ubnt-rspro-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-ubnt-rspro-squashfs-sysupgrade.bin
6b5e8a5c p4u
endif

ifeq ($(T),rs)
NAME:=RouterStation
ARCH:=ar71xx
0a1f5a1f p4u
TBUILD:=ar71xx
ba9fab2c Agustí Moll Garcia
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-ubnt-rs-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-ubnt-rs-squashfs-sysupgrade.bin
6b5e8a5c p4u
endif

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

b79b17c8 p4u
ifeq ($(T),nsm2)
NAME:=NanoStationM2
ARCH:=ar71xx
0a1f5a1f p4u
TBUILD:=ar71xx
TARGET_MASTER:=nsm5
b79b17c8 p4u
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-ubnt-nano-m-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-ubnt-nano-m-squashfs-sysupgrade.bin
endif

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

0a1f5a1f p4u
ifeq ($(T),bullet)
NAME:=Bullet
ARCH:=ar71xx
TBUILD:=ar71xx
TARGET_MASTER:=nsm5
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-ubnt-bullet-m-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-ubnt-bullet-m-squashfs-sysupgrade.bin
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
2899925c p4u
override OWRT_SVN = -r 31673 svn://svn.openwrt.org/openwrt/trunk
override OWRT_PKG_SVN = -r 31673 svn://svn.openwrt.org/openwrt/packages
6f755fd4 p4u
endif

c49cef83 p4u
ifeq ($(T),tl-2543)
0e766927 p4u
NAME:=Tplink2543
bc56881a p4u
ARCH:=ar71xx
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wr2543n-v1-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wr2543n-v1-squashfs-sysupgrade.bin
83bfdffe p4u
override OWRT_SVN = -r 32353 svn://svn.openwrt.org/openwrt/trunk
override OWRT_PKG_SVN = -r 32353 svn://svn.openwrt.org/openwrt/packages
9a0da680 p4u
endif

c49cef83 p4u
ifeq ($(T),tl-842)
f6807f3d Marc Navarro
NAME:=Tplink842
ARCH:=ar71xx
0a1f5a1f p4u
TBUILD:=tl-84X
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
override OWRT_SVN = -r 31348 svn://svn.openwrt.org/openwrt/trunk
override OWRT_PKG_SVN = -r 31348 svn://svn.openwrt.org/openwrt/packages
endif

c49cef83 p4u
ifeq ($(T),tl-841)
512c6391 Marc Navarro
NAME:=Tplink841
ARCH:=ar71xx
0a1f5a1f p4u
TBUILD:=tl-84X
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
override OWRT_SVN = -r 31348 svn://svn.openwrt.org/openwrt/trunk
override OWRT_PKG_SVN = -r 31348 svn://svn.openwrt.org/openwrt/packages
endif

c49cef83 p4u
ifeq ($(T),tl-N750)
54a4d8b6 p4u
NAME:=TplinkN750
ARCH:=ar71xx
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-sysupgrade.bin
override OWRT_SVN = -r 32638 svn://svn.openwrt.org/openwrt/trunk
override OWRT_PKG_SVN = -r 32638 svn://svn.openwrt.org/openwrt/packages
endif

c49cef83 p4u
ifeq ($(T),tl-mr3020)
NAME:=TplinkMR3020
ARCH:=ar71xx
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-sysupgrade.bin
override OWRT_SVN = -r 31673 svn://svn.openwrt.org/openwrt/trunk
override OWRT_PKG_SVN = -r 31673 svn://svn.openwrt.org/openwrt/packages
endif
54a4d8b6 p4u
9a0da680 p4u
ifeq ($(T),wpe72)
2899925c p4u
NAME:=CompexWPE72
9a0da680 p4u
ARCH:=ar71xx
0a1f5a1f p4u
TBUILD:=tl-mr3020
9a0da680 p4u
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-wpe72-squashfs-8M-factory.img
2899925c p4u
override OWRT_SVN = -r 31673 svn://svn.openwrt.org/openwrt/trunk
override OWRT_PKG_SVN = -r 31673 svn://svn.openwrt.org/openwrt/packages
6f755fd4 p4u
endif

b79b17c8 p4u
ifeq ($(T),wispstation)
NAME:=WispStation
ARCH:=atheros
0a1f5a1f p4u
TBUILD:=atheros
b79b17c8 p4u
IMAGE:=bin/$(ARCH)/openwrt-atheros-ubnt5-squashfs.bin
endif