Revert the Makefile to remove the dependency of generate_files

Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com>
This commit is contained in:
Xiaokang Qian 2023-09-05 10:54:26 +00:00
parent 9345b2e98f
commit 42266dd670
2 changed files with 3 additions and 2 deletions

View file

@ -14,7 +14,7 @@ no_test: programs
programs: lib mbedtls_test programs: lib mbedtls_test
$(MAKE) -C programs $(MAKE) -C programs
lib: generated_files lib:
$(MAKE) -C library $(MAKE) -C library
tests: lib mbedtls_test tests: lib mbedtls_test

View file

@ -136,7 +136,6 @@ OBJS_CRYPTO= \
psa_crypto_aead.o \ psa_crypto_aead.o \
psa_crypto_cipher.o \ psa_crypto_cipher.o \
psa_crypto_client.o \ psa_crypto_client.o \
psa_crypto_driver_wrappers.o \
psa_crypto_driver_wrappers_no_static.o \ psa_crypto_driver_wrappers_no_static.o \
psa_crypto_ecp.o \ psa_crypto_ecp.o \
psa_crypto_ffdh.o \ psa_crypto_ffdh.o \
@ -209,6 +208,8 @@ else
all: shared static all: shared static
endif endif
psa_crypto.o:psa_crypto_driver_wrappers.c
static: libmbedcrypto.a libmbedx509.a libmbedtls.a static: libmbedcrypto.a libmbedx509.a libmbedtls.a
cd ../tests && echo "This is a seedfile that contains 64 bytes (65 on Windows)......" > seedfile cd ../tests && echo "This is a seedfile that contains 64 bytes (65 on Windows)......" > seedfile