Skip to content
Snippets Groups Projects
Commit 4b8b6abd authored by jogo's avatar jogo
Browse files

brcm47xx: prefix netgear specific device variables with NETGEAR_


Rename BOARD_ID to NETGEAR_BOARD_ID and REGION to NETGEAR_REGION.

Signed-off-by: default avatarJonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46594 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent a5679f28
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment