aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiaokang Qian <xiaokang.qian@arm.com>2023-09-12 10:31:20 +0000
committerXiaokang Qian <xiaokang.qian@arm.com>2023-09-26 09:09:20 +0000
commit0e5b53c7e4e17a9796502c70ebd698b01ec1670a (patch)
tree699d12b8d17cb51916d5cebac90bb48406222f33
parent1b61d6e13f79e9725a0acae1f6b07bae5a6b72b5 (diff)
downloadmbedtls-0e5b53c7e4e17a9796502c70ebd698b01ec1670a.tar.gz
Move the dependency adjacent to the generated file
Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com>
-rw-r--r--library/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/Makefile b/library/Makefile
index 15816385d..8a86a5595 100644
--- a/library/Makefile
+++ b/library/Makefile
@@ -208,8 +208,6 @@ else
all: shared static
endif
-psa_crypto.o:psa_crypto_driver_wrappers.h
-
static: libmbedcrypto.a libmbedx509.a libmbedtls.a
cd ../tests && echo "This is a seedfile that contains 64 bytes (65 on Windows)......" > seedfile
@@ -365,6 +363,8 @@ $(GENERATED_WRAPPER_FILES):
echo " Gen $(GENERATED_WRAPPER_FILES)"
$(PYTHON) ../scripts/generate_driver_wrappers.py
+psa_crypto.o:psa_crypto_driver_wrappers.h
+
clean:
ifndef WINDOWS
rm -f *.o libmbed*