summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-10-23 15:43:26 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-10-23 15:43:26 +0000
commit9e01011b5ca289484d302983ed277aeeb3417b24 (patch)
tree606323b36e94772b89d0d8dac199d2f0a94df939
parent757a6fdef9f60f789abf8187c52ac50354bbd09e (diff)
downloadmtk-20170518-9e01011b5ca289484d302983ed277aeeb3417b24.zip
mtk-20170518-9e01011b5ca289484d302983ed277aeeb3417b24.tar.gz
mtk-20170518-9e01011b5ca289484d302983ed277aeeb3417b24.tar.bz2
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
-rw-r--r--target/linux/ar71xx/Makefile2
-rwxr-xr-xtarget/linux/ar71xx/base-files/sbin/wget2nand4
-rw-r--r--target/linux/ar71xx/mikrotik/config-default (renamed from target/linux/ar71xx/nand/config-default)0
-rw-r--r--target/linux/ar71xx/mikrotik/profiles/01-minimal.mk (renamed from target/linux/ar71xx/nand/profiles/01-minimal.mk)0
-rw-r--r--target/linux/ar71xx/mikrotik/profiles/02-ath5k.mk (renamed from target/linux/ar71xx/nand/profiles/02-ath5k.mk)0
-rw-r--r--target/linux/ar71xx/mikrotik/target.mk (renamed from target/linux/ar71xx/nand/target.mk)0
6 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile
index 019e3cb..a59a124 100644
--- a/target/linux/ar71xx/Makefile
+++ b/target/linux/ar71xx/Makefile
@@ -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
diff --git a/target/linux/ar71xx/base-files/sbin/wget2nand b/target/linux/ar71xx/base-files/sbin/wget2nand
index f80eecd..8175a9e 100755
--- a/target/linux/ar71xx/base-files/sbin/wget2nand
+++ b/target/linux/ar71xx/base-files/sbin/wget2nand
@@ -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')"
diff --git a/target/linux/ar71xx/nand/config-default b/target/linux/ar71xx/mikrotik/config-default
index efa562c..efa562c 100644
--- a/target/linux/ar71xx/nand/config-default
+++ b/target/linux/ar71xx/mikrotik/config-default
diff --git a/target/linux/ar71xx/nand/profiles/01-minimal.mk b/target/linux/ar71xx/mikrotik/profiles/01-minimal.mk
index 3651c88..3651c88 100644
--- a/target/linux/ar71xx/nand/profiles/01-minimal.mk
+++ b/target/linux/ar71xx/mikrotik/profiles/01-minimal.mk
diff --git a/target/linux/ar71xx/nand/profiles/02-ath5k.mk b/target/linux/ar71xx/mikrotik/profiles/02-ath5k.mk
index a291ff6..a291ff6 100644
--- a/target/linux/ar71xx/nand/profiles/02-ath5k.mk
+++ b/target/linux/ar71xx/mikrotik/profiles/02-ath5k.mk
diff --git a/target/linux/ar71xx/nand/target.mk b/target/linux/ar71xx/mikrotik/target.mk
index 45d2624..45d2624 100644
--- a/target/linux/ar71xx/nand/target.mk
+++ b/target/linux/ar71xx/mikrotik/target.mk