summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichalis Pappas <mpappas@fastmail.fm>2018-03-20 13:01:27 +0800
committerMichalis Pappas <mpappas@fastmail.fm>2018-03-20 13:11:12 +0800
commit46e5e035ab2247189bde6a191edf5af6563bb794 (patch)
tree75b9aee1eab69e4756334f3afd29043da36440fb /Makefile
parentfb45044bc567b96e8be243b717ec2920224cd9b9 (diff)
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 <mpappas@fastmail.fm>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 69f29e6c..48e078ad 100644
--- a/Makefile
+++ b/Makefile
@@ -275,13 +275,6 @@ endif
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)
################################################################################
@@ -441,6 +434,12 @@ 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)
################################################################################