From 0e5b53c7e4e17a9796502c70ebd698b01ec1670a Mon Sep 17 00:00:00 2001 From: Xiaokang Qian Date: Tue, 12 Sep 2023 10:31:20 +0000 Subject: [PATCH] Move the dependency adjacent to the generated file Signed-off-by: Xiaokang Qian --- library/Makefile | 4 ++-- 1 file 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*