Commit 46e5e035 authored by Michalis Pappas's avatar Michalis Pappas
Browse files

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: default avatarMichalis Pappas <mpappas@fastmail.fm>
Showing with 6 additions and 7 deletions
+6 -7
...@@ -274,13 +274,6 @@ endif ...@@ -274,13 +274,6 @@ endif
# over the sources. # over the sources.
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 # Include the platform specific Makefile after the SPD Makefile (the platform
# makefile may use all previous definitions in this file) # makefile may use all previous definitions in this file)
...@@ -440,6 +433,12 @@ ifneq (${FIP_ALIGN},0) ...@@ -440,6 +433,12 @@ ifneq (${FIP_ALIGN},0)
FIP_ARGS += --align ${FIP_ALIGN} FIP_ARGS += --align ${FIP_ALIGN}
endif endif
################################################################################
# Include libraries' Makefile that are used in all BL
################################################################################
include lib/stack_protector/stack_protector.mk
################################################################################ ################################################################################
# Auxiliary tools (fiptool, cert_create, etc) # Auxiliary tools (fiptool, cert_create, etc)
################################################################################ ################################################################################
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment