From 46e5e035ab2247189bde6a191edf5af6563bb794 Mon Sep 17 00:00:00 2001 From: Michalis Pappas Date: Tue, 20 Mar 2018 13:01:27 +0800 Subject: Platforms cannot override ENABLE_STACK_PROTECTOR Include stack_protector's makefile after including platform.mk to allow platforms override ENABLE_STACK_PROTECTOR Fixes ARM-software/tf-issues#567 Signed-off-by: Michalis Pappas --- Makefile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 69f29e6c..48e078ad 100644 --- a/Makefile +++ b/Makefile @@ -274,13 +274,6 @@ endif # over the sources. endif -################################################################################ -# Include libraries' Makefile that are used in all BL -################################################################################ - -include lib/stack_protector/stack_protector.mk - - ################################################################################ # Include the platform specific Makefile after the SPD Makefile (the platform # makefile may use all previous definitions in this file) @@ -440,6 +433,12 @@ ifneq (${FIP_ALIGN},0) FIP_ARGS += --align ${FIP_ALIGN} endif +################################################################################ +# Include libraries' Makefile that are used in all BL +################################################################################ + +include lib/stack_protector/stack_protector.mk + ################################################################################ # Auxiliary tools (fiptool, cert_create, etc) ################################################################################ -- cgit v1.2.3