mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-03-24 22:15:07 +00:00
Makefile: Use full paths to refer to parent files
When running lcov, files can't be found relative to the parent project (Mbed TLS) root. Use full, non-relative paths to refer to files used in building Mbed Crypto from Mbed TLS in order to enable lcov to locate the files properly.
This commit is contained in:
parent
0cad4bac30
commit
8d4d4f55f0
|
@ -92,9 +92,9 @@ OBJS_CRYPTO= aes.o aesni.o arc4.o \
|
||||||
# For files generated by the parent project (Mbed TLS) when building Mbed
|
# For files generated by the parent project (Mbed TLS) when building Mbed
|
||||||
# Crypto as a submodule, ensure that the parent project instance is used.
|
# Crypto as a submodule, ensure that the parent project instance is used.
|
||||||
ifeq ($(USE_CRYPTO_SUBMODULE), 1)
|
ifeq ($(USE_CRYPTO_SUBMODULE), 1)
|
||||||
OBJS_CRYPTO += ../../library/error.o
|
OBJS_CRYPTO += $(patsubst %.c,%.o, $(realpath ../../library/error.c))
|
||||||
OBJS_CRYPTO += ../../library/version.o
|
OBJS_CRYPTO += $(patsubst %.c,%.o, $(realpath ../../library/version.c))
|
||||||
OBJS_CRYPTO += ../../library/version_features.o
|
OBJS_CRYPTO += $(patsubst %.c,%.o, $(realpath ../../library/version_features.c))
|
||||||
else
|
else
|
||||||
OBJS_CRYPTO += error.o
|
OBJS_CRYPTO += error.o
|
||||||
OBJS_CRYPTO += version.o
|
OBJS_CRYPTO += version.o
|
||||||
|
|
Loading…
Reference in a new issue