Work on fixing the build (integration of contrib)

This commit is contained in:
Dirk Ziegelmeier
2018-10-02 12:34:26 +02:00
parent ac46e42aa2
commit 0244dc714b
7 changed files with 8 additions and 8 deletions

View File

@@ -56,7 +56,7 @@ ARFLAGS?=rs
#Set this to where you have the lwip core module checked out from git
#default assumes it's a dir named lwip at the same level as the contrib module
LWIPDIR?=$(CONTRIBDIR)/../lwip/src
LWIPDIR?=$(CONTRIBDIR)/..
CFLAGS+=-I. \
-I$(CONTRIBDIR) \
@@ -64,7 +64,7 @@ CFLAGS+=-I. \
-I$(LWIPARCH)/include
# Add include path and link to mbedTLS lib if available
MBEDTLSDIR?=$(CONTRIBDIR)/../mbedtls
MBEDTLSDIR?=$(LWIPDIR)/../mbedtls
ifneq (,$(wildcard $(MBEDTLSDIR)/include/mbedtls/*.h))
LDFLAGS+=-L$(MBEDTLSDIR)/library -lmbedtls -lmbedcrypto -lmbedx509
CFLAGS+=-I$(MBEDTLSDIR)/include -Wno-redundant-decls -DLWIP_HAVE_MBEDTLS=1 -Wno-c90-c99-compat