mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-22 10:01:03 +00:00
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@linux-ipv6.be> (cherry picked from commit 86948716dbc1c220d4be504cfe5433bfd9e1d630)
This commit is contained in:
parent
2b8021d614
commit
88101fa239
@ -8,7 +8,7 @@ SQUASHFSCOMP := xz $(LZMA_XZ_OPTIONS)
|
|||||||
define Build/sdcard-img
|
define Build/sdcard-img
|
||||||
rm -fR $@.boot
|
rm -fR $@.boot
|
||||||
mkdir -p $@.boot
|
mkdir -p $@.boot
|
||||||
$(CP) $(KDIR)/$(DEVICE_NAME)-kernel.bin $@.boot
|
$(CP) $(KDIR)/$(DEVICE_NAME)$(KERNEL_SUFFIX) $@.boot
|
||||||
$(if $(DEVICE_DTS),\
|
$(if $(DEVICE_DTS),\
|
||||||
$(foreach dtb,$(DEVICE_DTS),$(CP) $(KDIR)/image-$(dtb).dtb $@.boot), \
|
$(foreach dtb,$(DEVICE_DTS),$(CP) $(KDIR)/image-$(dtb).dtb $@.boot), \
|
||||||
$(CP) $(KDIR)/image-/*.dtb $@.boot)
|
$(CP) $(KDIR)/image-/*.dtb $@.boot)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user