Use TARGET_ARCH instead of TARGET_KERNEL_ARCH to determine the initrd architecture

This commit is contained in:
JBBgameich 2018-02-11 20:30:48 +01:00 committed by Dalton Durst
parent 83121453a6
commit fdd1d52779

View File

@ -107,7 +107,7 @@ ifdef BOARD_USE_LOCAL_INITRD
@echo "Using local initramfs at device/*/$(TARGET_DEVICE)/initramfs.gz"
@cp device/*/$(TARGET_DEVICE)/initramfs.gz $@
else
@$(GET_INITRD) ${TARGET_KERNEL_ARCH} $@
@$(GET_INITRD) ${TARGET_ARCH} $@
endif
.PHONY: halium-common