mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-06-16 09:53:45 +08:00
Work on fixing the build (integration of contrib)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user