aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-01-29 23:52:09 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-02-02 13:40:08 +0100
commit9c37c5ef2f1f2013b359caa5528c86e1adaede3e (patch)
tree6e184a0835494062d25aeff32618a8b67c0fb42e
parent87b14bc6c289e7e80052b344c0f0c35e95ced267 (diff)
downloadupstream-9c37c5ef2f1f2013b359caa5528c86e1adaede3e.tar.gz
upstream-9c37c5ef2f1f2013b359caa5528c86e1adaede3e.tar.bz2
upstream-9c37c5ef2f1f2013b359caa5528c86e1adaede3e.zip
ath79: rename Device/tplink to Device/tplink-v1
As we have tplink-v2-header and tplink-v2-image recipes as well, this patch renames the Device/tplink definition to Device/tplink-v1, as it's using the tplink-v1-* commands. This should provide easier distinction in the future. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
-rw-r--r--target/linux/ath79/image/common-tp-link.mk12
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/ath79/image/common-tp-link.mk b/target/linux/ath79/image/common-tp-link.mk
index 8aa6a5a2be..0905e605b1 100644
--- a/target/linux/ath79/image/common-tp-link.mk
+++ b/target/linux/ath79/image/common-tp-link.mk
@@ -9,7 +9,7 @@ define Build/uImageArcher
@mv $@.new $@
endef
-define Device/tplink
+define Device/tplink-v1
DEVICE_VENDOR := TP-Link
TPLINK_HWREV := 0x1
TPLINK_HEADER_VERSION := 1
@@ -22,7 +22,7 @@ define Device/tplink
endef
define Device/tplink-nolzma
- $(Device/tplink)
+ $(Device/tplink-v1)
LOADER_FLASH_OFFS := 0x22000
COMPILE := loader-$(1).gz
COMPILE/loader-$(1).gz := loader-okli-compile
@@ -38,7 +38,7 @@ define Device/tplink-4m
endef
define Device/tplink-4mlzma
- $(Device/tplink)
+ $(Device/tplink-v1)
TPLINK_FLASHLAYOUT := 4Mlzma
IMAGE_SIZE := 3904k
endef
@@ -50,19 +50,19 @@ define Device/tplink-8m
endef
define Device/tplink-8mlzma
- $(Device/tplink)
+ $(Device/tplink-v1)
TPLINK_FLASHLAYOUT := 8Mlzma
IMAGE_SIZE := 8000k
endef
define Device/tplink-16mlzma
- $(Device/tplink)
+ $(Device/tplink-v1)
TPLINK_FLASHLAYOUT := 16Mlzma
IMAGE_SIZE := 16192k
endef
define Device/tplink-safeloader
- $(Device/tplink)
+ $(Device/tplink-v1)
KERNEL := kernel-bin | append-dtb | lzma | tplink-v1-header -O
IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade | \
append-metadata | check-size $$$$(IMAGE_SIZE)