diff options
author | Leonardo Sandoval <leonardo.sandoval@linaro.org> | 2020-09-10 12:18:27 -0500 |
---|---|---|
committer | Leonardo Sandoval <leonardo.sandoval@linaro.org> | 2020-09-14 09:27:53 -0500 |
commit | 327131c4c7e41d57aca9f54fd2706ae59d735aaa (patch) | |
tree | 02bec611bb2050129066ce0b8e20b552abcecad9 /drivers/auth/mbedtls/mbedtls_common.mk | |
parent | ed39d5e3c0709bab22821a1da3a62737c5d531de (diff) | |
download | trusted-firmware-a-327131c4c7e41d57aca9f54fd2706ae59d735aaa.tar.gz |
build_macros.mk: include assert and define loop macros
Loop macros make it easier for developers to include new variables to
assert or define and also help code code readability on makefiles.
Change-Id: I0d21d6e67b3eca8976c4d856ac8ccc02c8bb5ffa
Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org>
Diffstat (limited to 'drivers/auth/mbedtls/mbedtls_common.mk')
-rw-r--r-- | drivers/auth/mbedtls/mbedtls_common.mk | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/drivers/auth/mbedtls/mbedtls_common.mk b/drivers/auth/mbedtls/mbedtls_common.mk index 94f2f59e12..8454105c2a 100644 --- a/drivers/auth/mbedtls/mbedtls_common.mk +++ b/drivers/auth/mbedtls/mbedtls_common.mk @@ -98,10 +98,13 @@ else endif # Needs to be set to drive mbed TLS configuration correctly -$(eval $(call add_define,TF_MBEDTLS_KEY_ALG_ID)) -$(eval $(call add_define,TF_MBEDTLS_KEY_SIZE)) -$(eval $(call add_define,TF_MBEDTLS_HASH_ALG_ID)) -$(eval $(call add_define,TF_MBEDTLS_USE_AES_GCM)) +$(eval $(call add_defines,\ + $(sort \ + TF_MBEDTLS_KEY_ALG_ID \ + TF_MBEDTLS_KEY_SIZE \ + TF_MBEDTLS_HASH_ALG_ID \ + TF_MBEDTLS_USE_AES_GCM \ +))) $(eval $(call MAKE_LIB,mbedtls)) |