summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fc1bbc3)
raw | patch | inline | side by side (parent: fc1bbc3)
author | Etienne Carriere <etienne.carriere@linaro.org> | |
Thu, 21 Jun 2018 14:09:48 +0000 (16:09 +0200) | ||
committer | Jérôme Forissier <jerome.forissier@linaro.org> | |
Thu, 21 Jun 2018 14:13:30 +0000 (16:13 +0200) |
CFG_GP_PACKAGE_PATH is not expected to store 'y' but a path, if
defined. This change corrects the test on CFG_GP_PACKAGE_PATH regarding
OpenSSL depedency.
Fixes: 43d58a5fce8f ("xtest: Makefile: link against OpenSSL if MBed TLS is enabled in TA")
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
defined. This change corrects the test on CFG_GP_PACKAGE_PATH regarding
OpenSSL depedency.
Fixes: 43d58a5fce8f ("xtest: Makefile: link against OpenSSL if MBed TLS is enabled in TA")
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
host/xtest/Makefile | patch | blob | history |
diff --git a/host/xtest/Makefile b/host/xtest/Makefile
index 47d24c2d044f46bc439d6e2667c4b61ea3ee2421..a8efeb90c8d0c38cdfac52df7308e0cb73941c19 100644 (file)
--- a/host/xtest/Makefile
+++ b/host/xtest/Makefile
READELF ?= $(CROSS_COMPILE)readelf
# OpenSSL is used by GP tests series 8500 and Mbed TLS test 8103
-ifneq (,$(filter y,$(CFG_GP_PACKAGE_PATH) $(CFG_TA_MBEDTLS)))
+ifneq ($(CFG_GP_PACKAGE_PATH)$(filter y,$(CFG_TA_MBEDTLS)),)
CFLAGS += -I../openssl/include -DOPENSSL_FOUND=1
ifeq ($(COMPILE_NS_USER),32)
LDFLAGS += ../openssl/lib/arm/libcrypto.a -ldl