Commit f49063ba authored by David Bauer's avatar David Bauer

ath79: replace custom uImageArcher generation

The replaces the custom uImageArcher build step with the generic uImage
build step. The only different between these two is the difference in
the generated name.

Tested on: TP-Link Archer C59 v1
Acked-by: Adrian Schmutzler's avatarAdrian Schmutzler <[email protected]>
Signed-off-by: default avatarDavid Bauer <[email protected]>
parent dbaf0d20
DEVICE_VARS += TPLINK_HWID TPLINK_HWREV TPLINK_FLASHLAYOUT TPLINK_HEADER_VERSION DEVICE_VARS += TPLINK_HWID TPLINK_HWREV TPLINK_FLASHLAYOUT TPLINK_HEADER_VERSION
DEVICE_VARS += TPLINK_BOARD_ID TPLINK_HWREVADD TPLINK_HVERSION DEVICE_VARS += TPLINK_BOARD_ID TPLINK_HWREVADD TPLINK_HVERSION
define Build/uImageArcher
mkimage -A $(LINUX_KARCH) \
-O linux -T kernel -C $(1) -a $(KERNEL_LOADADDR) \
-e $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \
-n '$(call toupper,$(LINUX_KARCH)) OpenWrt Linux-$(LINUX_VERSION)' -d [email protected] [email protected]
@mv [email protected] [email protected]
endef
define Device/tplink-v1 define Device/tplink-v1
DEVICE_VENDOR := TP-Link DEVICE_VENDOR := TP-Link
TPLINK_HWID := 0x0 TPLINK_HWID := 0x0
...@@ -88,7 +80,7 @@ endef ...@@ -88,7 +80,7 @@ endef
define Device/tplink-safeloader-uimage define Device/tplink-safeloader-uimage
$(Device/tplink-safeloader) $(Device/tplink-safeloader)
KERNEL := kernel-bin | append-dtb | lzma | uImageArcher lzma KERNEL := kernel-bin | append-dtb | lzma | uImage lzma
KERNEL_INITRAMFS := $$(KERNEL) KERNEL_INITRAMFS := $$(KERNEL)
endef endef
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment