]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
flash-image: Install files for armv5tel only on armv5tel
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 20 May 2017 09:20:27 +0000 (11:20 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 31 May 2018 11:09:26 +0000 (12:09 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/flash-images

index a5a3c29ceeaa62f33e911a90c3b7c055b1fac4ed..c15ab74cca4722ad5146c5fae89e258a83fa8269 100644 (file)
@@ -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