mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08:00
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>
This commit is contained in:
parent
87b14bc6c2
commit
9c37c5ef2f
@ -9,7 +9,7 @@ define Build/uImageArcher
|
|||||||
@mv $@.new $@
|
@mv $@.new $@
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Device/tplink
|
define Device/tplink-v1
|
||||||
DEVICE_VENDOR := TP-Link
|
DEVICE_VENDOR := TP-Link
|
||||||
TPLINK_HWREV := 0x1
|
TPLINK_HWREV := 0x1
|
||||||
TPLINK_HEADER_VERSION := 1
|
TPLINK_HEADER_VERSION := 1
|
||||||
@ -22,7 +22,7 @@ define Device/tplink
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Device/tplink-nolzma
|
define Device/tplink-nolzma
|
||||||
$(Device/tplink)
|
$(Device/tplink-v1)
|
||||||
LOADER_FLASH_OFFS := 0x22000
|
LOADER_FLASH_OFFS := 0x22000
|
||||||
COMPILE := loader-$(1).gz
|
COMPILE := loader-$(1).gz
|
||||||
COMPILE/loader-$(1).gz := loader-okli-compile
|
COMPILE/loader-$(1).gz := loader-okli-compile
|
||||||
@ -38,7 +38,7 @@ define Device/tplink-4m
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Device/tplink-4mlzma
|
define Device/tplink-4mlzma
|
||||||
$(Device/tplink)
|
$(Device/tplink-v1)
|
||||||
TPLINK_FLASHLAYOUT := 4Mlzma
|
TPLINK_FLASHLAYOUT := 4Mlzma
|
||||||
IMAGE_SIZE := 3904k
|
IMAGE_SIZE := 3904k
|
||||||
endef
|
endef
|
||||||
@ -50,19 +50,19 @@ define Device/tplink-8m
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Device/tplink-8mlzma
|
define Device/tplink-8mlzma
|
||||||
$(Device/tplink)
|
$(Device/tplink-v1)
|
||||||
TPLINK_FLASHLAYOUT := 8Mlzma
|
TPLINK_FLASHLAYOUT := 8Mlzma
|
||||||
IMAGE_SIZE := 8000k
|
IMAGE_SIZE := 8000k
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Device/tplink-16mlzma
|
define Device/tplink-16mlzma
|
||||||
$(Device/tplink)
|
$(Device/tplink-v1)
|
||||||
TPLINK_FLASHLAYOUT := 16Mlzma
|
TPLINK_FLASHLAYOUT := 16Mlzma
|
||||||
IMAGE_SIZE := 16192k
|
IMAGE_SIZE := 16192k
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Device/tplink-safeloader
|
define Device/tplink-safeloader
|
||||||
$(Device/tplink)
|
$(Device/tplink-v1)
|
||||||
KERNEL := kernel-bin | append-dtb | lzma | tplink-v1-header -O
|
KERNEL := kernel-bin | append-dtb | lzma | tplink-v1-header -O
|
||||||
IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade | \
|
IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade | \
|
||||||
append-metadata | check-size $$$$(IMAGE_SIZE)
|
append-metadata | check-size $$$$(IMAGE_SIZE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user