@@ -94,7 +94,7 @@ add_library(psa_crypto_config INTERFACE)
9494# Add config files required for PSA crypto interface
9595target_compile_definitions (psa_crypto_config
9696 INTERFACE
97- -DMBEDTLS_CONFIG_FILE= "${CONFIG_MBEDTLS_CONFIG_FILE} "
97+ # -DMBEDTLS_CONFIG_FILE="${CONFIG_MBEDTLS_CONFIG_FILE}"
9898 -DTF_PSA_CRYPTO_CONFIG_FILE= "${CONFIG_TF_PSA_CRYPTO_CONFIG_FILE} "
9999)
100100
@@ -105,7 +105,7 @@ add_library(psa_crypto_library_config INTERFACE)
105105# Add config files required for PSA core
106106target_compile_definitions (psa_crypto_library_config
107107 INTERFACE
108- -DMBEDTLS_CONFIG_FILE= "${CONFIG_MBEDTLS_CONFIG_FILE} "
108+ # -DMBEDTLS_CONFIG_FILE="${CONFIG_MBEDTLS_CONFIG_FILE}"
109109 -DTF_PSA_CRYPTO_CONFIG_FILE= "${CONFIG_TF_PSA_CRYPTO_CONFIG_FILE} "
110110 -DTF_PSA_CRYPTO_USER_CONFIG_FILE= "${CONFIG_TF_PSA_CRYPTO_USER_CONFIG_FILE} "
111111)
@@ -122,9 +122,14 @@ target_include_directories(psa_interface
122122 ${ZEPHYR_OBERON_PSA_CRYPTO_MODULE_DIR} /include
123123 ${ZEPHYR_OBERON_PSA_CRYPTO_MODULE_DIR} /library
124124 # Mbed TLS (mbedcrypto) PSA headers
125- ${ZEPHYR_MBEDTLS_MODULE_DIR} /library
126- ${ZEPHYR_MBEDTLS_MODULE_DIR} /include
127- ${ZEPHYR_MBEDTLS_MODULE_DIR} /include/library
125+ # ${ZEPHYR_MBEDTLS_MODULE_DIR}/library
126+ # ${ZEPHYR_MBEDTLS_MODULE_DIR}/include
127+ # ${ZEPHYR_OBERON_PSA_CRYPTO_MODULE_DIR}/drivers/builtin/include/
128+ ${ZEPHYR_OBERON_PSA_CRYPTO_MODULE_DIR} /core/
129+ ${ZEPHYR_OBERON_PSA_CRYPTO_MODULE_DIR} /dispatch/
130+ ${ZEPHYR_OBERON_PSA_CRYPTO_MODULE_DIR} /platform/
131+
132+ # ${ZEPHYR_TF_PSA_CRYPTO_MODULE_DIR}/include/library
128133)
129134
130135# Finally adding the crypto lib
0 commit comments