Skip to contentSkip to conversation

arm-trusted-firmware: replace mkimage invocation with MKIMAGE

Buildroot Thomas Petazzoni 1 participant 1 message Oct 26, 2018

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=22ea9d5a87254555f985c10a7702dd752f3dc8b4
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

We already use $(MKIMAGE) instead of $(HOST_DIR)/bin/mkimage in xvisor, linux, and cpio; use it here too.

---
 boot/arm-trusted-firmware/arm-trusted-firmware.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
boot/arm-trusted-firmware/arm-trusted-firmware.mk +1 -1
index 19f7c4c80a..f353d56448 100644
@@ -80,7 +80,7 @@ define ARM_TRUSTED_FIRMWARE_BL31_UBOOT_BUILD
 # Get the entry point address from the elf.
 	BASE_ADDR=$$($(TARGET_READELF) -h $(ARM_TRUSTED_FIRMWARE_IMG_DIR)/bl31/bl31.elf | \
 	             sed -r '/^  Entry point address:\s*(.*)/!d; s//\1/') && \
-	$(HOST_DIR)/bin/mkimage \
+	$(MKIMAGE) \
 		-A arm64 -O arm-trusted-firmware -C none \
 		-a $${BASE_ADDR} -e $${BASE_ADDR} \
 		-d $(ARM_TRUSTED_FIRMWARE_IMG_DIR)/bl31.bin \