Merge pull request #124 from Patater/full-parent-paths

Makefile: Use full paths to refer to parent files
This commit is contained in:
Jaeden Amero 2019-05-22 15:08:52 +01:00 committed by GitHub
commit 8907b019e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,9 +92,9 @@ OBJS_CRYPTO= aes.o aesni.o arc4.o \
# For files generated by the parent project (Mbed TLS) when building Mbed
# Crypto as a submodule, ensure that the parent project instance is used.
ifeq ($(USE_CRYPTO_SUBMODULE), 1)
OBJS_CRYPTO += ../../library/error.o
OBJS_CRYPTO += ../../library/version.o
OBJS_CRYPTO += ../../library/version_features.o
OBJS_CRYPTO += $(patsubst %.c,%.o, $(realpath ../../library/error.c))
OBJS_CRYPTO += $(patsubst %.c,%.o, $(realpath ../../library/version.c))
OBJS_CRYPTO += $(patsubst %.c,%.o, $(realpath ../../library/version_features.c))
else
OBJS_CRYPTO += error.o
OBJS_CRYPTO += version.o