diff options
author | Juan Castillo <juan.castillo@arm.com> | 2014-06-25 17:26:36 +0100 |
---|---|---|
committer | Juan Castillo <juan.castillo@arm.com> | 2014-07-10 11:41:44 +0100 |
commit | 0f21c547fe7693d9759616dbdc747fe3cca79a70 (patch) | |
tree | af5a237550d4295614da075a7f9b6bf9197a9e57 /Makefile | |
parent | dac1235a94f4633b838598fb40e03e350e89f089 (diff) | |
download | trusted-firmware-a-0f21c547fe7693d9759616dbdc747fe3cca79a70.tar.gz |
Allow FP register context to be optional at build time
CTX_INCLUDE_FPREGS make variable allows us to include or exclude FP
registers from context structure, in case FP is not used by TSPD.
Fixes ARM-software/tf-issues#194
Change-Id: Iee41af382d691340c7ae21830ad1bbf95dad1f4b
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -49,6 +49,8 @@ BASE_COMMIT := origin/master NS_TIMER_SWITCH := 0 # By default, Bl1 acts as the reset handler, not BL31 RESET_TO_BL31 := 0 +# Include FP registers in cpu context +CTX_INCLUDE_FPREGS := 0 # Checkpatch ignores @@ -181,6 +183,10 @@ $(eval $(call add_define,NS_TIMER_SWITCH)) $(eval $(call assert_boolean,RESET_TO_BL31)) $(eval $(call add_define,RESET_TO_BL31)) +# Process CTX_INCLUDE_FPREGS flag +$(eval $(call assert_boolean,CTX_INCLUDE_FPREGS)) +$(eval $(call add_define,CTX_INCLUDE_FPREGS)) + ASFLAGS += -nostdinc -ffreestanding -Wa,--fatal-warnings \ -Werror -Wmissing-include-dirs \ -mgeneral-regs-only -D__ASSEMBLY__ \ |