From 42266dd670337a4d133033c82bc777a4672e0e7c Mon Sep 17 00:00:00 2001 From: Xiaokang Qian Date: Tue, 5 Sep 2023 10:54:26 +0000 Subject: [PATCH] Revert the Makefile to remove the dependency of generate_files Signed-off-by: Xiaokang Qian --- Makefile | 2 +- library/Makefile | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 650a97daaf..885948c112 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ no_test: programs programs: lib mbedtls_test $(MAKE) -C programs -lib: generated_files +lib: $(MAKE) -C library tests: lib mbedtls_test diff --git a/library/Makefile b/library/Makefile index 3018c5bf4a..a5abf821f2 100644 --- a/library/Makefile +++ b/library/Makefile @@ -136,7 +136,6 @@ OBJS_CRYPTO= \ psa_crypto_aead.o \ psa_crypto_cipher.o \ psa_crypto_client.o \ - psa_crypto_driver_wrappers.o \ psa_crypto_driver_wrappers_no_static.o \ psa_crypto_ecp.o \ psa_crypto_ffdh.o \ @@ -209,6 +208,8 @@ else all: shared static endif +psa_crypto.o:psa_crypto_driver_wrappers.c + static: libmbedcrypto.a libmbedx509.a libmbedtls.a cd ../tests && echo "This is a seedfile that contains 64 bytes (65 on Windows)......" > seedfile