Projecte

General

Perfil

« Anterior | Següent » 

Revisió 0a1f5a1f

Afegit per Pau Escrich fa casi 12 anys

Added config syncronization each time build is called
Added new var TBUILD defined in targets.mk
Added new var TARGET_MASTER defined in targets.mk
Some other small changes

Visualitza les diferències:

targets.mk
HW_AVAILABLE := alix vbox rs rspro nsm5 nsm2 tl-2543 tl-841 tl-842 tl-N750 freestation rocket bullet wpe72 pico2
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
ifeq ($(T),rspro)
NAME:=RouterStationPro
ARCH:=ar71xx
TBUILD:=ar71xx
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-ubnt-rspro-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-ubnt-rspro-squashfs-sysupgrade.bin
endif
ifeq ($(T),rs)
NAME:=RouterStation
override TARGET:=rspro
ARCH:=ar71xx
TBUILD:=ar71xx
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-ubnt-rs-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-ubnt-rs-squashfs-sysupgrade.bin
endif
ifeq ($(T),alix)
NAME:=Alix
ARCH:=x86
IMAGE:=bin/$(ARCH)/openwrt-x86-generic-combined-squashfs.img
SYSUPGRADE:=bin/$(ARCH)/openwrt-x86-generic-combined-squashfs.img
endif
ifeq ($(T),vbox)
NAME:=VBox
ARCH:=x86
override TARGET:=alix
TBUILD:=x86
IMAGE:=bin/$(ARCH)/openwrt-x86-generic-combined-ext2.vdi
SYSUPGRADE:=bin/$(ARCH)/openwrt-x86-generic-combined-ext2.vdi
endif
ifeq ($(T),nsm5)
NAME:=NanoStationM5
ARCH:=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),nsm2)
NAME:=NanoStationM2
override TARGET:=nsm5
ARCH:=ar71xx
TBUILD:=ar71xx
TARGET_MASTER:=nsm5
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),rocket)
NAME:=Rocket
override TARGET:=nsm5
ARCH:=ar71xx
TBUILD:=ar71xx
TARGET_MASTER:=nsm5
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-ubnt-rocket-m-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-ubnt-rocket-m-squashfs-sysupgrade.bin
endif
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
ifeq ($(T),freestation)
NAME:=Freestation
ARCH:=ramips
......
ifeq ($(T),tl-842)
NAME:=Tplink842
ARCH:=ar71xx
TBUILD:=tl-84X
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
......
ifeq ($(T),tl-841)
NAME:=Tplink841
ARCH:=ar71xx
TBUILD:=tl-84X
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
......
ifeq ($(T),wpe72)
NAME:=CompexWPE72
ARCH:=ar71xx
TBUILD:=tl-mr3020
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-wpe72-squashfs-8M-factory.img
override OWRT_SVN = -r 31673 svn://svn.openwrt.org/openwrt/trunk
override OWRT_PKG_SVN = -r 31673 svn://svn.openwrt.org/openwrt/packages
......
ifeq ($(T),wispstation)
NAME:=WispStation
ARCH:=atheros
TBUILD:=atheros
IMAGE:=bin/$(ARCH)/openwrt-atheros-ubnt5-squashfs.bin
endif
ifeq ($(T),bullet)
NAME:=Bullet
override TARGET:=nsm5
ARCH:=ar71xx
IMAGE:=bin/$(ARCH)/openwrt-ar71xx-ubnt-bullet-m-squashfs-factory.bin
SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-ubnt-bullet-m-squashfs-sysupgrade.bin
endif
ifeq ($(T),pico2)
NAME:=PicoStation2
ARCH:=atheros
IMAGE:=bin/$(ARCH)/openwrt-atheros-ubnt2-pico2-squashfs.bin
endif

També disponible a: Unified diff