Browse Source

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 <[email protected]>
Stijn Tintel 3 years ago
parent
commit
86948716db
1 changed files with 1 additions and 1 deletions
  1. 1 1
      target/linux/qoriq/image/Makefile

+ 1 - 1
target/linux/qoriq/image/Makefile

@@ -8,7 +8,7 @@ SQUASHFSCOMP := xz $(LZMA_XZ_OPTIONS)
 define Build/sdcard-img
         rm -fR [email protected]
         mkdir -p [email protected]
-        $(CP) $(KDIR)/$(DEVICE_NAME)-kernel.bin [email protected]
+        $(CP) $(KDIR)/$(DEVICE_NAME)$(KERNEL_SUFFIX) [email protected]
         $(if $(DEVICE_DTS),\
                 $(foreach dtb,$(DEVICE_DTS),$(CP) $(KDIR)/image-$(dtb).dtb [email protected]), \
                 $(CP) $(KDIR)/image-/*.dtb [email protected])