ath25: fix ELF image generation

Commit 21f460a5db ("ath25: fix duplicate LZMA compression"), when
attempting to restore ELF artifact generation, copiedover the raw
kernel image twice. Because of that, the .elf artifact was actually a
duplicate of raw image.

Fix that by copying over .elf suffixed kernel image instead.

Fixes: 21f460a5db ("ath25: fix duplicate LZMA compression")
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
This commit is contained in:
Lech Perczak 2022-08-10 01:06:24 +02:00 committed by Hauke Mehrtens
parent 85b41cbd3b
commit 611291383a

View File

@ -43,7 +43,7 @@ endef
define Build/copy-kernel
rm -f $@ $@.elf
cp $< $@
cp $< $@.elf
cp $<.elf $@.elf
endef
define Build/elf-kernel