aboutsummaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorGravatar Danomi Manchego <danomimanchego123@gmail.com>2018-10-23 22:43:12 -0400
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-10-26 21:26:33 +0200
commita216a344c4bd3efdf2aa5c22b126d5bb759242de (patch)
tree6b4bec8582640a76f684dc0c69a153b74f2e700e /boot
parent22ea9d5a87254555f985c10a7702dd752f3dc8b4 (diff)
downloadbuildroot-a216a344c4bd3efdf2aa5c22b126d5bb759242de.tar.gz
buildroot-a216a344c4bd3efdf2aa5c22b126d5bb759242de.tar.bz2
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 <danomimanchego123@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'boot')
-rw-r--r--boot/arm-trusted-firmware/arm-trusted-firmware.mk2
1 files changed, 1 insertions, 1 deletions
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