Revert "arm64: arm_tf: Do not build raw bl31.bin binary"
This reverts commit ba319725dc.
Reason for revert: Breaks build for elm-release, oak-release,
gru-release and kevin-release.
BUG=chromium:661124
TEST=trybot the revert, coreboot builds again on affected targets
Change-Id: I2fd96ff0e8406cc94a7a08e5afe859104212c331
Reviewed-on: https://chromium-review.googlesource.com/405130
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Commit-Queue: Tomasz Figa <tfiga@chromium.org>
Tested-by: Tomasz Figa <tfiga@chromium.org>
Trybot-Ready: Tomasz Figa <tfiga@chromium.org>
This commit is contained in:
parent
93882e4f20
commit
57585a7df0
1 changed files with 3 additions and 5 deletions
|
|
@ -139,8 +139,6 @@ $(objcbfs)/ramstage.debug: $$(ramstage-objs)
|
|||
ifeq ($(CONFIG_ARM64_USE_ARM_TRUSTED_FIRMWARE),y)
|
||||
|
||||
BL31_SOURCE := $(top)/3rdparty/arm-trusted-firmware
|
||||
BL31_BUILD := $(abspath $(obj)/3rdparty/arm-trusted-firmware)
|
||||
BL31_TARGET := $(BL31_BUILD)/bl31/bl31.elf
|
||||
|
||||
ifeq ($(V),1)
|
||||
BL31_MAKEARGS += V=1
|
||||
|
|
@ -155,7 +153,7 @@ BL31_MAKEARGS += LOG_LEVEL=0
|
|||
endif # CONFIG_CONSOLE_SERIAL
|
||||
|
||||
# Avoid build/release|build/debug distinction by overriding BUILD_PLAT directly
|
||||
BL31_MAKEARGS += BUILD_PLAT="$(BL31_BUILD)"
|
||||
BL31_MAKEARGS += BUILD_PLAT="$(abspath $(obj)/3rdparty/arm-trusted-firmware)"
|
||||
|
||||
# Set a consistent build timestamp: the same coreboot has
|
||||
# The \# \" complications exist to satisfy both gnu make's parser and editors
|
||||
|
|
@ -173,8 +171,8 @@ $(BL31): $(obj)/build.h
|
|||
CROSS_COMPILE="$(CROSS_COMPILE_arm64)" \
|
||||
CFLAGS="$(BL31_CFLAGS)" \
|
||||
LDFLAGS="$(BL31_LDFLAGS)" \
|
||||
$(MAKE) -C $(BL31_SOURCE) $(BL31_MAKEARGS) $(BL31_TARGET)
|
||||
mv $(BL31_TARGET) $@
|
||||
$(MAKE) -C $(BL31_SOURCE) $(BL31_MAKEARGS) bl31
|
||||
mv $(obj)/3rdparty/arm-trusted-firmware/bl31/bl31.elf $@
|
||||
|
||||
.PHONY: $(BL31)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue