[openwrt/openwrt] qoriq: use KERNEL_SUFFIX in Build/sdcard-img
LEDE Commits
lede-commits at lists.infradead.org
Tue Jun 14 03:02:00 PDT 2022
stintel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/86948716dbc1c220d4be504cfe5433bfd9e1d630
commit 86948716dbc1c220d4be504cfe5433bfd9e1d630
Author: Stijn Tintel <stijn at linux-ipv6.be>
AuthorDate: Tue Apr 26 18:18:20 2022 +0300
qoriq: use KERNEL_SUFFIX in Build/sdcard-img
Use the KERNEL_SUFFIX variable in Build/sdcard-img, rather than
using hardcoded "-kernel.bin", to allow overriding KERNEL_SUFFIX for a
device.
Fixes: 080a769b4da8 ("qoriq: new target")
Signed-off-by: Stijn Tintel <stijn at linux-ipv6.be>
---
target/linux/qoriq/image/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/qoriq/image/Makefile b/target/linux/qoriq/image/Makefile
index a3c8dd38c2..ec46e4d543 100644
--- a/target/linux/qoriq/image/Makefile
+++ b/target/linux/qoriq/image/Makefile
@@ -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)
More information about the lede-commits
mailing list