From: Michael Tremer Date: Sat, 20 May 2017 09:20:27 +0000 (+0200) Subject: flash-image: Install files for armv5tel only on armv5tel X-Git-Tag: v2.21-core122~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;ds=sidebyside;h=a649b64547c0415d3ec8b9648458b9f8fa03f52b;p=ipfire-2.x.git flash-image: Install files for armv5tel only on armv5tel Signed-off-by: Michael Tremer --- 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