ath25: fix initramfs image generation
authorLech Perczak <lech.perczak@gmail.com>
Tue, 9 Aug 2022 23:10:57 +0000 (01:10 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 13 Aug 2022 18:52:37 +0000 (20:52 +0200)
commit9f5cbb6e8b9537942db405719bf7662d0e08b8c5
treed4d5236a51a617edcf38be73572f887f939c0828
parent611291383a826827f240eddebca1949c2e1e7115
ath25: fix initramfs image generation

Commit 21f460a5dbef ("ath25: fix duplicate LZMA compression") changed
the way kernel images are generated, affecting initramfs images instead.
Initramfs images were previously ELF images, and by mistake this change
caused the raw kernel image to be used as a source. This caused them to
be non-loadable by bootloaders.

Restore the previous KERNEL_INITRAMFS recipe and adjust
KERNEL_INITRAMFS_NAME to point at the correct source artifact.
While at that, adjust KERNEL_INITRAMFS_SUFFIX to -kernel.elf,
so it matches the suffix of non-initramfs kernel artifact.

Fixes: 21f460a5dbef ("ath25: fix duplicate LZMA compression")
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
target/linux/ath25/image/Makefile