mirror of https://github.com/hak5/openwrt-owl.git
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: 46594owl
parent
b6abb59975
commit
bee065262a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue