aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/startup/ARMCAx-TZ/compilers/GCC/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'os/common/startup/ARMCAx-TZ/compilers/GCC/rules.mk')
-rw-r--r--os/common/startup/ARMCAx-TZ/compilers/GCC/rules.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/os/common/startup/ARMCAx-TZ/compilers/GCC/rules.mk b/os/common/startup/ARMCAx-TZ/compilers/GCC/rules.mk
index 0b98a5334..1be8cfa36 100644
--- a/os/common/startup/ARMCAx-TZ/compilers/GCC/rules.mk
+++ b/os/common/startup/ARMCAx-TZ/compilers/GCC/rules.mk
@@ -69,6 +69,13 @@ else
LDOPT := $(LDOPT),--defsym=__sys_stack_size__=$(USE_SYSTEM_STACKSIZE)
endif
+# Monitor stack size
+ifeq ($(USE_MONITOR_STACKSIZE),)
+ LDOPT := $(LDOPT),--defsym=__mon_stack_size__=0x64
+else
+ LDOPT := $(LDOPT),--defsym=__mon_stack_size__=$(USE_MONITOR_STACKSIZE)
+endif
+
# Output directory and files
ifeq ($(BUILDDIR),)
BUILDDIR = build