aboutsummaryrefslogtreecommitdiff
path: root/ta
diff options
context:
space:
mode:
authorJens Wiklander <jens.wiklander@linaro.org>2015-12-11 12:48:45 +0100
committerJens Wiklander <jens.wiklander@linaro.org>2015-12-16 09:46:03 +0100
commit3e27ab4b88b00e2a4135196f60c80c7b0ce68881 (patch)
tree8536f91909f54ba21384574f57650f0d01c5a893 /ta
parentfce4cfa1b70b1da9e730b00810a4cf4be13eb97a (diff)
Export CFG_TA_FLOAT_SUPPORT to TA dev kit
Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU, FVP Aarch64) Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'ta')
-rw-r--r--ta/mk/ta_dev_kit.mk4
-rw-r--r--ta/ta.mk5
2 files changed, 6 insertions, 3 deletions
diff --git a/ta/mk/ta_dev_kit.mk b/ta/mk/ta_dev_kit.mk
index f09106e4..2eb46f1e 100644
--- a/ta/mk/ta_dev_kit.mk
+++ b/ta/mk/ta_dev_kit.mk
@@ -55,6 +55,10 @@ ifeq ($(CFG_TEE_PANIC_DEBUG),y)
cppflags$(sm) += -DCFG_TEE_PANIC_DEBUG=1
endif
+ifeq ($(CFG_TA_FLOAT_SUPPORT),y)
+cppflags$(sm) += -DCFG_TA_FLOAT_SUPPORT=1
+endif
+
cppflags$(sm) += -I. -I$(ta-dev-kit-dir)/include
ifeq ($(CFG_TEE_TA_MALLOC_DEBUG),y)
cppflags$(sm) += -DENABLE_MDBG=1
diff --git a/ta/ta.mk b/ta/ta.mk
index 1a942b9c..9719c122 100644
--- a/ta/ta.mk
+++ b/ta/ta.mk
@@ -121,14 +121,13 @@ $(foreach f, $(ta-scripts), \
# Create config file
conf-file := $(out-dir)/export-$(sm)/mk/conf.mk
sm-$(conf-file) := $(sm)
-# The file is only created if it doesn't exist, this is currently OK as the
-# content of the file is static for a given TA dev kit.
-$(conf-file):
+$(conf-file): $(conf-mk-file)
@$(cmd-echo-silent) ' GEN ' $@
$(q)echo sm := $(sm-$(@)) > $@
$(q)echo sm-$(sm-$(@)) := y >> $@
$(q)echo CFG_ARM32_$(sm-$(@)) := $(CFG_ARM32_$(sm-$(@))) >> $@
$(q)echo CFG_ARM64_$(sm-$(@)) := $(CFG_ARM64_$(sm-$(@))) >> $@
+ $(q)echo CFG_TA_FLOAT_SUPPORT := $(CFG_TA_FLOAT_SUPPORT) >> $@
cleanfiles := $(cleanfiles) $(conf-file)
all: $(conf-file)