mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-13 04:13:45 +00:00
Add tests/Makefile targets for moved test helpers
Everything that has been moved to tests/src needs a Makefile target in order to be built. Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
parent
d9ad663cea
commit
69b12ee121
@ -185,12 +185,17 @@ 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 src/test_keys.h
|
||||||
|
|
||||||
# Rule to compile common test C files in src folder
|
# Rule to compile common test C files in framework
|
||||||
src/%.o : src/%.c $(TEST_OBJS_DEPS)
|
../framework/tests/src/%.o : ../framework/tests/src/%.c $(TEST_OBJS_DEPS)
|
||||||
echo " CC $<"
|
echo " CC $<"
|
||||||
$(CC) $(LOCAL_CFLAGS) $(CFLAGS) -o $@ -c $<
|
$(CC) $(LOCAL_CFLAGS) $(CFLAGS) -o $@ -c $<
|
||||||
|
|
||||||
src/drivers/%.o : src/drivers/%.c
|
../framework/tests/src/drivers/%.o : ../framework/tests/src/drivers/%.c
|
||||||
|
echo " CC $<"
|
||||||
|
$(CC) $(LOCAL_CFLAGS) $(CFLAGS) -o $@ -c $<
|
||||||
|
|
||||||
|
# Rule to compile common test C files in src folder
|
||||||
|
src/%.o : src/%.c $(TEST_OBJS_DEPS)
|
||||||
echo " CC $<"
|
echo " CC $<"
|
||||||
$(CC) $(LOCAL_CFLAGS) $(CFLAGS) -o $@ -c $<
|
$(CC) $(LOCAL_CFLAGS) $(CFLAGS) -o $@ -c $<
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user