diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-03-27 19:14:34 +0100 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2019-04-06 19:14:06 +0200 |
commit | 0eef05fb362469cb4adcf051d11b325adc8c2381 (patch) | |
tree | 587353ff2c60e16358848eaabdfb99e1f3bf5d69 /target/linux/ath79/image/common-tp-link.mk | |
parent | 2a8175a7ac79f37444eed1dc72054e170c71491e (diff) | |
download | upstream-0eef05fb362469cb4adcf051d11b325adc8c2381.tar.gz upstream-0eef05fb362469cb4adcf051d11b325adc8c2381.tar.bz2 upstream-0eef05fb362469cb4adcf051d11b325adc8c2381.zip |
ath79: Utilize tplink-safeloader definition
Currently, tplink-safeloader definition is only used a base for
another common definition.
This patch adjusts tplink-safeloader so it can be actually used
for some targets in generic-tp-link.mk.
This patch is cosmetic except for the order of
"check-size $$$$(IMAGE_SIZE)" and "append-metadata" exchanged
for the tplink_re350k-v1 .
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [dealed with
tplink_cpe210-v2 and tplink_cpe210-v3, removed tplink-safeloader-uimage's
extra IMAGE/sysupgrade.bin rule]
Diffstat (limited to 'target/linux/ath79/image/common-tp-link.mk')
-rw-r--r-- | target/linux/ath79/image/common-tp-link.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/ath79/image/common-tp-link.mk b/target/linux/ath79/image/common-tp-link.mk index f22da2f801..6efff6322e 100644 --- a/target/linux/ath79/image/common-tp-link.mk +++ b/target/linux/ath79/image/common-tp-link.mk @@ -99,8 +99,9 @@ endef define Device/tplink-safeloader $(Device/tplink) - KERNEL := kernel-bin | append-dtb | lzma | tplink-v1-header - IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade | append-metadata + KERNEL := kernel-bin | append-dtb | lzma | tplink-v1-header -O + IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade | \ + append-metadata | check-size $$$$(IMAGE_SIZE) IMAGE/factory.bin := append-rootfs | tplink-safeloader factory endef |