diff options
author | Douglas Raillard <douglas.raillard@arm.com> | 2017-06-22 14:44:48 +0100 |
---|---|---|
committer | Douglas Raillard <douglas.raillard@arm.com> | 2017-06-28 15:03:05 +0100 |
commit | c2b8806fb6e4f225bfb73b5378a31a9b96b0bd60 (patch) | |
tree | 82c306c03623c2d2cce966d48d1314e4bfbadf1e /lib | |
parent | 6bf362496933a7795273d8cac1bbdd2966dfab33 (diff) |
Introduce TF_LDFLAGS
Use TF_LDFLAGS from the Makefiles, and still append LDFLAGS as well to
the compiler's invocation. This allows passing extra options from the
make command line using LDFLAGS.
Document new LDFLAGS Makefile option.
Change-Id: I88c5ac26ca12ac2b2d60a6f150ae027639991f27
Signed-off-by: Douglas Raillard <douglas.raillard@arm.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cpus/cpu-ops.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cpus/cpu-ops.mk b/lib/cpus/cpu-ops.mk index 218a5482..ad329719 100644 --- a/lib/cpus/cpu-ops.mk +++ b/lib/cpus/cpu-ops.mk @@ -145,10 +145,10 @@ $(eval $(call add_define,ERRATA_A57_833471)) # Errata build flags ifneq (${ERRATA_A53_843419},0) -LDFLAGS_aarch64 += --fix-cortex-a53-843419 +TF_LDFLAGS_aarch64 += --fix-cortex-a53-843419 endif ifneq (${ERRATA_A53_835769},0) TF_CFLAGS_aarch64 += -mfix-cortex-a53-835769 -LDFLAGS_aarch64 += --fix-cortex-a53-835769 +TF_LDFLAGS_aarch64 += --fix-cortex-a53-835769 endif |