aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/image
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2015-09-04 14:45:04 +0000
committerJonas Gorski <jogo@openwrt.org>2015-09-04 14:45:04 +0000
commit156a25b9c45a91dcd885affa799345e66a0f1319 (patch)
treeda636981848ed7b7a9df0b33afc920dca0d0560f /target/linux/ar71xx/image
parent89815d4645fa5d44cbfcf4ebed6e73ce11cbd040 (diff)
downloadupstream-156a25b9c45a91dcd885affa799345e66a0f1319.tar.gz
upstream-156a25b9c45a91dcd885affa799345e66a0f1319.tar.bz2
upstream-156a25b9c45a91dcd885affa799345e66a0f1319.zip
ar71xx: rename NETGEAR_ variables to their netgear names
Netgear names them BOARD_ID and HW_ID, so we should do the same. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46790
Diffstat (limited to 'target/linux/ar71xx/image')
-rw-r--r--target/linux/ar71xx/image/Makefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index 8f609de774..04597f2c82 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -14,7 +14,7 @@ IMAGE_PROFILE:=$(if $(PROFILE),$(PROFILE),Default)
KERNEL_LOADADDR = 0x80060000
-DEVICE_VARS += NETGEAR_KERNEL_MAGIC NETGEAR_BOARD NETGEAR_ID CMDLINE CONSOLE IMAGE_SIZE BOARDNAME LOADER_FLASH_OFFS
+DEVICE_VARS += NETGEAR_KERNEL_MAGIC NETGEAR_BOARD_ID NETGEAR_HW_ID CMDLINE CONSOLE IMAGE_SIZE BOARDNAME LOADER_FLASH_OFFS
define Build/netgear-squashfs
rm -rf $@.fs $@.squashfs
@@ -39,8 +39,8 @@ endef
define Build/netgear-image
$(STAGING_DIR_HOST)/bin/mkdniimg \
- -B $(NETGEAR_BOARD) -v OpenWrt.$(REVISION) \
- $(if $(NETGEAR_ID),-H $(NETGEAR_ID)) \
+ -B $(NETGEAR_BOARD_ID) -v OpenWrt.$(REVISION) \
+ $(if $(NETGEAR_HW_ID),-H $(NETGEAR_HW_ID)) \
-r "$(1)" \
-i $@ -o $@.new
mv $@.new $@
@@ -191,7 +191,7 @@ TARGET_DEVICES += carambola2
define Device/wndr3700
BOARDNAME = WNDR3700
NETGEAR_KERNEL_MAGIC = 0x33373030
- NETGEAR_BOARD = WNDR3700
+ NETGEAR_BOARD_ID = WNDR3700
IMAGE_SIZE = 7680k
MTDPARTS = spi0.0:320k(u-boot)ro,128k(u-boot-env)ro,7680k(firmware),64k(art)ro
IMAGES := sysupgrade.bin factory.img factory-NA.img
@@ -204,9 +204,9 @@ endef
define Device/wndr3700v2
$(Device/wndr3700)
- NETGEAR_BOARD = WNDR3700v2
+ NETGEAR_BOARD_ID = WNDR3700v2
NETGEAR_KERNEL_MAGIC = 0x33373031
- NETGEAR_ID = 29763654+16+64
+ NETGEAR_HW_ID = 29763654+16+64
IMAGE_SIZE = 15872k
MTDPARTS = spi0.0:320k(u-boot)ro,128k(u-boot-env)ro,15872k(firmware),64k(art)ro
IMAGES := sysupgrade.bin factory.img
@@ -214,23 +214,23 @@ endef
define Device/wndr3800
$(Device/wndr3700v2)
- NETGEAR_BOARD = WNDR3800
- NETGEAR_ID = 29763654+16+128
+ NETGEAR_BOARD_ID = WNDR3800
+ NETGEAR_HW_ID = 29763654+16+128
endef
define Device/wndr3800ch
$(Device/wndr3800)
- NETGEAR_BOARD = WNDR3800CH
+ NETGEAR_BOARD_ID = WNDR3800CH
endef
define Device/wndrmac
$(Device/wndr3700v2)
- NETGEAR_BOARD = WNDRMAC
+ NETGEAR_BOARD_ID = WNDRMAC
endef
define Device/wndrmacv2
$(Device/wndr3800)
- NETGEAR_BOARD = WNDRMACv2
+ NETGEAR_BOARD_ID = WNDRMACv2
endef
TARGET_DEVICES += wndr3700 wndr3700v2 wndr3800 wndr3800ch wndrmac wndrmacv2