Move the dependency adjacent to the generated file

Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com>
This commit is contained in:
Xiaokang Qian 2023-09-12 10:31:20 +00:00
parent 1b61d6e13f
commit 0e5b53c7e4

View File

@ -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*