brcm47xx: 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: 46594
This commit is contained in:
Jonas Gorski 2015-08-14 13:04:22 +00:00
parent b6abb59975
commit bee065262a

View File

@ -130,8 +130,8 @@ define Build/netgear-chk
$(STAGING_DIR_HOST)/bin/mkchkimg \
-o $@.new \
-k $@ \
-b $(BOARD_ID) \
-r $(REGION)
-b $(NETGEAR_BOARD_ID) \
-r $(NETGEAR_REGION)
mv $@.new $@
endef
@ -141,7 +141,7 @@ endef
DEVICE_VARS += PRODUCTID
DEVICE_VARS += DEVICE_ID VERSION
DEVICE_VARS += BOARD_ID REGION
DEVICE_VARS += NETGEAR_BOARD_ID NETGEAR_REGION
define Device/Default
KERNEL := kernel-bin
@ -187,8 +187,8 @@ endef
define NetgearDevice
define Device/netgear-$(1)
$$(Device/netgear)
BOARD_ID := $(2)
REGION := $(3)
NETGEAR_BOARD_ID := $(2)
NETGEAR_REGION := $(3)
endef
TARGET_DEVICES += netgear-$(1)
endef