mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-05-09 03:04:24 +02:00
Update Makefiles and revert changes to config.pl
-Add comments to Makefiles about test env auto-detection -Fix indentation -Remove parent folder from include dirs -Do not use environment variable for defining config file because env variable usage is not fully implemented -Revert changes to config.pl
This commit is contained in:
@@ -15,13 +15,11 @@ ifneq "$(wildcard $(DIR_FOR_MBED_TLS_ENV) )" ""
|
||||
INCLUDE_DIR=-I../include
|
||||
else
|
||||
LIBRARY_DIR=../src
|
||||
INCLUDE_DIR=-I.. -I../inc
|
||||
INCLUDE_DIR=-I../inc
|
||||
CFLAGS += "-DMBEDTLS_CONFIG_FILE=\"mbedtls/test_config.h\""
|
||||
endif
|
||||
|
||||
LOCAL_CFLAGS = $(WARNING_CFLAGS) $(INCLUDE_DIR) -D_FILE_OFFSET_BITS=64
|
||||
ifdef MBEDTLS_CONFIG_FILE
|
||||
LOCAL_CFLAGS += "-DMBEDTLS_CONFIG_FILE=\"${MBEDTLS_CONFIG_FILE}\""
|
||||
endif
|
||||
|
||||
LOCAL_CXXFLAGS = $(WARNING_CXXFLAGS) $(INCLUDE_DIR) -D_FILE_OFFSET_BITS=64
|
||||
LOCAL_LDFLAGS = -L$(LIBRARY_DIR) \
|
||||
|
||||
Reference in New Issue
Block a user