From 5e639ed026a3ece72a7e7446a5e3c85bbc47f4e6 Mon Sep 17 00:00:00 2001 From: Arto Kinnunen Date: Wed, 25 Sep 2019 17:08:39 +0300 Subject: [PATCH] Add comments to Makefiles Add missing comment to Makefiles about purpose of the change. --- Makefile | 2 ++ library/Makefile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 945797181..fef643e4f 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,8 @@ PREFIX=mbedtls_ PROGRAMS_DIR=./programs TESTS_DIR=./tests +# Check test environment. If ../library is available then Mbed TLS is used. +# Otherwise Mbed OS environment is used. DIR_FOR_MBED_TLS_ENV=./library ifneq "$(wildcard $(DIR_FOR_MBED_TLS_ENV) )" "" LIBRARY_DIR=./library diff --git a/library/Makefile b/library/Makefile index ce9c1eb99..e0141bfbe 100644 --- a/library/Makefile +++ b/library/Makefile @@ -5,6 +5,8 @@ CFLAGS ?= -O2 WARNING_CFLAGS ?= -Wall -W -Wdeclaration-after-statement LDFLAGS ?= +# Check test environment. If ../library is available then Mbed TLS is used. +# Otherwise Mbed OS environment is used. DIR_FOR_MBED_TLS_ENV=../library ifneq "$(wildcard $(DIR_FOR_MBED_TLS_ENV) )" "" # Set include dirs for Mbed TLS test environment