mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-09-13 13:49:54 +00:00
Update test_keys.h generation in Makefile
Signed-off-by: David Horstmann <[email protected]>
This commit is contained in:
+3
-3
@@ -57,7 +57,7 @@ endif
|
|||||||
GENERATED_CRYPTO_DATA_FILES += $(GENERATED_PSA_DATA_FILES)
|
GENERATED_CRYPTO_DATA_FILES += $(GENERATED_PSA_DATA_FILES)
|
||||||
|
|
||||||
GENERATED_FILES = $(GENERATED_DATA_FILES) $(GENERATED_CRYPTO_DATA_FILES)
|
GENERATED_FILES = $(GENERATED_DATA_FILES) $(GENERATED_CRYPTO_DATA_FILES)
|
||||||
GENERATED_FILES += src/test_keys.h src/test_certs.h
|
GENERATED_FILES += ../framework/tests/src/test_keys.h src/test_certs.h
|
||||||
|
|
||||||
# Generated files needed to (fully) run ssl-opt.sh
|
# Generated files needed to (fully) run ssl-opt.sh
|
||||||
.PHONY: ssl-opt
|
.PHONY: ssl-opt
|
||||||
@@ -172,7 +172,7 @@ src/test_certs.h: ../framework/scripts/generate_test_cert_macros.py \
|
|||||||
echo " Gen $@"
|
echo " Gen $@"
|
||||||
$(PYTHON) ../framework/scripts/generate_test_cert_macros.py --output $@
|
$(PYTHON) ../framework/scripts/generate_test_cert_macros.py --output $@
|
||||||
|
|
||||||
src/test_keys.h: ../framework/scripts/generate_test_keys.py
|
../framework/tests/src/test_keys.h: ../framework/scripts/generate_test_keys.py
|
||||||
echo " Gen $@"
|
echo " Gen $@"
|
||||||
$(PYTHON) ../framework/scripts/generate_test_keys.py --output $@
|
$(PYTHON) ../framework/scripts/generate_test_keys.py --output $@
|
||||||
|
|
||||||
@@ -183,7 +183,7 @@ ifdef RECORD_PSA_STATUS_COVERAGE_LOG
|
|||||||
# therefore the wildcard enumeration above doesn't include it.
|
# therefore the wildcard enumeration above doesn't include it.
|
||||||
TEST_OBJS_DEPS += include/test/instrument_record_status.h
|
TEST_OBJS_DEPS += include/test/instrument_record_status.h
|
||||||
endif
|
endif
|
||||||
TEST_OBJS_DEPS += src/test_certs.h src/test_keys.h
|
TEST_OBJS_DEPS += src/test_certs.h ../framework/tests/src/test_keys.h
|
||||||
|
|
||||||
# Rule to compile common test C files in framework
|
# Rule to compile common test C files in framework
|
||||||
../framework/tests/src/%.o : ../framework/tests/src/%.c $(TEST_OBJS_DEPS)
|
../framework/tests/src/%.o : ../framework/tests/src/%.c $(TEST_OBJS_DEPS)
|
||||||
|
|||||||
Reference in New Issue
Block a user