Home
last modified time | relevance | path

Searched hist:"9 efcd73b9cffc2c50868cb1488c85eb50114ce84" (Results 1 – 1 of 1) sorted by relevance

/optee_os/ta/
H A Dta.mk9efcd73b9cffc2c50868cb1488c85eb50114ce84 Wed Jul 29 14:51:35 UTC 2020 Jerome Forissier <jerome@forissier.org> ta: export CFG_TEE_TA_LOG_LEVEL with ?= not :=

The value of CFG_TEE_TA_LOG_LEVEL used at optee_os build time is
exported to the TA dev kit ($O/export_ta_arm{32,64}/mk/conf.mk). The
purpose is to provide a default value to the TA build environment,
which can easily be changed from the command line ("make
CFG_TEE_TA_LOG_LEVEL=3" for example).

However the following TA Makefile won't behave as expected:

BINARY := <somme uuid>
CFG_TEE_TA_LOG_LEVEL := 3 # Ignored!
include $(TA_DEV_KIT_DIR)/mk/ta_dev_kit.mk

This commit changes := to ?= so that ta_dev_kit.mk won't override any
value that may have been set previously in the TA Makefile or the
environment.

Signed-off-by: Jerome Forissier <jerome@forissier.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>