Skip to content

Commit 1b457a9

Browse files
Undo incorrect path substitution
The find and replace of tests/src -> framework/tests/src and tests/include -> framework/tests/include accidentally caused an incorrect path substitution to be performed in tests/Makefile. Undo this change and make the substitution correct again. Signed-off-by: David Horstmann <[email protected]>
1 parent b4dcb95 commit 1b457a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -245,10 +245,10 @@ $(BINARIES): %$(EXEXT): %.c $(MBEDLIBS) $(TEST_OBJS_DEPS) $(MBEDTLS_TEST_OBJS)
245245
echo " CC $<"
246246
$(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@
247247

248-
LOCAL_CRYPTO_CFLAGS = $(patsubst -I./include, -I../../framework/tests/include, $(patsubst -I../%,-I../../%, $(LOCAL_CFLAGS)))
248+
LOCAL_CRYPTO_CFLAGS = $(patsubst -I./include, -I../../tests/include, $(patsubst -I../%,-I../../%, $(LOCAL_CFLAGS)))
249249
LOCAL_CRYPTO_LDFLAGS = $(patsubst -L../library, -L../../library, \
250250
$(patsubst -L../tests/%, -L../../tests/%, \
251-
$(patsubst ./src/%,../../framework/tests/src/%, $(LOCAL_LDFLAGS))))
251+
$(patsubst ./src/%,../../tests/src/%, $(LOCAL_LDFLAGS))))
252252
$(CRYPTO_BINARIES): %$(EXEXT): %.c $(MBEDLIBS) $(TEST_OBJS_DEPS) $(MBEDTLS_TEST_OBJS)
253253
echo " CC $<"
254254
cd ../tf-psa-crypto/tests && $(CC) $(LOCAL_CRYPTO_CFLAGS) $(CFLAGS) $(subst $(EXEXT),,$(@F)).c $(LOCAL_CRYPTO_LDFLAGS) $(LDFLAGS) -o $(@F)

0 commit comments

Comments
 (0)