From a649b64547c0415d3ec8b9648458b9f8fa03f52b Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 20 May 2017 11:20:27 +0200 Subject: [PATCH] flash-image: Install files for armv5tel only on armv5tel Signed-off-by: Michael Tremer --- lfs/flash-images | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lfs/flash-images b/lfs/flash-images index a5a3c29cee..c15ab74cca 100644 --- a/lfs/flash-images +++ b/lfs/flash-images @@ -114,7 +114,7 @@ endif mount $(PART_BOOT) $(MNThdd)/boot # Install Pandaboard MLO and uboot first -ifeq "$(BUILD_PLATFORM)" "arm" +ifeq "$(BUILD_ARCH)" "armv5tel" cp -v /boot/MLO $(MNThdd)/boot/ cp -v /boot/u-boot.img $(MNThdd)/boot/ sync @@ -208,7 +208,7 @@ endif # not copied to a block device) dd if=/dev/zero bs=1M count=$(PADDING) >> $(IMG) -ifeq "$(BUILD_PLATFORM)" "arm" +ifeq "$(BUILD_ARCH)" "armv5tel" # Install u-boot for Orangepi Zero/Nanopi DUO into image 8KB dd if=/usr/share/u-boot/orangepi_zero/u-boot-sunxi-with-spl.bin of=$(IMG) bs=1K seek=8 conv=notrunc endif -- 2.39.2