summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2015-08-14 13:03:36 +0000
committerJonas Gorski <jogo@openwrt.org>2015-08-14 13:03:36 +0000
commitb6abb59975f49cb442b6e7b18c319631ac4f5b6c (patch)
tree6f6499dd28d2b3f1f43d348b10148783d9288c87 /target
parentbed330204a9f42a6796cb381cf4d67cc5cd7891e (diff)
downloadmtk-20170518-b6abb59975f49cb442b6e7b18c319631ac4f5b6c.zip
mtk-20170518-b6abb59975f49cb442b6e7b18c319631ac4f5b6c.tar.gz
mtk-20170518-b6abb59975f49cb442b6e7b18c319631ac4f5b6c.tar.bz2
bcm53xx: prefix netgear specific device variables with NETGEAR_
Rename BOARD_ID to NETGEAR_BOARD_ID and REGION to NETGEAR_REGION. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46593
Diffstat (limited to 'target')
-rw-r--r--target/linux/bcm53xx/image/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/bcm53xx/image/Makefile b/target/linux/bcm53xx/image/Makefile
index 0aeb6ea..fdb2c05 100644
--- a/target/linux/bcm53xx/image/Makefile
+++ b/target/linux/bcm53xx/image/Makefile
@@ -62,11 +62,11 @@ endef
define Build/netgear-chk
$(STAGING_DIR_HOST)/bin/mkchkimg \
- -o $@.new -k $@ -b $(BOARD_ID) -r $(REGION)
+ -o $@.new -k $@ -b $(NETGEAR_BOARD_ID) -r $(NETGEAR_REGION)
mv $@.new $@
endef
-DEVICE_VARS += DT PRODUCTID BOARD_ID REGION
+DEVICE_VARS += DT PRODUCTID NETGEAR_BOARD_ID NETGEAR_REGION
define Device/Default
# .dtb files are prefixed by SoC type, e.g. bcm4708- which is not included in device/image names
@@ -96,30 +96,30 @@ endef
define Device/netgear
IMAGES := chk
IMAGE/chk := trx-nand | netgear-chk
- REGION := 1
+ NETGEAR_REGION := 1
endef
define NetgearDevice
define Device/netgear-$(1)
$$(Device/netgear)
- BOARD_ID := $(2)
+ NETGEAR_BOARD_ID := $(2)
endef
TARGET_DEVICES += netgear-$(1)
endef
define Device/netgear-r6250
$(Device/netgear)
- BOARD_ID := U12H245T00_NETGEAR
+ NETGEAR_BOARD_ID := U12H245T00_NETGEAR
endef
define Device/netgear-r6300-v2
$(Device/netgear)
- BOARD_ID := U12H240T00_NETGEAR
+ NETGEAR_BOARD_ID := U12H240T00_NETGEAR
endef
define Device/netgear-r8000
$(Device/netgear)
- BOARD_ID := U12H315T00_NETGEAR
+ NETGEAR_BOARD_ID := U12H315T00_NETGEAR
endef
define Device/smartrg-sr400ac