Projecte

General

Perfil

« Anterior | Següent » 

Revisió 9a8d0b07

Afegit per Roger Pueyo Centelles fa aproximadament 8 anys

[multiprofile] Adapt Makefile to multiprofile (II)

Visualitza les diferències:

Makefile
J ?= 1
V ?= 0
T ?= ar71xx
MPT ?= ar71xx-generic-mp
TBUILD ?= lede
MAKE_SRC = -j$(J) V=$(V)
IMAGEOPT ?= true
......
VERSION_NUMBER ?= trunk
COMMUNITY ?= qMp
EXTRA_PACKS =
DISTLC = `echo $(VERSION_DIST) | tr A-Z a-z`
include targets.mk mp-targets.mk
include targets.mk
PROFILE ?= ath-qmp-tiny-node
TIMESTAMP = $(shell date +%Y%m%d-%H%M)
#Checking if developer mode is enabled and if target is defined before
......
CONFIG = $(BUILD_PATH)/.config
KCONFIG = $(BUILD_PATH)/target/linux/$(ARCH)/config-*
.PHONY: checkout clean clean_qmp compile config kernel_menuconfig menuconfig mp-target-config list_archs list_targets post_build pre_build update
.PHONY: checkout clean clean_qmp compile config kernel_menuconfig menuconfig list_archs list_targets post_build pre_build update
define build_src
$(eval BRANCH_GIT=$(shell git --git-dir=$(BUILD_DIR)/qmp/.git branch|grep ^*|cut -d " " -f 2))
......
endef
define copy_config
@echo "Using profile $(PROFILE)"
cp -f $(CONFIG_DIR)/$(PROFILE) $(CONFIG) || echo "WARNING: Config file not found!"
-[ -f $(CONFIG_DIR)/targets/$(TARGET) ] && cat $(CONFIG_DIR)/targets/$(TARGET) >> $(CONFIG) || true
$(if $(T), $(call copy_config_target),$(call copy_config_target))
endef
define copy_config_mptarget
$(if $(T),@echo "Using multi-profile $(ARCH)-$(SUBARCH) for target $(T)", @echo "Using multi-profile $(MPT)")
cp -f $(CONFIG_DIR)/$(ARCH)-$(SUBARCH)-multiprofile $(CONFIG) || echo "WARNING: Config file not found!"
@for DEVICE in $(TINY); do \
echo $(DEVPKG)$$DEVICE=\"$(TINYPKG)\" >> $(CONFIG) ;\
done
@for DEVICE in $(SMALL); do \
echo $(DEVPKG)$$DEVICE=\"$(SMALLPKG)\" >> $(CONFIG) ; \
done
@for DEVICE in $(BIG); do \
echo $(DEVPKG)$$DEVICE=\"$(BIGPKG)\" >> $(CONFIG) ; \
done
cd $(BUILD_PATH) && make defconfig
endef
define copy_config_target
@echo "Using target $(T)"
@#If the target is part of a multi-profile target, then switch to multi-profile compilation
$(if $(MPNAME), \
$(call copy_config_mptarget), \
cp -f $(CONFIG_DIR)/$(PROFILE) $(CONFIG) || echo "WARNING: Config file not found!"; \
-[ -f $(CONFIG_DIR)/targets/$(TARGET) ] && cat $(CONFIG_DIR)/targets/$(TARGET) >> $(CONFIG) || true; \
cd $(BUILD_PATH) && make defconfig)
endef
define copy_config_obsolete
@echo "Syncronizing new configuration"
cp -f $(CONFIG_DIR)/$(TARGET_CONFIGS)/config $(CONFIG) || echo "WARNING: Config file not found!"
......
cp -f $(CONFIG) $(MY_CONFIGS)/$(TARGET)/config
endef
define mp-target-config
@echo "Using multi-profile $(MPT)"
cp -f $(CONFIG_DIR)/$(ARCH)-$(SUBARCH)-multiprofile $(CONFIG) || echo "WARNING: Config file not found!"
@for DEVICE in $(TINY); do \
echo $(DEVPKG)$$DEVICE=\"$(TINYPKG)\" >> $(CONFIG) ;\
done
@for DEVICE in $(SMALL); do \
echo $(DEVPKG)$$DEVICE=\"$(SMALLPKG)\" >> $(CONFIG) ; \
done
@for DEVICE in $(BIG); do \
echo $(DEVPKG)$$DEVICE=\"$(BIGPKG)\" >> $(CONFIG) ; \
done
cd $(BUILD_PATH) && make defconfig
endef
define kmenuconfig_owrt
make -C $(BUILD_PATH) kernel_menuconfig
mkdir -p $(MY_CONFIGS)/$(TARGET)
......
endef
define target_error
@echo "You must specify target using T var (make T=alix build)"
@echo "You must specify either a single target, using the T variable (e.g.: make T=alix build),"
@echo "or a multi-profile target, using the MPT variable (e.g.: make MPT=ar71xx-generic build),"
@echo ""
@echo "To see avialable targets run: make list_targets"
@echo "To see avialable multi-profile target run: make list_mptargets"
@exit 1
endef
......
checkout: .checkout_qmp .checkout_lede .checkout_lede_pkg .checkout_lede_pkg_override
$(if $(wildcard .checkout_$(TBUILD)),,$(call update_feeds,$(TBUILD)))
$(if $(wildcard .checkout_$(TBUILD)),,$(call mp-target-config))
$(if $(wildcard .checkout_$(TBUILD)),,$(call copy_config))
@touch .checkout_$(TBUILD)
sync_config:
$(if $(MPTARGET),,$(call target_error))
$(if $(wildcard $(MY_CONFIGS)/$(MPTARGET_CONFIGS)), $(call copy_myconfig),$(call mp-target-config))
$(if $(MPTARGET)$(TARGET),,$(call target_error))
$(if $(wildcard $(MY_CONFIGS)/$(MPTARGET_CONFIGS)), $(call copy_myconfig),$(call copy_config))
update: .checkout_lede_pkg .checkout_lede_pkg_override .checkout_qmp
$(if $(TBUILD),,$(call target_error))
......
menuconfig: checkout sync_config
$(call menuconfig_owrt)
mp-target-config:
$(call mp-target-config)
kernel_menuconfig: checkout sync_config
$(call kmenuconfig_owrt)
......
@exit 0
list_mptargets:
$(info $(MP_ARCHS))
$(info $(MP_AVAILABLE))
@exit 0
target_name:
configs/ath25-generic-multiprofile
CONFIG_TARGET_ath25=y
CONFIG_TARGET_MULTI_PROFILE=y
CONFIG_TARGET_ALL_PROFILES=y
CONFIG_TARGET_PER_DEVICE_ROOTFS=y
CONFIG_PACKAGE_qmp-system=y
CONFIG_PACKAGE_qmp-tiny-node=m
CONFIG_PACKAGE_qmp-small-node=m
CONFIG_PACKAGE_qmp-big-node=m
configs/brcm2708-bcm2708-multiprofile
CONFIG_TARGET_brcm2708=y
CONFIG_TARGET_brcm2708_bcm2708=y
CONFIG_TARGET_MULTI_PROFILE=y
CONFIG_TARGET_ALL_PROFILES=y
CONFIG_TARGET_PER_DEVICE_ROOTFS=y
CONFIG_PACKAGE_qmp-system=y
CONFIG_PACKAGE_qmp-tiny-node=m
CONFIG_PACKAGE_qmp-small-node=m
CONFIG_PACKAGE_qmp-big-node=m
configs/brcm2708-bcm2709-multiprofile
CONFIG_TARGET_brcm2708=y
CONFIG_TARGET_brcm2708_bcm2709=y
CONFIG_TARGET_MULTI_PROFILE=y
CONFIG_TARGET_ALL_PROFILES=y
CONFIG_TARGET_PER_DEVICE_ROOTFS=y
CONFIG_PACKAGE_qmp-system=y
CONFIG_PACKAGE_qmp-tiny-node=m
CONFIG_PACKAGE_qmp-small-node=m
CONFIG_PACKAGE_qmp-big-node=m
configs/brcm2708-bcm2710-multiprofile
CONFIG_TARGET_brcm2708=y
CONFIG_TARGET_brcm2708_bcm2710=y
CONFIG_TARGET_MULTI_PROFILE=y
CONFIG_TARGET_ALL_PROFILES=y
CONFIG_TARGET_PER_DEVICE_ROOTFS=y
CONFIG_PACKAGE_qmp-system=y
CONFIG_PACKAGE_qmp-tiny-node=m
CONFIG_PACKAGE_qmp-small-node=m
CONFIG_PACKAGE_qmp-big-node=m
configs/mpc85xx-qmp-big-node
CONFIG_TARGET_mpc85xx=y
CONFIG_TARGET_mpc85xx_generic=y
CONFIG_PACKAGE_qmp-big-node=y
configs/ramips-mt7621-multiprofile
CONFIG_TARGET_ramips=y
CONFIG_TARGET_ramips_mt7621=y
CONFIG_TARGET_MULTI_PROFILE=y
CONFIG_TARGET_ALL_PROFILES=y
CONFIG_TARGET_PER_DEVICE_ROOTFS=y
CONFIG_PACKAGE_qmp-system=y
CONFIG_PACKAGE_qmp-tiny-node=m
CONFIG_PACKAGE_qmp-small-node=m
CONFIG_PACKAGE_qmp-big-node=m
configs/ramips-rt305x-multiprofile
CONFIG_TARGET_ramips=y
CONFIG_TARGET_ramips_rt305x=y
CONFIG_TARGET_MULTI_PROFILE=y
CONFIG_TARGET_ALL_PROFILES=y
CONFIG_TARGET_PER_DEVICE_ROOTFS=y
CONFIG_PACKAGE_qmp-system=y
CONFIG_PACKAGE_qmp-tiny-node=m
CONFIG_PACKAGE_qmp-small-node=m
CONFIG_PACKAGE_qmp-big-node=m
mp-targets.mk
# targets.mk
# Copyright (C) 2011-2016 qmp.cat
#
# This is free software, licensed under the GNU General Public License v3.
# See LICENSE for more information.
#
# ToDo: document this file once the multi-profile
MP_ARCHS := ar71xx-generic-mp ramips-mt7620-mp
TBUILD_LIST := lede
TINYPKG ?= qmp-tiny-node
SMALLPKG ?= qmp-small-node
BIGPKG ?= qmp-big-node
ifeq ($(MPT),ar71xx-generic-mp)
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),ramips-mt7620-mp)
TBUILD:=lede
ARCH:=ramips
SUBARCH:=mt7620
DEVPKG:=CONFIG_TARGET_DEVICE_PACKAGES_$(ARCH)_$(SUBARCH)_DEVICE_$(DEVICE)
TINY:=wt3020-4M
SMALL:=cf-wr800n microwrt wrtnode wt3020-8M miwifi-mini dir-810l
BIG:=
endif
targets.mk
# Any option defined in Makefile can be overrided from here, for instance
# override OWRT_SVN = svn://mysvn.com/owrt
HW_AVAILABLE := alfa-nx bullet kvm nsm2 nsm5 nsm5-xw nslm5-xw rocket-m-xw pico2 rocket rs rspro mc-mac1200r tl-2543 tl-703n tl-wr841n-v7 tl-wr841n-v8 tl-wr841n-v9 tl-wr841n-v10 tl-842 tl-mr3020 tl-mr3040 tl-wa7510n tl-wdr3500-v1 tl-wdr3600 tl-wdr4300 tl-wdr4900-v1 wpe72-8M dragino2 alix soekris45xx x86 uap-pro unifi-ap vbox vmware vocore-8M vocore-16M wt1520-4M wt1520-8M cf-wr800n dir-810l microwrt wrtnode wt3020-4M wt3020-8M miwifi-mini lamobo-r1 ar71xx-generic-ib ath25-generic-ib brcm2708-bcm2708-ib brcm2708-bcm2709-ib brcm2708-bcm2710-ib mpc85xx-generic-ib ramips-mt7620-ib ramips-mt7621-ib ramips-rt305x-ib sunxi-generic-ib x86-generic-ib x86-geode-ib
COMBINEDSQUASH := combined-squashfs.bin
SDCARDVFATEXT4 := sdcard-vfat-ext4.img
SQUASHFACTORY := squashfs-factory.bin
SQUASHSYSUPGRADE := squashfs-sysupgrade.bin
TINYPKG ?= qmp-tiny-node
SMALLPKG ?= qmp-small-node
BIGPKG ?= qmp-big-node
TBUILD_LIST := lede
DISTLEGACY:=lede
MP_AVAILABLE := ath25-generic ar71xx-generic brcm2708-bcm2708 brcm2708-bcm2709 brcm2708-bcm2710 ramips-mt7620 ramips-mt7621 ramips-rt305x
HW_AVAILABLE := alfa-nx bullet kvm nsm2 nsm5 nsm5-xw nslm5-xw rocket-m-xw pico2 rocket rs rspro mc-mac1200r tl-2543-v1 tl-wr703n-v1 tl-wr743nd-v1 tl-wr841-v7 tl-wr841-v8 tl-wr841-v9 tl-wr841-v10 tl-842n-v1 tl-mr3020-v1 tl-mr3040-v1 tl-wa7510n tl-wdr3500-v1 tl-wdr3600 tl-wdr4300 tl-wdr4900-v1 wpe72-8M dragino2 alix soekris45xx x86 uap-pro unifi-ap vbox vmware vocore-8M vocore-16M wt1520-4M wt1520-8M cf-wr800n dir-810l microwrt wrtnode wt3020-4M wt3020-8M miwifi-mini lamobo-r1 ar71xx-generic-ib ath25-generic-ib brcm2708-bcm2708-ib brcm2708-bcm2709-ib brcm2708-bcm2710-ib mpc85xx-generic-ib ramips-mt7620-ib ramips-mt7621-ib ramips-rt305x-ib sunxi-generic-ib x86-generic-ib x86-geode-ib
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
ifeq ($(MPT),ramips-mt7620)
TBUILD:=lede
ARCH:=ramips
SUBARCH:=mt7620
DEVPKG:=CONFIG_TARGET_DEVICE_PACKAGES_$(ARCH)_$(SUBARCH)_DEVICE_$(DEVICE)
TINY:=wt3020-4M
SMALL:=cf-wr800n microwrt wrtnode wt3020-8M miwifi-mini dir-810l
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
ifeq ($(MPT),ramips-rt305x)
TBUILD:=lede
ARCH:=ramips
SUBARCH:=rt305x
DEVPKG:=CONFIG_TARGET_DEVICE_PACKAGES_$(ARCH)_$(SUBARCH)_DEVICE_$(DEVICE)
TINY:=
SMALL:=
BIG:=
endif
ifeq ($(T),alfa-nx)
NAME:=Alfa-Network_N5
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ath-qmp-small-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/lede-ar71xx-generic-alfa-nx-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/lede-ar71xx-generic-alfa-nx-squashfs-sysupgrade.bin
PROFILE:=qmp-small-node
MPNAME:=ALFANX
IMAGE:=
FACTORY:=$(DISTLEGACY)-$(ARCH)-$(SUBARCH)-$(T)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTLEGACY)-$(ARCH)-$(SUBARCH)-$(T)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),alix)
......
SUBARCH:=geode
TBUILD:=lede
PROFILE:=x86-qmp-big-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-x86-geode-combined-squashfs.img
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-x86-geode-combined-squashfs.img
MPNAME:=
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(COMBINEDSQUASH)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(COMBINEDSQUASH)
endif
ifeq ($(T),x86)
......
SUBARCH:=generic
TBUILD:=lede
PROFILE:=x86-qmp-big-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-x86-generic-combined-squashfs.img
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-x86-generic-combined-squashfs.img
MPNAME:=
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(COMBINEDSQUASH)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(COMBINEDSQUASH)
endif
ifeq ($(T),soekris45xx)
......
SUBARCH:=generic
TBUILD:=lede
PROFILE:=x86-qmp-big-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-x86-generic-combined-squashfs.img
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-x86-generic-combined-squashfs.img
MPNAME:=
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(COMBINEDSQUASH)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(COMBINEDSQUASH)
endif
ifeq ($(T),bullet)
......
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ath-qmp-small-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-ubnt-bullet-m-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-ubnt-bullet-m-squashfs-sysupgrade.bin
PROFILE:=qmp-small-node
MPNAME:=ubnt-bullet-m
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),cf-wr800n)
......
ARCH:=ramips
SUBARCH:=mt7620
TBUILD:=lede
PROFILE:=mt7620-qmp-small-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ramips-mt7620-cf-wr800n-squashfs-sysupgrade.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ramips-mt7620-cf-wr800n-squashfs-sysupgrade.bin
PROFILE:=qmp-small-node
MPNAME:=cf-wr800n
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),nsm2)
......
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ath-qmp-small-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-ubnt-nano-m-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-ubnt-nano-m-squashfs-sysupgrade.bin
PROFILE:=qmp-small-node
MPNAME:=ubnt-nano-m
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),nsm5)
......
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ath-qmp-small-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-ubnt-nano-m-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-ubnt-nano-m-squashfs-sysupgrade.bin
PROFILE:=qmp-small-node
MPNAME:=ubnt-nano-m
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),nsm5-xw)
......
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ath-qmp-small-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-ubnt-nano-m-xw-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-ubnt-nano-m-xw-squashfs-sysupgrade.bin
PROFILE:=qmp-small-node
MPNAME:=ubnt-nano-m-xw
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),nslm5-xw)
......
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ath-qmp-small-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-ubnt-loco-m-xw-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-ubnt-loco-m-xw-squashfs-sysupgrade.bin
PROFILE:=qmp-small-node
MPNAME:=ubnt-loco-m-xw
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),lamobo-r1)
......
ARCH:=sunxi
SUBARCH:=generic
TBUILD:=lede
MPNAME:=
PROFILE:=sunxi-qmp-small-node
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-sunxi-Lamobo_R1-sdcard-vfat-ext4.img
IMAGE:=$(DISTCL)-$(ARCH)-$(NAME)-$(SDCARDVFATEXT4)
endif
ifeq ($(T),rocket-m-xw)
......
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ath-qmp-small-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-ubnt-rocket-m-xw-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-ubnt-rocket-m-xw-squashfs-sysupgrade.bin
PROFILE:=qmp-small-node
MPNAME:=ubnt-rocket-m-xw
IMAGE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),pico2)
......
ARCH:=ath25
SUBARCH:=generic
TBUILD:=lede
PROFILE:=at2-qmp-tiny-node
PROFILE:=qmp-tiny-node
MPNAME:=ubnt2-pico2
BUILD_PATH:=$(BUILD_DIR)/ath25
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ath25-ubnt2-pico2-squashfs-sysupgrade.bin
FACTORY:=$(DISTCL)-$(ARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),rocket)
......
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ath-qmp-small-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-ubnt-rocket-m-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-ubnt-rocket-m-squashfs-sysupgrade.bin
PROFILE:=qmp-small-node
MPNAME:=ubnt-rocket-m
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),rs)
......
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ath-qmp-big-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-ubnt-rs-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-ubnt-rs-squashfs-sysupgrade.bin
PROFILE:=qmp-big-node
MPNAME:=ubnt-rs
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),rspro)
......
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ath-qmp-big-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-ubnt-rspro-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-ubnt-rspro-squashfs-sysupgrade.bin
PROFILE:=qmp-big-node
MPNAME:=ubnt-rspro
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),tl-2543)
ifeq ($(T),tl-2543-v1)
NAME:=TP-Link_TL-WR2543ND-v1
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ath-qmp-small-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-wr2543-v1-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-wr2543-v1-squashfs-sysupgrade.bin
PROFILE:=qmp-small-node
MPNAME:=tl-wr2543-v1
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),mc-mac1200r)
......
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ath-qmp-small-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-mc-mac1200r-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-mc-mac1200r-squashfs-sysupgrade.bin
PROFILE:=qmp-small-node
MPNAME:=mc-mac1200r
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),tl-wr841n-v7)
NAME:=TP-Link_TL-WR841N-v7
ifeq ($(T),tl-wr841-v7)
NAME:=TP-Link_TL-WR841-v7
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ar71xx_kstrip-qmp-tiny-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-wr841-v7-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-wr841-v7-squashfs-sysupgrade.bin
PROFILE:=qmp-tiny-node
MPNAME:=tl-wr841-v7
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),tl-wr841n-v8)
NAME:=TP-Link_TL-WR841N-v8
ifeq ($(T),tl-wr841-v8)
NAME:=TP-Link_TL-WR841-v8
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ar71xx_kstrip-qmp-tiny-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-wr841-v8-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-wr841-v8-squashfs-sysupgrade.bin
PROFILE:=qmp-tiny-node
MPNAME:=tl-wr841-v8
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),tl-wr841n-v9)
NAME:=TP-Link_TL-WR841N-v9
ifeq ($(T),tl-wr841-v9)
NAME:=TP-Link_TL-WR841-v9
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ar71xx_kstrip-qmp-tiny-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-wr841-v9-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-wr841-v9-squashfs-sysupgrade.bin
PROFILE:=qmp-tiny-node
MPNAME:=tl-wr841-v9
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),tl-wr841n-v10)
NAME:=TP-Link_TL-WR841N-v10
ifeq ($(T),tl-wr841-v10)
NAME:=TP-Link_TL-WR841-v10
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ar71xx_kstrip-qmp-tiny-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-wr841-v10-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-wr841-v10-squashfs-sysupgrade.bin
PROFILE:=qmp-tiny-node
MPNAME:=tl-wr841-v10
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),tl-842)
NAME:=TP-Link_TL-WR842ND-v1
ifeq ($(T),tl-842n-v1)
NAME:=TP-Link_TL-WR842N-v1
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ath-qmp-tiny-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-wr842n-v1-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-wr842n-v1-squashfs-sysupgrade.bin
PROFILE:=qmp-tiny-node
MPNAME:=tl-wr842n-v1
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),tl-703n)
ifeq ($(T),tl-wr703n-v1)
NAME:=TP-Link_TL-WR703N-v1
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ath-qmp-tiny-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-wr703n-v1-squashfs-sysupgrade.bin
PROFILE:=qmp-tiny-node
MPNAME:=tl-wr703n-v1
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),tl-mr3020)
ifeq ($(T),tl-mr3020-v1)
NAME:=TP-Link_TL-MR3020-v1
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ath-qmp-tiny-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-mr3020-v1-squashfs-sysupgrade.bin
PROFILE:=qmp-tiny-node
MPNAME:=tl-mr3020-v1
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),tl-mr3040)
......
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ath-qmp-tiny-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-mr3040-v1-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-mr3040-v1-squashfs-sysupgrade.bin
PROFILE:=qmp-tiny-node
MPNAME:=tl-mr3040-v1
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),tl-wa7510n)
......
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ath-qmp-tiny-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-wa7510n-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-wa7510n-squashfs-sysupgrade.bin
PROFILE:=qmp-tiny-node
MPNAME:=tl-wa7510n
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),tl-wdr3500-v1)
......
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ath-qmp-big-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-wdr3500-v1-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-wdr3500-v1-squashfs-sysupgrade.bin
PROFILE:=qmp-big-node
MPNAME:=tl-wdr3500-v1
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),tl-wdr3600)
......
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ath-qmp-big-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-wdr3600-v1-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-wdr3600-v1-squashfs-sysupgrade.bin
PROFILE:=qmp-big-node
MPNAME:=tl-wdr3600-v1
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),tl-wdr4300)
......
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ath-qmp-big-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-wdr4300-v1-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-wdr4300-v1-squashfs-sysupgrade.bin
PROFILE:=qmp-big-node
MPNAME:=tl-wdr4300-v1
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),tl-wdr4900-v1)
......
ARCH:=mpc85xx
SUBARCH:=generic
TBUILD:=lede
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-mpc85xx-generic-tl-wdr4900-v1-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-mpc85xx-generic-tl-wdr4900-v1-squashfs-sysupgrade.bin
PROFILE:=mpc85xx-qmp-big-node
MPNAME:=
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(T)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)--$(ARCH)-$(SUBARCH)-$(T)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),tl-wr743nd)
ifeq ($(T),tl-wr743nd-v1)
NAME:=TP-Link_TL-WR743ND-v1
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ath-qmp-tiny-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-wr743nd-v1-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-wr743nd-v1-squashfs-sysupgrade.bin
PROFILE:=qmp-tiny-node
MPNAME:=tl-wr743nd-v1
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),tl-wr740n)
......
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ath-qmp-tiny-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-wr740n-v1-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-tl-wr740n-v1-squashfs-sysupgrade.bin
PROFILE:=qmp-tiny-node
MPNAME:=-tl-wr740n-v1
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),wpe72-8M)
......
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ath-qmp-small-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/lede-ar71xx-generic-wpe72-squashfs-8M-factory.img
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/lede-ar71xx-generic-wpe72-squashfs-8M-sysupgrade.img
PROFILE:=qmp-small-node
MPNAME:=WPE72_8M
FACTORY:=$(DISTLC)-$(ARCH)-$(SUBARCH)-wpe72-squashfs-8M-factory.img
SYSUPGRADE:=$(DISTLC)-$(ARCH)-$(SUBARCH)-wpe72-squashfs-8M-sysupgrade.img
endif
ifeq ($(T),dragino2)
......
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ath-qmp-small-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/lede-ar71xx-generic-dragino2-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/lede-ar71xx-generic-dragino2-squashfs-sysupgrade.bin
PROFILE:=qmp-small-node
MPNAME:=dragino2
FACTORY:=$(DISTLC)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTLC)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),unifi-ap)
......
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ath-qmp-small-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-ubnt-unifi-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-ubnt-unifi-squashfs-sysupgrade.bin
PROFILE:=qmp-small-node
MPNAME:=ubnt-unifi
IMAGE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),uap-pro)
......
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ath-qmp-small-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-ubnt-uap-pro-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ar71xx-generic-ubnt-uap-pro-squashfs-sysupgrade.bin
PROFILE:=qmp-small-node
MPNAME:=ubnt-uap-pro
IMAGE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),vbox)
......
SUBARCH:=generic
TBUILD:=lede
PROFILE:=vm-qmp-big-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-x86-generic-combined-ext4.img.gz
MPNAME:=
IMAGE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-combined-ext4.vdi
endif
ifeq ($(T),vmware)
......
TBUILD:=lede
SUBARCH:=generic
PROFILE:=vm-qmp-big-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-x86-generic-combined-ext4.vmdk
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-x86-generic-combined-ext4.vmdk
MPNAME:=
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-combined-ext4.vmdk
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-combined-ext4.vmdk
endif
ifeq ($(T),vocore-8M)
......
ARCH:=ramips
SUBARCH:=rt305x
TBUILD:=lede
PROFILE:=rt5350-qmp-small-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ramips-rt305x-vocore-8M-squashfs-sysupgrade.bin
PROFILE:=qmp-small-node
MPNAME:=vocore-8M
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),vocore-16M)
......
ARCH:=ramips
SUBARCH:=rt305x
TBUILD:=lede
PROFILE:=rt5350-qmp-small-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ramips-rt305x-vocore-16M-squashfs-sysupgrade.bin
PROFILE:=qmp-small-node
MPNAME:=vocore-16M
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),microwrt)
......
ARCH:=ramips
SUBARCH:=mt7620
TBUILD:=lede
PROFILE:=mt7620-qmp-small-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ramips-mt7620-microwrt-squashfs-sysupgrade.bin
PROFILE:=qmp-small-node
MPNAME:=microwrt
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),wrtnode)
......
ARCH:=ramips
SUBARCH:=mt7620
TBUILD:=lede
PROFILE:=mt7620-qmp-small-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ramips-mt7620-wrtnode-squashfs-sysupgrade.bin
PROFILE:=qmp-small-node
MPNAME:=wrtnode
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),wt1520-4M)
......
ARCH:=ramips
SUBARCH:=rt305x
TBUILD:=lede
PROFILE:=rt5350-qmp-tiny-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/lede-ramips-rt305x-wt1520-4M-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/lede-ramips-rt305x-wt1520-4M-squashfs-sysupgrade.bin
PROFILE:=qmp-tiny-node
MPNAME:=wt1520-4M
FACTORY:=$(DISTLEGACY)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTLEGACY)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),wt1520-8M)
......
SUBARCH:=rt305x
TBUILD:=lede
PROFILE:=rt5350-qmp-small-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/lede-ramips-rt305x-wt1520-8M-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/lede-ramips-rt305x-wt1520-8M-squashfs-sysupgrade.bin
MPNAME:=wt1520-8M
FACTORY:=$(DISTLEGACY)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTLEGACY)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),wt3020-4M)
......
ARCH:=ramips
SUBARCH:=mt7620
TBUILD:=lede
PROFILE:=mt7620_kstrip-qmp-tiny-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ramips-mt7620-wt3020-4M-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ramips-mt7620-wt3020-4M-squashfs-sysupgrade.bin
PROFILE:=qmp-tiny-node
MPNAME:=wt3020-4M
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),wt3020-8M)
......
ARCH:=ramips
SUBARCH:=mt7620
TBUILD:=lede
PROFILE:=mt7620-qmp-small-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ramips-mt7620-wt3020-8M-squashfs-factory.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ramips-mt7620-wt3020-8M-squashfs-sysupgrade.bin
PROFILE:=qmp-small-node
MPNAME:=wt3020-8M
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHFACTORY)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),miwifi-mini)
......
ARCH:=ramips
SUBARCH:=mt7620
TBUILD:=lede
PROFILE:=mt7620-qmp-small-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ramips-mt7620-miwifi-mini-squashfs-sysupgrade.bin
SYSUPGRADE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ramips-mt7620-miwifi-mini-squashfs-sysupgrade.bin
PROFILE:=qmp-small-node
MPNAME:=miwifi-mini
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),dir-810l)
......
ARCH:=ramips
SUBARCH:=mt7620
TBUILD:=lede
PROFILE:=mt7620-qmp-small-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-ramips-mt7620-dir-810l-squashfs-sysupgrade.bin
PROFILE:=qmp-small-node
MPNAME:=dir-810l
FACTORY:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
SYSUPGRADE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-$(MPNAME)-$(SQUASHSYSUPGRADE)
endif
ifeq ($(T),kvm)
NAME:=KVM_x86
ARCH:=x86
SUBARCH:=kvm_guest
TBUILD:=lede
PROFILE:=kvm-qmp-big-node
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/qmp-x86-kvm_guest-combined-ext4.img.gz
endif
ifeq ($(T),ar71xx-generic-ib)
NAME:=ar71xx_generic_imagebuilder
ARCH:=ar71xx
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ar71xx-generic-imagebuilder
override MAKE_SRC = -j$(J) V=$(V) IGNORE_ERRORS=1
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/LEDE-ImageBuilder-$(ARCH)_generic-for-linux-x86_64.tar.bz2 ImageBuilder-qMp-$(ARCH)-x86_64.tar.bz2
endif
ifeq ($(T),ath25-generic-ib)
NAME:=ath25_generic_imagebuilder
ARCH:=ath25
SUBARCH:=generic
TBUILD:=lede
PROFILE:=ath25-generic-imagebuilder
override MAKE_SRC = -j$(J) V=$(V) IGNORE_ERRORS=1
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/LEDE-ImageBuilder-$(ARCH)_generic-for-linux-x86_64.tar.bz2 ImageBuilder-qMp-$(ARCH)-x86_64.tar.bz2
endif
ifeq ($(T),brcm2708-bcm2708-ib)
NAME:=brcm2708_bcm2708_imagebuilder
ARCH:=brcm2708
SUBARCH:=bcm2708
TBUILD:=lede
PROFILE:=brcm2708-bcm2708-imagebuilder
override MAKE_SRC = -j$(J) V=$(V) IGNORE_ERRORS=1
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/LEDE-ImageBuilder-$(ARCH)_generic-for-linux-x86_64.tar.bz2 ImageBuilder-qMp-$(ARCH)-x86_64.tar.bz2
endif
ifeq ($(T),brcm2708-bcm2709-ib)
NAME:=brcm2708_bcm2709_imagebuilder
ARCH:=brcm2708
SUBARCH:=bcm2709
TBUILD:=lede
PROFILE:=brcm2708-bcm2709-imagebuilder
override MAKE_SRC = -j$(J) V=$(V) IGNORE_ERRORS=1
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/LEDE-ImageBuilder-$(ARCH)_generic-for-linux-x86_64.tar.bz2 ImageBuilder-qMp-$(ARCH)-x86_64.tar.bz2
endif
ifeq ($(T),brcm2708-bcm2710-ib)
NAME:=brcm2708_bcm2710_imagebuilder
ARCH:=brcm2708
SUBARCH:=bcm2710
TBUILD:=lede
PROFILE:=brcm2708-bcm2710-imagebuilder
override MAKE_SRC = -j$(J) V=$(V) IGNORE_ERRORS=1
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/LEDE-ImageBuilder-$(ARCH)_generic-for-linux-x86_64.tar.bz2 ImageBuilder-qMp-$(ARCH)-x86_64.tar.bz2
PROFILE:=kvm-qmp-big-node
MPNAME:=
IMAGE:=$(DISTCL)-$(ARCH)-$(SUBARCH)-combined-ext4.img.gz
endif
ifeq ($(T),mpc85xx-generic-ib)
......
TBUILD:=lede
PROFILE:=mpc85xx-generic-imagebuilder
override MAKE_SRC = -j$(J) V=$(V) IGNORE_ERRORS=1
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/LEDE-ImageBuilder-$(ARCH)_generic-for-linux-x86_64.tar.bz2 ImageBuilder-qMp-$(ARCH)-x86_64.tar.bz2
endif
ifeq ($(T),ramips-mt7620-ib)
NAME:=ramips_mt7620_imagebuilder
ARCH:=ramips
SUBARCH:=mt7620
TBUILD:=lede
PROFILE:=ramips-mt7620-imagebuilder
override MAKE_SRC = -j$(J) V=$(V) IGNORE_ERRORS=1
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/LEDE-ImageBuilder-$(ARCH)_generic-for-linux-x86_64.tar.bz2 ImageBuilder-qMp-$(ARCH)-x86_64.tar.bz2
endif
ifeq ($(T),ramips-mt7621-ib)
NAME:=ramips_mt7621_imagebuilder
ARCH:=ramips
SUBARCH:=mt7621
TBUILD:=lede
PROFILE:=ramips-mt7621-imagebuilder
override MAKE_SRC = -j$(J) V=$(V) IGNORE_ERRORS=1
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/LEDE-ImageBuilder-$(ARCH)_generic-for-linux-x86_64.tar.bz2 ImageBuilder-qMp-$(ARCH)-x86_64.tar.bz2
MPNAME:=
IMAGE:=LEDE-ImageBuilder-$(ARCH)_generic-for-linux-x86_64.tar.bz2 ImageBuilder-qMp-$(ARCH)-x86_64.tar.bz2
endif
ifeq ($(T),sunxi-generic-ib)
......
TBUILD:=lede
PROFILE:=sunxi-imagebuilder
override MAKE_SRC = -j$(J) V=$(V) IGNORE_ERRORS=1
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/LEDE-ImageBuilder-$(ARCH)_generic-for-linux-x86_64.tar.bz2 ImageBuilder-qMp-$(ARCH)-x86_64.tar.bz2
endif
ifeq ($(T),ramips-rt305x-ib)
NAME:=ramips_rt305x_imagebuilder
ARCH:=ramips
SUBARCH:=rt305x
TBUILD:=lede
PROFILE:=ramips-rt305x-imagebuilder
override MAKE_SRC = -j$(J) V=$(V) IGNORE_ERRORS=1
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/LEDE-ImageBuilder-$(ARCH)_generic-for-linux-x86_64.tar.bz2 ImageBuilder-qMp-$(ARCH)-x86_64.tar.bz2
MPNAME:=
IMAGE:=LEDE-ImageBuilder-$(ARCH)_generic-for-linux-x86_64.tar.bz2 ImageBuilder-qMp-$(ARCH)-x86_64.tar.bz2
endif
ifeq ($(T),x86-generic-ib)
......
TBUILD:=lede
PROFILE:=x86-generic-imagebuilder
override MAKE_SRC = -j$(J) V=$(V) IGNORE_ERRORS=1
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/LEDE-ImageBuilder-$(ARCH)_generic-for-linux-x86_64.tar.bz2 ImageBuilder-qMp-$(ARCH)-x86_64.tar.bz2
MPNAME:=
IMAGE:=LEDE-ImageBuilder-$(ARCH)_generic-for-linux-x86_64.tar.bz2 ImageBuilder-qMp-$(ARCH)-x86_64.tar.bz2
endif
ifeq ($(T),x86-geode-ib)
......
TBUILD:=lede
PROFILE:=x86-geode-imagebuilder
override MAKE_SRC = -j$(J) V=$(V) IGNORE_ERRORS=1
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/LEDE-ImageBuilder-$(ARCH)_generic-for-linux-x86_64.tar.bz2 ImageBuilder-qMp-$(ARCH)-x86_64.tar.bz2
MPNAME:=
IMAGE:=LEDE-ImageBuilder-$(ARCH)_generic-for-linux-x86_64.tar.bz2 ImageBuilder-qMp-$(ARCH)-x86_64.tar.bz2
endif
ifeq ($(T),x86-64-ib)
......
TBUILD:=lede
PROFILE:=x86-64-imagebuilder
override MAKE_SRC = -j$(J) V=$(V) IGNORE_ERRORS=1
IMAGE:=bin/targets/$(ARCH)/$(SUBARCH)/LEDE-ImageBuilder-$(ARCH)_generic-for-linux-x86_64.tar.bz2 ImageBuilder-qMp-$(ARCH)-x86_64.tar.bz2
MPNAME:=
IMAGE:=LEDE-ImageBuilder-$(ARCH)_generic-for-linux-x86_64.tar.bz2 ImageBuilder-qMp-$(ARCH)-x86_64.tar.bz2
endif

També disponible a: Unified diff