Skip to content
Snippets Groups Projects
Commit fcd3ea7b authored by Victor Chong's avatar Victor Chong Committed by Jérôme Forissier
Browse files

hikey+debian: arm-tf: Remove -O0 -gdwarf-2 flags


On upstream arm-tf repo, building with -O0 -gdwarf-2 flags causes the
size of bl2.bin to exceed HIKEY_BL1_MMC_DATA_SIZE in hikey_def.h and
trigger an assert in emmc.c.

Signed-off-by: default avatarVictor Chong <victor.chong@linaro.org>
Acked-by: default avatarJerome Forissier <jerome.forissier@linaro.org>
parent 7d096460
No related branches found
No related tags found
No related merge requests found
...@@ -81,7 +81,6 @@ prepare-cleaner: ...@@ -81,7 +81,6 @@ prepare-cleaner:
# ARM Trusted Firmware # ARM Trusted Firmware
################################################################################ ################################################################################
ARM_TF_EXPORTS ?= \ ARM_TF_EXPORTS ?= \
CFLAGS="-O0 -gdwarf-2" \
CROSS_COMPILE="$(CCACHE)$(AARCH64_CROSS_COMPILE)" CROSS_COMPILE="$(CCACHE)$(AARCH64_CROSS_COMPILE)"
ARM_TF_FLAGS ?= \ ARM_TF_FLAGS ?= \
......
...@@ -107,7 +107,6 @@ prepare-cleaner: ...@@ -107,7 +107,6 @@ prepare-cleaner:
# ARM Trusted Firmware # ARM Trusted Firmware
################################################################################ ################################################################################
ARM_TF_EXPORTS ?= \ ARM_TF_EXPORTS ?= \
CFLAGS="-O0 -gdwarf-2" \
CROSS_COMPILE="$(CCACHE)$(AARCH64_CROSS_COMPILE)" CROSS_COMPILE="$(CCACHE)$(AARCH64_CROSS_COMPILE)"
ARM_TF_FLAGS ?= \ ARM_TF_FLAGS ?= \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment