mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-25 09:02:48 +00:00
Update path to PSA crypto alt headers
Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
parent
08953f7135
commit
dc45951cf6
@ -268,7 +268,7 @@ ifndef WINDOWS
|
|||||||
rm -f src/*.o src/test_helpers/*.o src/libmbed*
|
rm -f src/*.o src/test_helpers/*.o src/libmbed*
|
||||||
rm -f ../framework/tests/src/*.o ../framework/tests/src/drivers/*.o
|
rm -f ../framework/tests/src/*.o ../framework/tests/src/drivers/*.o
|
||||||
rm -f include/test/instrument_record_status.h
|
rm -f include/test/instrument_record_status.h
|
||||||
rm -f include/alt-extra/*/*_alt.h
|
rm -f ../framework/tests/include/alt-extra/*/*_alt.h
|
||||||
rm -rf libtestdriver1
|
rm -rf libtestdriver1
|
||||||
rm -rf libpsaclient libpsaserver
|
rm -rf libpsaclient libpsaserver
|
||||||
rm -f ../library/libtestdriver1.a
|
rm -f ../library/libtestdriver1.a
|
||||||
@ -294,11 +294,11 @@ check: $(BINARIES) $(CRYPTO_BINARIES)
|
|||||||
test: check
|
test: check
|
||||||
|
|
||||||
# Generate variants of some headers for testing
|
# Generate variants of some headers for testing
|
||||||
include/alt-extra/%_alt.h: ../include/%.h
|
../framework/tests/include/alt-extra/%_alt.h: ../include/%.h
|
||||||
perl -p -e 's/^(# *(define|ifndef) +\w+_)H\b/$${1}ALT_H/' $< >$@
|
perl -p -e 's/^(# *(define|ifndef) +\w+_)H\b/$${1}ALT_H/' $< >$@
|
||||||
include/alt-extra/%_alt.h: ../tf-psa-crypto/include/%.h
|
../framework/tests/include/alt-extra/%_alt.h: ../tf-psa-crypto/include/%.h
|
||||||
perl -p -e 's/^(# *(define|ifndef) +\w+_)H\b/$${1}ALT_H/' $< >$@
|
perl -p -e 's/^(# *(define|ifndef) +\w+_)H\b/$${1}ALT_H/' $< >$@
|
||||||
include/alt-extra/%_alt.h: ../tf-psa-crypto/drivers/builtin/include/%.h
|
../framework/tests/include/alt-extra/%_alt.h: ../tf-psa-crypto/drivers/builtin/include/%.h
|
||||||
perl -p -e 's/^(# *(define|ifndef) +\w+_)H\b/$${1}ALT_H/' $< >$@
|
perl -p -e 's/^(# *(define|ifndef) +\w+_)H\b/$${1}ALT_H/' $< >$@
|
||||||
|
|
||||||
# Generate test library
|
# Generate test library
|
||||||
|
@ -2685,7 +2685,7 @@ component_build_psa_alt_headers () {
|
|||||||
|
|
||||||
# Generate alternative versions of the substitutable headers with the
|
# Generate alternative versions of the substitutable headers with the
|
||||||
# same content except different include guards.
|
# same content except different include guards.
|
||||||
make -C tests include/alt-extra/psa/crypto_platform_alt.h include/alt-extra/psa/crypto_struct_alt.h
|
make -C tests ../framework/tests/include/alt-extra/psa/crypto_platform_alt.h ../framework/tests/include/alt-extra/psa/crypto_struct_alt.h
|
||||||
|
|
||||||
# Build the library and some programs.
|
# Build the library and some programs.
|
||||||
# Don't build the fuzzers to avoid having to go through hoops to set
|
# Don't build the fuzzers to avoid having to go through hoops to set
|
||||||
|
Loading…
x
Reference in New Issue
Block a user