2012-10-27 09:42:58 +00:00
|
|
|
#
|
2016-03-08 18:33:16 +00:00
|
|
|
# Copyright (C) 2006-2016 OpenWrt.org
|
2010-06-26 20:41:49 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
include $(INCLUDE_DIR)/image.mk
|
|
|
|
|
|
|
|
define Build/Clean
|
|
|
|
$(MAKE) -C lzma-loader clean
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Image/Prepare
|
2014-08-18 21:00:55 +00:00
|
|
|
# Optimized LZMA compression (with dictionary), handled by lzma-loader.
|
2010-06-26 20:41:49 +00:00
|
|
|
cat $(KDIR)/vmlinux | $(STAGING_DIR_HOST)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux.lzma
|
2014-08-18 21:00:55 +00:00
|
|
|
|
|
|
|
# Less optimal LZMA compression (no dictionary), handled by CFE.
|
|
|
|
$(STAGING_DIR_HOST)/bin/lzma e -so -d16 $(KDIR)/vmlinux > $(KDIR)/vmlinux-nodictionary.lzma
|
|
|
|
|
2013-09-16 21:09:10 +00:00
|
|
|
gzip -nc9 $(KDIR)/vmlinux > $(KDIR)/vmlinux.gz
|
2013-06-27 19:58:31 +00:00
|
|
|
ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
|
|
|
|
cat $(KDIR)/vmlinux-initramfs | $(STAGING_DIR_HOST)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux-initramfs.lzma
|
2014-10-13 05:53:33 +00:00
|
|
|
$(STAGING_DIR_HOST)/bin/lzma e -so -d16 $(KDIR)/vmlinux-initramfs > $(KDIR)/vmlinux-initramfs-nodictionary.lzma
|
2013-06-27 19:58:31 +00:00
|
|
|
endif
|
2010-06-26 20:41:49 +00:00
|
|
|
rm -f $(KDIR)/loader.gz
|
|
|
|
$(MAKE) -C lzma-loader \
|
|
|
|
BUILD_DIR="$(KDIR)" \
|
|
|
|
TARGET="$(KDIR)" \
|
|
|
|
clean install
|
|
|
|
echo -ne "\\x00" >> $(KDIR)/loader.gz
|
|
|
|
rm -f $(KDIR)/fs_mark
|
2011-08-29 21:23:51 +00:00
|
|
|
echo -ne '\xde\xad\xc0\xde' > $(KDIR)/fs_mark
|
2010-06-26 20:41:49 +00:00
|
|
|
$(call prepare_generic_squashfs,$(KDIR)/fs_mark)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define trxalign/jffs2-128k
|
|
|
|
-a 0x20000 -f $(KDIR)/root.$(1)
|
|
|
|
endef
|
|
|
|
define trxalign/jffs2-64k
|
|
|
|
-a 0x10000 -f $(KDIR)/root.$(1)
|
|
|
|
endef
|
|
|
|
define trxalign/squashfs
|
2016-10-28 15:03:55 +00:00
|
|
|
-a 1024 -f $(1) $(if $(2),-f $(2)) -a 0x10000 -A $(KDIR)/fs_mark
|
2010-06-26 20:41:49 +00:00
|
|
|
endef
|
|
|
|
|
2015-03-29 18:15:38 +00:00
|
|
|
#################################################
|
|
|
|
# Images
|
|
|
|
#################################################
|
|
|
|
|
|
|
|
define Build/trx-with-loader
|
|
|
|
$(STAGING_DIR_HOST)/bin/trx \
|
2015-09-11 17:55:28 +00:00
|
|
|
-m 33554432 \
|
2016-10-28 14:43:19 +00:00
|
|
|
-o $@.new \
|
2015-03-29 18:15:38 +00:00
|
|
|
-f $(KDIR)/loader.gz \
|
2016-07-30 12:19:11 +00:00
|
|
|
-f $(IMAGE_KERNEL) \
|
2016-10-28 15:03:55 +00:00
|
|
|
$(call trxalign/$(FILESYSTEM),$@)
|
2016-10-28 14:43:19 +00:00
|
|
|
mv $@.new $@
|
2015-03-29 18:15:38 +00:00
|
|
|
endef
|
|
|
|
|
2016-03-09 06:34:25 +00:00
|
|
|
define Build/trx-v2-with-loader
|
|
|
|
$(STAGING_DIR_HOST)/bin/trx \
|
|
|
|
-2 \
|
|
|
|
-m 33554432 \
|
|
|
|
-o $@.new \
|
|
|
|
-f $(KDIR)/loader.gz \
|
|
|
|
-f $(KDIR)/vmlinux.lzma \
|
2016-10-28 15:03:55 +00:00
|
|
|
$(call trxalign/$(FILESYSTEM),$@,$@.pattern)
|
2016-03-09 06:34:25 +00:00
|
|
|
mv $@.new $@
|
|
|
|
endef
|
|
|
|
|
2016-03-08 18:33:22 +00:00
|
|
|
define Build/trx-without-loader
|
|
|
|
$(STAGING_DIR_HOST)/bin/trx \
|
|
|
|
-m 33554432 \
|
2016-10-28 14:43:19 +00:00
|
|
|
-o $@.new \
|
2016-07-30 12:19:11 +00:00
|
|
|
-f $(IMAGE_KERNEL) \
|
2016-10-28 15:03:55 +00:00
|
|
|
$(call trxalign/$(FILESYSTEM),$@)
|
2016-10-28 14:43:19 +00:00
|
|
|
mv $@.new $@
|
2016-03-08 18:33:22 +00:00
|
|
|
endef
|
|
|
|
|
2015-05-27 13:54:19 +00:00
|
|
|
define Build/asus-trx
|
2016-10-20 05:59:03 +00:00
|
|
|
$(STAGING_DIR_HOST)/bin/asustrx -p $(PRODUCTID) -i $@ -o $@.new
|
2015-05-27 13:54:19 +00:00
|
|
|
mv $@.new $@
|
|
|
|
endef
|
|
|
|
|
2016-03-08 18:33:22 +00:00
|
|
|
define Build/edimax-bin
|
|
|
|
$(STAGING_DIR_HOST)/bin/trx2edips $@ $@.new
|
|
|
|
mv $@.new $@
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/huawei-bin
|
|
|
|
dd if=/dev/zero of=$@.new bs=92 count=1
|
|
|
|
echo -ne 'HDR0\x08\x00\x00\x00' >> $@.new
|
|
|
|
cat $@ >> $@.new
|
|
|
|
mv $@.new $@
|
|
|
|
endef
|
|
|
|
|
2015-03-29 18:15:38 +00:00
|
|
|
define Build/linksys-bin
|
2016-03-09 06:34:25 +00:00
|
|
|
$(STAGING_DIR_HOST)/bin/addpattern -4 -p $(DEVICE_ID) -v v$(VERSION) $(if $(SERIAL),-s $(SERIAL)) -i $@ -o $@.new
|
2015-03-29 18:15:38 +00:00
|
|
|
mv $@.new $@
|
|
|
|
endef
|
|
|
|
|
2016-03-09 06:34:25 +00:00
|
|
|
define Build/linksys-pattern-partition
|
2016-10-28 14:39:08 +00:00
|
|
|
$(STAGING_DIR_HOST)/bin/addpattern -5 -p $(DEVICE_ID) -v v$(VERSION) $(if $(SERIAL),-s $(SERIAL)) -i /dev/null -o $@.pattern
|
2016-03-09 06:34:25 +00:00
|
|
|
endef
|
|
|
|
|
2016-03-08 18:33:19 +00:00
|
|
|
define Build/motorola-bin
|
|
|
|
$(STAGING_DIR_HOST)/bin/motorola-bin -$(MOTOROLA_DEVICE) $@ $@.new
|
|
|
|
mv $@.new $@
|
|
|
|
endef
|
|
|
|
|
2016-03-08 18:33:25 +00:00
|
|
|
define Build/prepend-with-elf
|
|
|
|
mv $@ $@.old
|
|
|
|
dd if=$(KDIR)/loader.elf of=$@ bs=131072 conv=sync
|
|
|
|
cat $@.old >> $@
|
|
|
|
endef
|
|
|
|
|
2016-03-08 18:33:16 +00:00
|
|
|
define Build/tailed-bin
|
|
|
|
echo $(BIN_TAIL) >> $@
|
|
|
|
endef
|
|
|
|
|
2016-03-08 18:33:22 +00:00
|
|
|
define Build/usrobotics-bin
|
|
|
|
$(STAGING_DIR_HOST)/bin/trx2usr $@ $@.new
|
|
|
|
mv $@.new $@
|
|
|
|
endef
|
|
|
|
|
2015-03-29 18:15:38 +00:00
|
|
|
#################################################
|
|
|
|
# Devices
|
|
|
|
#################################################
|
|
|
|
|
2015-05-27 13:54:19 +00:00
|
|
|
DEVICE_VARS += PRODUCTID
|
2016-03-09 06:34:25 +00:00
|
|
|
DEVICE_VARS += DEVICE_ID VERSION SERIAL
|
2015-08-14 13:04:22 +00:00
|
|
|
DEVICE_VARS += NETGEAR_BOARD_ID NETGEAR_REGION
|
2016-03-08 18:33:19 +00:00
|
|
|
DEVICE_VARS += MOTOROLA_DEVICE
|
2016-03-08 18:33:16 +00:00
|
|
|
DEVICE_VARS += BIN_TAIL
|
2015-03-29 18:15:38 +00:00
|
|
|
|
|
|
|
define Device/Default
|
2015-03-31 08:56:08 +00:00
|
|
|
KERNEL := kernel-bin
|
2015-03-29 18:15:38 +00:00
|
|
|
IMAGE_NAME = $$(IMAGE_PREFIX)-$$(1).$$(2)
|
2015-03-31 08:56:08 +00:00
|
|
|
KERNEL_NAME = vmlinux.lzma
|
2016-11-25 12:10:38 +00:00
|
|
|
KERNEL_INITRAMFS_NAME = vmlinux-initramfs.lzma
|
2015-03-29 18:15:38 +00:00
|
|
|
FILESYSTEMS := $(FS_64K)
|
|
|
|
IMAGES := trx
|
2016-10-28 15:03:55 +00:00
|
|
|
IMAGE/trx := append-rootfs | trx-with-loader
|
2015-03-29 18:15:38 +00:00
|
|
|
endef
|
|
|
|
|
2016-03-11 21:31:34 +00:00
|
|
|
define Device/standard
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Image with LZMA loader and LZMA compressed kernel
|
2016-03-11 21:31:34 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Device/standard-noloader-gz
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Image with gzipped kernel
|
|
|
|
KERNEL_NAME = vmlinux.gz
|
2016-10-28 15:03:55 +00:00
|
|
|
IMAGE/trx := append-rootfs | trx-without-loader
|
2016-03-11 21:31:34 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Device/standard-noloader-nodictionarylzma
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Image with LZMA compressed kernel matching CFE decompressor
|
|
|
|
KERNEL_NAME = vmlinux-nodictionary.lzma
|
2016-10-28 15:03:55 +00:00
|
|
|
IMAGE/trx := append-rootfs | trx-without-loader
|
2016-03-11 21:31:34 +00:00
|
|
|
endef
|
|
|
|
|
2015-05-27 13:54:19 +00:00
|
|
|
define Device/asus
|
|
|
|
IMAGES := trx
|
2016-10-28 15:03:55 +00:00
|
|
|
IMAGE/trx := append-rootfs | trx-with-loader | asus-trx
|
2015-05-27 13:54:19 +00:00
|
|
|
endef
|
|
|
|
|
2015-03-29 18:15:38 +00:00
|
|
|
define Device/linksys
|
|
|
|
IMAGES := bin
|
2016-10-28 15:03:55 +00:00
|
|
|
IMAGE/bin := append-rootfs | trx-with-loader | linksys-bin
|
2015-03-29 18:15:38 +00:00
|
|
|
endef
|
|
|
|
|
2016-03-08 18:33:19 +00:00
|
|
|
define Device/motorola
|
|
|
|
IMAGES := bin
|
2016-10-28 15:03:55 +00:00
|
|
|
IMAGE/bin := append-rootfs | trx-with-loader | motorola-bin
|
2016-03-08 18:33:19 +00:00
|
|
|
endef
|
|
|
|
|
2015-03-29 19:53:11 +00:00
|
|
|
define Device/netgear
|
|
|
|
IMAGES := chk
|
2016-10-28 15:03:55 +00:00
|
|
|
IMAGE/chk := append-rootfs | trx-with-loader | netgear-chk
|
2015-03-29 19:53:11 +00:00
|
|
|
endef
|
|
|
|
|
2014-06-05 21:23:58 +00:00
|
|
|
#################################################
|
|
|
|
# Subtarget generic
|
|
|
|
#################################################
|
|
|
|
|
2015-03-31 12:17:08 +00:00
|
|
|
ifeq ($(SUBTARGET),generic)
|
|
|
|
# BCM4705 with tg3
|
2016-10-20 05:59:03 +00:00
|
|
|
define Device/linksys-wrt300n-v1.1
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys WRT300N v1.1
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
DEVICE_ID := EWC2
|
|
|
|
VERSION := 1.51.2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-wrt300n-v1.1
|
|
|
|
|
|
|
|
define Device/linksys-wrt310n-v1
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys WRT310N v1
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
DEVICE_ID := 310N
|
|
|
|
VERSION := 1.0.10
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-wrt310n-v1
|
|
|
|
|
|
|
|
define Device/linksys-wrt350n-v1
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys WRT350N v1
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
DEVICE_ID := EWCG
|
|
|
|
VERSION := 1.04.1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-wrt350n-v1
|
|
|
|
|
|
|
|
define Device/linksys-wrt610n-v1
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys WRT610N v1
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
DEVICE_ID := 610N
|
|
|
|
VERSION := 1.0.1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-wrt610n-v1
|
2015-03-31 12:17:08 +00:00
|
|
|
|
|
|
|
# BCMA SoC with SSB WiFi
|
2016-10-20 05:59:03 +00:00
|
|
|
define Device/linksys-wrt610n-v2
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys WRT610N v2
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
DEVICE_ID := 610N
|
|
|
|
VERSION := 2.0.0
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-wrt610n-v2
|
|
|
|
|
|
|
|
define Device/linksys-e3000-v1
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys E3000 v1
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
DEVICE_ID := 61XN
|
|
|
|
VERSION := 1.0.3
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-e3000-v1
|
2016-03-11 21:31:34 +00:00
|
|
|
|
2016-10-24 18:33:07 +00:00
|
|
|
TARGET_DEVICES += standard
|
2015-03-31 12:17:08 +00:00
|
|
|
endif
|
2010-06-26 20:41:49 +00:00
|
|
|
|
2014-07-06 17:21:37 +00:00
|
|
|
#################################################
|
|
|
|
# Subtarget legacy
|
|
|
|
#################################################
|
|
|
|
|
2015-03-31 12:44:31 +00:00
|
|
|
ifeq ($(SUBTARGET),legacy)
|
|
|
|
|
2016-10-20 05:59:03 +00:00
|
|
|
define Device/asus-wl-300g
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Asus WL-300g
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/asus)
|
|
|
|
PRODUCTID := "WL300g "
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus-wl-300g
|
|
|
|
|
|
|
|
define Device/asus-wl-320gp
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Asus WL-320gP
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/asus)
|
|
|
|
PRODUCTID := "WL320gP "
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus-wl-320gp
|
|
|
|
|
|
|
|
define Device/asus-wl-330ge
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Asus WL-330gE
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/asus)
|
|
|
|
PRODUCTID := "WL-330gE "
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus-wl-330ge
|
|
|
|
|
|
|
|
define Device/asus-wl-500gp-v1
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Asus WL-500gP v1
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/asus)
|
|
|
|
PRODUCTID := "WL500gp "
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus-wl-500gp-v1
|
|
|
|
|
|
|
|
define Device/asus-wl-500gp-v2
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Asus WL-500gP v2
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/asus)
|
|
|
|
PRODUCTID := "WL500gpv2 "
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus-wl-500gp-v2
|
|
|
|
|
|
|
|
define Device/asus-wl-500w
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Asus WL-500W
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/asus)
|
|
|
|
PRODUCTID := "WL500W "
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus-wl-500w
|
|
|
|
|
|
|
|
define Device/asus-wl-520gu
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Asus WL-520gU
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/asus)
|
|
|
|
PRODUCTID := "WL520gu "
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus-wl-520gu
|
|
|
|
|
|
|
|
define Device/asus-wl-550ge
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Asus WL-550gE
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/asus)
|
|
|
|
PRODUCTID := "WL550gE "
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus-wl-550ge
|
|
|
|
|
|
|
|
define Device/asus-wl-hdd25
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Asus WL-HDD25
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/asus)
|
|
|
|
PRODUCTID := "WLHDD "
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus-wl-hdd25
|
|
|
|
|
2016-10-24 18:33:07 +00:00
|
|
|
define Device/dlink-dwl-3150
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := D-Link DWL-3150
|
2016-10-24 18:33:07 +00:00
|
|
|
IMAGES := bin
|
2016-10-28 15:03:55 +00:00
|
|
|
IMAGE/bin := append-rootfs | trx-with-loader | tailed-bin
|
2016-10-24 18:33:07 +00:00
|
|
|
BIN_TAIL := BCM-5352-2050-0000000-01
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += dlink-dwl-3150
|
|
|
|
|
|
|
|
define Device/edimax-ps1208-mfg
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Edimax PS-1208MFg
|
2016-10-24 18:33:07 +00:00
|
|
|
IMAGES := bin
|
2016-10-28 15:03:55 +00:00
|
|
|
IMAGE/bin := append-rootfs | trx-with-loader | edimax-bin
|
2016-10-24 18:33:07 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += edimax-ps1208-mfg
|
|
|
|
|
|
|
|
define Device/huawei-e970
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Huawei E970
|
2016-10-24 18:33:07 +00:00
|
|
|
KERNEL_NAME = vmlinux.gz
|
|
|
|
IMAGES := bin
|
2016-10-28 15:03:55 +00:00
|
|
|
IMAGE/bin := append-rootfs | trx-without-loader | huawei-bin
|
2016-10-24 18:33:07 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += huawei-e970
|
|
|
|
|
2016-10-20 05:59:03 +00:00
|
|
|
define Device/linksys-wrt54g3g
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys WRT54G3G
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
DEVICE_ID := W54F
|
|
|
|
VERSION := 2.20.1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-wrt54g3g
|
|
|
|
|
|
|
|
define Device/linksys-wrt54g3g-em
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys WRT54G3G-EM
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
DEVICE_ID := W3GN
|
|
|
|
VERSION := 2.20.1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-wrt54g3g-em
|
|
|
|
|
2016-10-24 18:33:07 +00:00
|
|
|
define Device/linksys-wrt54g3gv2-vf
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys WRT54G3GV2-VF
|
2016-10-24 18:33:07 +00:00
|
|
|
FILESYSTEMS := $(FS_128K)
|
|
|
|
IMAGES := noheader.bin bin
|
2016-10-28 15:03:55 +00:00
|
|
|
IMAGE/noheader.bin := linksys-pattern-partition | append-rootfs | trx-v2-with-loader
|
|
|
|
IMAGE/bin := linksys-pattern-partition | append-rootfs | trx-v2-with-loader | linksys-bin
|
2016-10-24 18:33:07 +00:00
|
|
|
DEVICE_ID := 3G2V
|
|
|
|
VERSION := 3.00.24
|
|
|
|
SERIAL := 6
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-wrt54g3gv2-vf
|
|
|
|
|
2016-10-20 05:59:03 +00:00
|
|
|
define Device/linksys-wrt54g
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys WRT54G
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
DEVICE_ID := W54G
|
|
|
|
VERSION := 4.71.1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-wrt54g
|
|
|
|
|
2016-10-24 18:33:07 +00:00
|
|
|
define Device/linksys-wrt54gs
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys WRT54GS
|
2016-10-24 18:33:07 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
FILESYSTEMS := $(FS_128K)
|
|
|
|
DEVICE_ID := W54S
|
|
|
|
VERSION := 4.80.1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-wrt54gs
|
|
|
|
|
2016-10-20 05:59:03 +00:00
|
|
|
define Device/linksys-wrt54gs-v4
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys WRT54GS v4
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
DEVICE_ID := W54s
|
|
|
|
VERSION := 1.09.1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-wrt54gs-v4
|
|
|
|
|
2016-10-24 18:33:07 +00:00
|
|
|
define Device/linksys-wrtsl54gs
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys WRTSL54GS
|
2016-10-24 18:33:07 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
FILESYSTEMS := $(FS_128K)
|
|
|
|
DEVICE_ID := W54U
|
|
|
|
VERSION := 2.08.1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-wrtsl54gs
|
|
|
|
|
2016-10-20 05:59:03 +00:00
|
|
|
define Device/linksys-wrt150n
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys WRT150N
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
DEVICE_ID := N150
|
|
|
|
VERSION := 1.51.3
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-wrt150n
|
|
|
|
|
|
|
|
define Device/linksys-wrt160n-v1
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys WRT160N v1
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
DEVICE_ID := N150
|
|
|
|
VERSION := 1.50.1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-wrt160n-v1
|
|
|
|
|
|
|
|
define Device/linksys-wrt300n-v1
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys WRT300N v1
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
2016-10-24 08:34:32 +00:00
|
|
|
IMAGES := bin trx
|
2016-10-20 05:59:03 +00:00
|
|
|
DEVICE_ID := EWCB
|
|
|
|
VERSION := 1.03.6
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-wrt300n-v1
|
|
|
|
|
|
|
|
define Device/motorola-wa840g
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Motorola WA840G
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/motorola)
|
|
|
|
MOTOROLA_DEVICE := 2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += motorola-wa840g
|
|
|
|
|
|
|
|
define Device/motorola-we800g
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Motorola WE800G
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/motorola)
|
|
|
|
MOTOROLA_DEVICE := 3
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += motorola-we800g
|
|
|
|
|
|
|
|
define Device/motorola-wr850g
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Motorola WR850G
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/motorola)
|
|
|
|
MOTOROLA_DEVICE := 1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += motorola-wr850g
|
|
|
|
|
|
|
|
define Device/netgear-wgr614-v8
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Netgear WGR614 v8
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/netgear)
|
|
|
|
NETGEAR_BOARD_ID := U12H072T00_NETGEAR
|
|
|
|
NETGEAR_REGION := 2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear-wgr614-v8
|
|
|
|
|
2016-10-24 18:33:07 +00:00
|
|
|
define Device/netgear-wgt634u
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Netgear WGT634U
|
2016-10-24 18:33:07 +00:00
|
|
|
FILESYSTEMS := $(FS_128K)
|
|
|
|
IMAGES := bin
|
2016-10-28 15:03:55 +00:00
|
|
|
IMAGE/bin := append-rootfs | trx-with-loader | prepend-with-elf
|
2016-10-24 18:33:07 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear-wgt634u
|
|
|
|
|
2016-10-20 05:59:03 +00:00
|
|
|
define Device/netgear-wndr3300-v1
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Netgear WNDR3300 v1
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/netgear)
|
|
|
|
NETGEAR_BOARD_ID := U12H093T00_NETGEAR
|
|
|
|
NETGEAR_REGION := 2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear-wndr3300-v1
|
|
|
|
|
|
|
|
define Device/netgear-wnr834b-v2
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Netgear WNR834B v2
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/netgear)
|
|
|
|
NETGEAR_BOARD_ID := U12H081T00_NETGEAR
|
|
|
|
NETGEAR_REGION := 2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear-wnr834b-v2
|
2016-03-11 21:31:34 +00:00
|
|
|
|
2016-10-24 18:33:07 +00:00
|
|
|
define Device/usrobotics-usr5461
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := USRobotics USR5461
|
2016-10-24 18:33:07 +00:00
|
|
|
IMAGES := bin
|
2016-10-28 15:03:55 +00:00
|
|
|
IMAGE/bin := append-rootfs | trx-with-loader | usrobotics-bin
|
2016-10-24 18:33:07 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += usrobotics-usr5461
|
|
|
|
|
|
|
|
TARGET_DEVICES += standard standard-noloader-gz
|
2015-03-31 12:44:31 +00:00
|
|
|
endif
|
|
|
|
|
2014-07-06 17:14:06 +00:00
|
|
|
#################################################
|
|
|
|
# Subtarget mips74k
|
|
|
|
#################################################
|
|
|
|
|
2015-03-29 18:15:38 +00:00
|
|
|
ifeq ($(SUBTARGET),mips74k)
|
2016-10-20 05:59:03 +00:00
|
|
|
define Device/asus-rt-ac53u
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Asus RT-AC53U
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/asus)
|
|
|
|
PRODUCTID := RT-AC53U
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus-rt-ac53u
|
|
|
|
|
|
|
|
define Device/asus-rt-ac66u
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Asus RT-AC66U
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/asus)
|
|
|
|
PRODUCTID := RT-AC66U
|
|
|
|
endef
|
|
|
|
# TARGET_DEVICES += asus-rt-ac66u
|
|
|
|
|
|
|
|
define Device/asus-rt-n10
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Asus RT-N10
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/asus)
|
|
|
|
PRODUCTID := "RT-N10 "
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus-rt-n10
|
|
|
|
|
|
|
|
define Device/asus-rt-n10p
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Asus RT-N10P
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/asus)
|
|
|
|
PRODUCTID := RT-N10P
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus-rt-n10p
|
|
|
|
|
|
|
|
define Device/asus-rt-n10p-v2
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Asus RT-N10P v2
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/asus)
|
|
|
|
PRODUCTID := RT-N10PV2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus-rt-n10p-v2
|
|
|
|
|
|
|
|
define Device/asus-rt-n10u
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Asus RT-N10U
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/asus)
|
|
|
|
PRODUCTID := RT-N10U
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus-rt-n10u
|
|
|
|
|
|
|
|
define Device/asus-rt-n10u-b
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Asus RT-N10U B
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/asus)
|
|
|
|
PRODUCTID := RT-N10U
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus-rt-n10u-b
|
|
|
|
|
|
|
|
define Device/asus-rt-n12
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Asus RT-N12
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/asus)
|
|
|
|
PRODUCTID := "RT-N12 "
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus-rt-n12
|
|
|
|
|
|
|
|
define Device/asus-rt-n12-b1
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Asus RT-N12 B1
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/asus)
|
|
|
|
PRODUCTID := RT-N12B1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus-rt-n12-b1
|
|
|
|
|
|
|
|
define Device/asus-rt-n12-c1
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Asus RT-N12 C1
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/asus)
|
|
|
|
PRODUCTID := RT-N12C1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus-rt-n12-c1
|
|
|
|
|
|
|
|
define Device/asus-rt-n12-d1
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Asus RT-N12 D1
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/asus)
|
|
|
|
PRODUCTID := RT-N12D1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus-rt-n12-d1
|
|
|
|
|
|
|
|
define Device/asus-rt-n12hp
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Asus RT-N12HP
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/asus)
|
|
|
|
PRODUCTID := RT-N12HP
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus-rt-n12hp
|
|
|
|
|
|
|
|
define Device/asus-rt-n14uhp
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Asus RT-N14UHP
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/asus)
|
|
|
|
PRODUCTID := RT-N14UHP
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus-rt-n14uhp
|
|
|
|
|
|
|
|
define Device/asus-rt-n15u
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Asus RT-N15U
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/asus)
|
|
|
|
PRODUCTID := RT-N15U
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus-rt-n15u
|
|
|
|
|
|
|
|
define Device/asus-rt-n16
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Asus RT-N16
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/asus)
|
|
|
|
PRODUCTID := RT-N16
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus-rt-n16
|
|
|
|
|
|
|
|
define Device/asus-rt-n53
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Asus RT-N53
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/asus)
|
|
|
|
PRODUCTID := RT-N53
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus-rt-n53
|
|
|
|
|
|
|
|
define Device/asus-rt-n66u
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Asus RT-N66U
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/asus)
|
|
|
|
PRODUCTID := RT-N66U
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus-rt-n66u
|
|
|
|
|
|
|
|
define Device/asus-rt-n66w
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Asus RT-N66W
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/asus)
|
|
|
|
PRODUCTID := RT-N66U
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus-rt-n66w
|
|
|
|
|
|
|
|
define Device/linksys-wrt160n-v3
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys WRT160N v3
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
DEVICE_ID := N150
|
|
|
|
VERSION := 3.0.3
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-wrt160n-v3
|
|
|
|
|
|
|
|
define Device/linksys-wrt310n-v2
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys WRT310N v2
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
DEVICE_ID := 310N
|
|
|
|
VERSION := 2.0.1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-wrt310n-v2
|
|
|
|
|
|
|
|
define Device/linksys-wrt320n-v1
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys WRT320N v1
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
DEVICE_ID := 320N
|
|
|
|
VERSION := 1.0.5
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-wrt320n-v1
|
|
|
|
|
|
|
|
define Device/linksys-e900-v1
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys E900 v1
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
DEVICE_ID := E900
|
|
|
|
VERSION := 1.0.4
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-e900-v1
|
|
|
|
|
|
|
|
define Device/linksys-e1000-v1-v2-v2.1
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys E1000 v1 v2 v2.1
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
DEVICE_ID := E100
|
|
|
|
VERSION := 1.1.3
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-e1000-v1-v2-v2.1
|
|
|
|
|
|
|
|
define Device/linksys-e1200-v1
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys E1200 v1
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
DEVICE_ID := E120
|
|
|
|
VERSION := 1.0.3
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-e1200-v1
|
|
|
|
|
|
|
|
define Device/linksys-e1200-v2
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys E1200 v2
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
DEVICE_ID := E122
|
|
|
|
VERSION := 1.0.4
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-e1200-v2
|
|
|
|
|
|
|
|
define Device/linksys-e1500-v1
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys E1500 v1
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
DEVICE_ID := E150
|
|
|
|
VERSION := 1.0.5
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-e1500-v1
|
|
|
|
|
|
|
|
define Device/linksys-e1550-v1
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys E1550 v1
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
DEVICE_ID := 1550
|
|
|
|
VERSION := 1.0.3
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-e1550-v1
|
|
|
|
|
|
|
|
define Device/linksys-e2000-v1
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys E2000 v1
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
DEVICE_ID := 32XN
|
|
|
|
VERSION := 1.0.4
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-e2000-v1
|
|
|
|
|
|
|
|
define Device/linksys-e2500-v1
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys E2500 v1
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
DEVICE_ID := E25X
|
|
|
|
VERSION := 1.0.7
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-e2500-v1
|
|
|
|
|
|
|
|
define Device/linksys-e2500-v2
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys E2500 v2
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
DEVICE_ID := E25X
|
|
|
|
VERSION := 2.0.0
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-e2500-v2
|
|
|
|
|
|
|
|
define Device/linksys-e2500-v2.1
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys E2500 v2.1
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
DEVICE_ID := 25RU
|
|
|
|
VERSION := 2.1.0
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-e2500-v2.1
|
|
|
|
|
|
|
|
define Device/linksys-e2500-v3
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys E2500 v3
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
DEVICE_ID := 25V3
|
|
|
|
VERSION := 3.0.0
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-e2500-v3
|
|
|
|
|
|
|
|
define Device/linksys-e3200-v1
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys E3200 v1
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
DEVICE_ID := 3200
|
|
|
|
VERSION := 1.0.1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-e3200-v1
|
|
|
|
|
|
|
|
define Device/linksys-e4200-v1
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Linksys E4200 v1
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/linksys)
|
|
|
|
DEVICE_ID := 4200
|
|
|
|
VERSION := 1.0.5
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += linksys-e4200-v1
|
|
|
|
|
|
|
|
define Device/netgear-wgr614-v10_north-america
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Netgear WGR614 v10 North America
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/netgear)
|
|
|
|
NETGEAR_BOARD_ID := U12H139T01_NETGEAR
|
|
|
|
NETGEAR_REGION := 2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear-wgr614-v10_north-america
|
|
|
|
|
|
|
|
define Device/netgear-wgr614-v10_other-regions
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Netgear WGR614 v10 Other Regions
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/netgear)
|
|
|
|
NETGEAR_BOARD_ID := U12H139T01_NETGEAR
|
|
|
|
NETGEAR_REGION := 1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear-wgr614-v10_other-regions
|
|
|
|
|
|
|
|
define Device/netgear-wn2500rp-v1
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Netgear WN2500RP v1
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/netgear)
|
|
|
|
NETGEAR_BOARD_ID := U12H197T00_NETGEAR
|
|
|
|
NETGEAR_REGION := 1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear-wn2500rp-v1
|
|
|
|
|
|
|
|
define Device/netgear-wndr3400-v1
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Netgear WNDR3400 v1
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/netgear)
|
|
|
|
NETGEAR_BOARD_ID := U12H155T00_NETGEAR
|
|
|
|
NETGEAR_REGION := 2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear-wndr3400-v1
|
|
|
|
|
|
|
|
define Device/netgear-wndr3400-v2
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Netgear WNDR3400 v2
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/netgear)
|
|
|
|
NETGEAR_BOARD_ID := U12H187T00_NETGEAR
|
|
|
|
NETGEAR_REGION := 2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear-wndr3400-v2
|
|
|
|
|
|
|
|
define Device/netgear-wndr3400-v3
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Netgear WNDR3400 v3
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/netgear)
|
|
|
|
NETGEAR_BOARD_ID := U12H208T00_NETGEAR
|
|
|
|
NETGEAR_REGION := 1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear-wndr3400-v3
|
|
|
|
|
|
|
|
define Device/netgear-wndr3700-v3
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Netgear WNDR3700 v3
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/netgear)
|
|
|
|
NETGEAR_BOARD_ID := U12H194T00_NETGEAR
|
|
|
|
NETGEAR_REGION := 2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear-wndr3700-v3
|
|
|
|
|
|
|
|
define Device/netgear-wndr3400-vcna
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Netgear WNDR3400 vcna
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/netgear)
|
|
|
|
NETGEAR_BOARD_ID := U12H155T01_NETGEAR
|
|
|
|
NETGEAR_REGION := 2
|
|
|
|
endef
|
|
|
|
# TARGET_DEVICES += netgear-wndr3400-vcna
|
|
|
|
|
|
|
|
define Device/netgear-wndr4000
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Netgear WNDR4000
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/netgear)
|
|
|
|
NETGEAR_BOARD_ID := U12H181T00_NETGEAR
|
|
|
|
NETGEAR_REGION := 2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear-wndr4000
|
|
|
|
|
|
|
|
define Device/netgear-wnr1000-v3
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Netgear WNR1000 v3
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/netgear)
|
|
|
|
NETGEAR_BOARD_ID := U12H139T00_NETGEAR
|
|
|
|
NETGEAR_REGION := 2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear-wnr1000-v3
|
|
|
|
|
|
|
|
define Device/netgear-wnr2000v2
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Netgear WNR2000 v2
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/netgear)
|
|
|
|
NETGEAR_BOARD_ID := U12H114T00_NETGEAR
|
|
|
|
NETGEAR_REGION := 2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear-wnr2000v2
|
|
|
|
|
|
|
|
define Device/netgear-wnr3000rp
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Netgear WNR3000RP
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/netgear)
|
|
|
|
NETGEAR_BOARD_ID := U12H163T01_NETGEAR
|
|
|
|
NETGEAR_REGION := 1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear-wnr3000rp
|
|
|
|
|
|
|
|
define Device/netgear-wnr3500l-v1-north-america
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Netgear WNR3500L v1 North America
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/netgear)
|
|
|
|
NETGEAR_BOARD_ID := U12H136T99_NETGEAR
|
|
|
|
NETGEAR_REGION := 2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear-wnr3500l-v1-north-america
|
|
|
|
|
|
|
|
define Device/netgear-wnr3500l-v1-other-regions
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Netgear WNR3500L v1 Other Regions
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/netgear)
|
|
|
|
NETGEAR_BOARD_ID := U12H136T99_NETGEAR
|
|
|
|
NETGEAR_REGION := 1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear-wnr3500l-v1-other-regions
|
|
|
|
|
|
|
|
define Device/netgear-wnr3500l-v2
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Netgear WNR3500L v2
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/netgear)
|
|
|
|
NETGEAR_BOARD_ID := U12H172T00_NETGEAR
|
|
|
|
NETGEAR_REGION := 1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear-wnr3500l-v2
|
|
|
|
|
|
|
|
define Device/netgear-wnr3500u
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Netgear WNR3500U
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/netgear)
|
|
|
|
NETGEAR_BOARD_ID := U12H136T00_NETGEAR
|
|
|
|
NETGEAR_REGION := 2
|
|
|
|
endef
|
|
|
|
# TARGET_DEVICES += netgear-wnr3500u
|
|
|
|
|
|
|
|
define Device/netgear-wnr3500-v2
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Netgear WNR3500 v2
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/netgear)
|
|
|
|
NETGEAR_BOARD_ID := U12H127T00_NETGEAR
|
|
|
|
NETGEAR_REGION := 2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear-wnr3500-v2
|
|
|
|
|
|
|
|
define Device/netgear-wnr3500-v2-vc
|
2016-10-24 19:33:21 +00:00
|
|
|
DEVICE_TITLE := Netgear WNR3500 v2 vc
|
2016-10-20 05:59:03 +00:00
|
|
|
$(Device/netgear)
|
|
|
|
NETGEAR_BOARD_ID := U12H127T70_NETGEAR
|
|
|
|
NETGEAR_REGION := 2
|
|
|
|
endef
|
|
|
|
# TARGET_DEVICES += netgear-wnr3500-v2-vc
|
2016-03-11 21:31:34 +00:00
|
|
|
|
2016-10-24 18:33:07 +00:00
|
|
|
TARGET_DEVICES += standard standard-noloader-nodictionarylzma
|
2015-03-29 18:15:38 +00:00
|
|
|
endif
|
|
|
|
|
2014-06-05 21:23:58 +00:00
|
|
|
#################################################
|
|
|
|
# Shared BuildImage defines
|
|
|
|
#################################################
|
|
|
|
|
2010-06-26 20:41:49 +00:00
|
|
|
define Image/Build/Initramfs
|
2015-09-11 17:54:55 +00:00
|
|
|
$(STAGING_DIR_HOST)/bin/trx \
|
2015-09-11 17:55:28 +00:00
|
|
|
-m 33554432 \
|
2015-09-11 17:54:55 +00:00
|
|
|
-o $(BIN_DIR)/$(IMG_PREFIX)-initramfs.trx \
|
|
|
|
-f $(KDIR)/loader.gz \
|
|
|
|
-f $(KDIR)/vmlinux-initramfs.lzma
|
|
|
|
$(STAGING_DIR_HOST)/bin/trx \
|
2015-09-11 17:55:28 +00:00
|
|
|
-m 33554432 \
|
2015-09-11 17:54:55 +00:00
|
|
|
-o $(BIN_DIR)/$(IMG_PREFIX)-initramfs-noloader-nodictionary.trx \
|
|
|
|
-f $(KDIR)/vmlinux-initramfs-nodictionary.lzma
|
2010-06-26 20:41:49 +00:00
|
|
|
endef
|
|
|
|
|
2014-05-14 10:08:22 +00:00
|
|
|
# $(1): filesystem type.
|
2010-06-26 20:41:49 +00:00
|
|
|
define Image/Build
|
2016-03-11 21:31:34 +00:00
|
|
|
# TODO: Move it to Device/*
|
2013-06-27 19:58:31 +00:00
|
|
|
ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
|
|
|
|
$(call Image/Build/Initramfs)
|
|
|
|
endif
|
2010-06-26 20:41:49 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildImage))
|