diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-07-20 11:59:07 +0200 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2019-08-07 18:04:03 +0200 |
commit | 198eae28623e9e422fe3b52ac53632fab980a561 (patch) | |
tree | 42bcabd33e6fe502531129a71dff1b97c97cc229 /target/linux/ath79/image/common-tp-link.mk | |
parent | 9ba83c450ca8f031af81a2080a8e662fce4e586e (diff) | |
download | upstream-198eae28623e9e422fe3b52ac53632fab980a561.tar.gz upstream-198eae28623e9e422fe3b52ac53632fab980a561.tar.bz2 upstream-198eae28623e9e422fe3b52ac53632fab980a561.zip |
ath79: create common definition tplink-loader-okli
The loader-okli is shared by several TP-Link CPExxx devices, so
give it its own definition to prevent too much code duplication.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ath79/image/common-tp-link.mk')
-rw-r--r-- | target/linux/ath79/image/common-tp-link.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ath79/image/common-tp-link.mk b/target/linux/ath79/image/common-tp-link.mk index da4616482a..d1d4a8940d 100644 --- a/target/linux/ath79/image/common-tp-link.mk +++ b/target/linux/ath79/image/common-tp-link.mk @@ -110,3 +110,12 @@ define Device/tplink-safeloader-uimage $(Device/tplink-safeloader) KERNEL := kernel-bin | append-dtb | lzma | uImageArcher lzma endef + +define Device/tplink-loader-okli + $(Device/tplink-safeloader) + LOADER_TYPE := elf + LOADER_FLASH_OFFS := 0x43000 + COMPILE := loader-$(1).elf + COMPILE/loader-$(1).elf := loader-okli-compile + KERNEL := kernel-bin | append-dtb | lzma | uImage lzma -M 0x4f4b4c49 | loader-okli $(1) 12288 +endef |