Update common.mk with test helper object paths
Signed-off-by: David Horstmann <david.horstmann@arm.com>
diff --git a/scripts/common.make b/scripts/common.make
index 362712b..0e92a66 100644
--- a/scripts/common.make
+++ b/scripts/common.make
@@ -127,12 +127,13 @@
endif
# Auxiliary modules used by tests and some sample programs
-MBEDTLS_CORE_TEST_OBJS = $(patsubst %.c,%.o,$(wildcard \
- ${MBEDTLS_TEST_PATH}/src/*.c \
- ${MBEDTLS_TEST_PATH}/src/drivers/*.c \
+MBEDTLS_CORE_TEST_OBJS := $(patsubst %.c,%.o,$(wildcard \
+ ${MBEDTLS_PATH}/framework/tests/src/*.c \
+ ${MBEDTLS_PATH}/framework/tests/src/drivers/*.c \
))
# Additional auxiliary modules for TLS testing
MBEDTLS_TLS_TEST_OBJS = $(patsubst %.c,%.o,$(wildcard \
+ ${MBEDTLS_TEST_PATH}/src/*.c \
${MBEDTLS_TEST_PATH}/src/test_helpers/*.c \
))