From c6502ce3bb87b6a6a85209d3e67736bd2db21bc7 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 27 Jan 2017 16:06:31 +0100 Subject: layerscape: put u-boot and ucode images into image staging directory Do not put the u-boot and ucode images into the kernel build directory as this directory might get removed after kernel updates while the u-boot packages InstallDev recipe is not getting re-executed because it is still considered current, leading to image build failures later on due to missing images. To ensure that built bootloader images persist over kernel version updates in the buildroot, put them into the new STAGING_DIR_IMAGE directory. Signed-off-by: Jo-Philipp Wich --- target/linux/layerscape/image/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'target/linux') diff --git a/target/linux/layerscape/image/Makefile b/target/linux/layerscape/image/Makefile index 341d5fbda0..107a3e6eed 100644 --- a/target/linux/layerscape/image/Makefile +++ b/target/linux/layerscape/image/Makefile @@ -9,15 +9,15 @@ include $(INCLUDE_DIR)/image.mk define Build/append-ls-rcw rm -f $@ - dd if=$(KDIR)/$(1)-rcw.bin >> $@ + dd if=$(STAGING_DIR_IMAGE)/$(1)-rcw.bin >> $@ endef define Build/append-ls-uboot - dd if=$(KDIR)/$(1)-$(SUBTARGET)-uboot.bin >> $@ + dd if=$(STAGING_DIR_IMAGE)/$(1)-$(SUBTARGET)-uboot.bin >> $@ endef define Build/append-ls-fman - dd if=$(KDIR)/$(1)-fman.bin >> $@ + dd if=$(STAGING_DIR_IMAGE)/$(1)-fman.bin >> $@ endef define Build/append-ls-dtb -- cgit v1.2.3