Skip to content

Commit

Permalink
qoriq: use KERNEL_SUFFIX in Build/sdcard-img
Browse files Browse the repository at this point in the history
Use the KERNEL_SUFFIX variable in Build/sdcard-img, rather than
using hardcoded "-kernel.bin", to allow overriding KERNEL_SUFFIX for a
device.

Fixes: 080a769 ("qoriq: new target")
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
  • Loading branch information
stintel committed Jun 14, 2022
1 parent a7be143 commit 8694871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target/linux/qoriq/image/Makefile
Expand Up @@ -8,7 +8,7 @@ SQUASHFSCOMP := xz $(LZMA_XZ_OPTIONS)
define Build/sdcard-img
rm -fR $@.boot
mkdir -p $@.boot
$(CP) $(KDIR)/$(DEVICE_NAME)-kernel.bin $@.boot
$(CP) $(KDIR)/$(DEVICE_NAME)$(KERNEL_SUFFIX) $@.boot
$(if $(DEVICE_DTS),\
$(foreach dtb,$(DEVICE_DTS),$(CP) $(KDIR)/image-$(dtb).dtb $@.boot), \
$(CP) $(KDIR)/image-/*.dtb $@.boot)
Expand Down

0 comments on commit 8694871

Please sign in to comment.