diff options
author | Jens Wiklander <jens.wiklander@linaro.org> | 2015-12-11 12:48:45 +0100 |
---|---|---|
committer | Jens Wiklander <jens.wiklander@linaro.org> | 2015-12-16 09:46:03 +0100 |
commit | 3e27ab4b88b00e2a4135196f60c80c7b0ce68881 (patch) | |
tree | 8536f91909f54ba21384574f57650f0d01c5a893 /ta | |
parent | fce4cfa1b70b1da9e730b00810a4cf4be13eb97a (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.mk | 4 | ||||
-rw-r--r-- | ta/ta.mk | 5 |
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 @@ -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) |