From a216a344c4bd3efdf2aa5c22b126d5bb759242de Mon Sep 17 00:00:00 2001 From: Danomi Manchego Date: Tue, 23 Oct 2018 22:43:12 -0400 Subject: [PATCH] arm-trusted-firmware: replace hard-coded arm64 with MKIMAGE_ARCH We already use $(MKIMAGE_ARCH) in lots of places; use it here too. Signed-off-by: Danomi Manchego Signed-off-by: Thomas Petazzoni --- boot/arm-trusted-firmware/arm-trusted-firmware.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/arm-trusted-firmware/arm-trusted-firmware.mk b/boot/arm-trusted-firmware/arm-trusted-firmware.mk index f353d56448..23f493653d 100644 --- a/boot/arm-trusted-firmware/arm-trusted-firmware.mk +++ b/boot/arm-trusted-firmware/arm-trusted-firmware.mk @@ -81,7 +81,7 @@ define ARM_TRUSTED_FIRMWARE_BL31_UBOOT_BUILD BASE_ADDR=$$($(TARGET_READELF) -h $(ARM_TRUSTED_FIRMWARE_IMG_DIR)/bl31/bl31.elf | \ sed -r '/^ Entry point address:\s*(.*)/!d; s//\1/') && \ $(MKIMAGE) \ - -A arm64 -O arm-trusted-firmware -C none \ + -A $(MKIMAGE_ARCH) -O arm-trusted-firmware -C none \ -a $${BASE_ADDR} -e $${BASE_ADDR} \ -d $(ARM_TRUSTED_FIRMWARE_IMG_DIR)/bl31.bin \ $(ARM_TRUSTED_FIRMWARE_IMG_DIR)/atf-uboot.ub -- 2.30.2