flash-image+cdrom: Execute ARMv5-specific code on ARMv5

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2018-06-13 23:21:58 +01:00
parent 2c49856ead
commit f096a2ea98
2 changed files with 3 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ ISO_ARGS = -J -r -v \
-c boot/isolinux/boot.catalog
# Only build a stub ISO for ARM
ifeq "$(BUILD_PLATFORM)" "arm"
ifeq "$(BUILD_ARCH)" "armv5tel"
ISO_ARGS = -J -r -V "$(NAME) $(VERSION) $(BUILD_ARCH)"
endif
@@ -112,7 +112,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
# Make the ISO
mkdir -p /install/cdrom/boot/isolinux
dd if=/dev/zero bs=1k count=2 > /install/cdrom/boot/isolinux/boot.catalog
ifneq "$(BUILD_PLATFORM)" "arm"
ifneq "$(BUILD_ARCH)" "armv5tel"
cp /boot/vmlinuz-$(KVER)-ipfire /install/cdrom/boot/isolinux/vmlinuz
dracut --force -a "installer" --strip --xz /install/cdrom/boot/isolinux/instroot $(KVER)-ipfire
cp $(DIR_SRC)/config/syslinux/boot.png /install/cdrom/boot/isolinux/boot.png

View File

@@ -59,7 +59,7 @@ MNThdd := /install/harddisk
IMG := /install/images/image.img
# All sizes in blocks
ifeq "$(BUILD_PLATFORM)" "arm"
ifeq "$(BUILD_ARCH)" "armv5tel"
BOOTLOADER =
S_OFFSET = 8192