mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-23 21:44:15 +00:00

To make software license auditing simpler, use SPDX[0] license identifiers instead of duplicating the license text in every file. NOTE: Files that have been imported by FreeBSD have not been modified. [0]: https://spdx.org/ Change-Id: I80a00e1f641b8cc075ca5a95b10607ed9ed8761a Signed-off-by: dp-arm <dimitris.papastamos@arm.com>
19 lines
487 B
Makefile
19 lines
487 B
Makefile
#
|
|
# Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
#
|
|
|
|
# Boolean macro to be used in C code
|
|
STACK_PROTECTOR_ENABLED := 0
|
|
|
|
ifneq (${ENABLE_STACK_PROTECTOR},0)
|
|
STACK_PROTECTOR_ENABLED := 1
|
|
BL_COMMON_SOURCES += lib/stack_protector/stack_protector.c \
|
|
lib/stack_protector/${ARCH}/asm_stack_protector.S
|
|
|
|
TF_CFLAGS += -fstack-protector-${ENABLE_STACK_PROTECTOR}
|
|
endif
|
|
|
|
$(eval $(call add_define,STACK_PROTECTOR_ENABLED))
|
|
|