ar71xx: rename 'nand' subtarget to 'mikrotik'

It is for Mikrotik devices only, rename the subtarget
to reflect that. Also fix the wget2nand script to use
the new image names.

Based on the patch by Stefan Agner:
http://patchwork.openwrt.org/patch/4123/

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38509
This commit is contained in:
Gabor Juhos 2013-10-23 15:43:26 +00:00
parent 757a6fdef9
commit 9e01011b5c
6 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ BOARD:=ar71xx
BOARDNAME:=Atheros AR7xxx/AR9xxx
FEATURES:=squashfs targz mips16
CPU_TYPE=34kc
SUBTARGETS:=generic nand
SUBTARGETS:=generic mikrotik
LINUX_VERSION:=3.10.17

View File

@ -27,8 +27,8 @@ url=$1
exit 1
}
url_kernel=$url/openwrt-ar71xx-nand-vmlinux-lzma.elf
url_rootfs=$url/openwrt-ar71xx-nand-rootfs.tar.gz
url_kernel=$url/openwrt-ar71xx-mikrotik-vmlinux-lzma.elf
url_rootfs=$url/openwrt-ar71xx-mikrotik-rootfs.tar.gz
mtd_kernel="$(find_mtd_part 'kernel')"
mtd_rootfs="$(find_mtd_part 'rootfs')"