From 475da81ec01701d1443ad65152bee63bae981fdd Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 27 Jan 2017 16:32:41 +0100 Subject: ixp4xx: put apex images into image staging directory Do not put the apex images into the kernel build directory as this directory might get removed after kernel updates while the apex 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/ixp4xx/image/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target/linux/ixp4xx/image') diff --git a/target/linux/ixp4xx/image/Makefile b/target/linux/ixp4xx/image/Makefile index 7ec8420..5b6ff0b 100644 --- a/target/linux/ixp4xx/image/Makefile +++ b/target/linux/ixp4xx/image/Makefile @@ -10,12 +10,12 @@ include $(INCLUDE_DIR)/image.mk ifdef CONFIG_PACKAGE_apex define Image/Build/Linksys BIN_DIR=$(BIN_DIR) $(TOPDIR)/scripts/slugimage.pl \ - -L $(KDIR)/apex-$(2)-armeb.bin \ + -L $(STAGING_DIR_IMAGE)/apex-$(2)-armeb.bin \ -k $(BIN_DIR)/$(IMG_PREFIX)-$(2)-zImage \ -r rootfs:$(BIN_DIR)/$(IMG_PREFIX)-$(1).img \ -p -o $(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(1).bin BIN_DIR=$(BIN_DIR) $(TOPDIR)/scripts/slugimage.pl \ - -F -L $(KDIR)/apex-$(2)-16mb-armeb.bin \ + -F -L $(STAGING_DIR_IMAGE)/apex-$(2)-16mb-armeb.bin \ -k $(BIN_DIR)/$(IMG_PREFIX)-$(2)-zImage \ -r rootfs:$(BIN_DIR)/$(IMG_PREFIX)-$(1).img \ -p -o $(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(1)-16mb.bin -- cgit v1.1