aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
authorGilles Peskine <Gilles.Peskine@arm.com>2024-01-02 18:11:10 +0100
committerGilles Peskine <Gilles.Peskine@arm.com>2024-01-02 18:11:10 +0100
commit570e54822c045f848cd3d9d9e317f965be0f6190 (patch)
tree7c75e0e5c56cd5580e4cd96d63952c2f9cb05db9 /tests/Makefile
parentea982e39a186c628a6bd3cf5671cbaf89a669c6f (diff)
downloadmbedtls-570e54822c045f848cd3d9d9e317f965be0f6190.zip
mbedtls-570e54822c045f848cd3d9d9e317f965be0f6190.tar.gz
mbedtls-570e54822c045f848cd3d9d9e317f965be0f6190.tar.bz2
Finish unifying LOCAL_CFLAGS
fixup "Create common.make with LOCAL_CFLAGS and friends" The code wasn't what I had intended, although it was functionally equivalent. Make it more readable and more robust. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 7a10af2..848d3c4 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -1,3 +1,4 @@
+MBEDTLS_TEST_PATH = .
include ../scripts/common.make
# Set this to -v to see the details of failing test cases
@@ -109,7 +110,6 @@ BINARIES := $(addsuffix $(EXEXT),$(APPS))
all: $(BINARIES)
-MBEDTLS_TEST_PATH = .
MBEDTLS_TEST_OBJS = $(patsubst %.c,%.o,$(wildcard ${MBEDTLS_TEST_PATH}/src/*.c ${MBEDTLS_TEST_PATH}/src/drivers/*.c))
MBEDTLS_TEST_OBJS += $(patsubst %.c,%.o,$(wildcard ${MBEDTLS_TEST_PATH}/src/test_helpers/*.c))