Removed protocol version build flags, defaults to IPV4 && IPV6
This commit is contained in:
16
Makefile
16
Makefile
@@ -227,19 +227,6 @@ ifeq ($(STACK_LWIP),1)
|
||||
ifeq ($(NS_DEBUG),1)
|
||||
STACK_DEFS+=LWIP_DEBUG=1
|
||||
endif
|
||||
ifeq ($(LIBZT_IPV4)$(LIBZT_IPV6),1)
|
||||
ifeq ($(LIBZT_IPV4),1)
|
||||
STACK_DRIVER_DEFS+=-DLIBZT_IPV4 -DLWIP_IPV4=1
|
||||
STACK_DEFS+=LIBZT_IPV4=1 IPV4=1
|
||||
endif
|
||||
ifeq ($(LIBZT_IPV6),1)
|
||||
STACK_DRIVER_DEFS+=-DLIBZT_IPV6 -DLWIP_IPV6=1
|
||||
STACK_DEFS+=LIBZT_IPV6=1 IPV6=1
|
||||
endif
|
||||
else
|
||||
STACK_DRIVER_DEFS+=-DLIBZT_IPV4 -DLWIP_IPV4=1
|
||||
STACK_DEFS+=LIBZT_IPV4=1
|
||||
endif
|
||||
STACK_DRIVER_DEFS+=-DLWIP_DONT_PROVIDE_BYTEORDER_FUNCTIONS
|
||||
STACK_DRIVER_DEFS+=-DSTACK_LWIP
|
||||
STACK_DRIVER_FILES:=src/lwIP.cpp
|
||||
@@ -256,6 +243,9 @@ ifeq ($(NO_STACK),1)
|
||||
STACK_DRIVER_DEFS+=-DNO_STACK
|
||||
endif
|
||||
|
||||
STACK_DRIVER_DEFS+=-DLIBZT_IPV4 -DLWIP_IPV4=1 -DLIBZT_IPV6 -DLWIP_IPV6=1
|
||||
STACK_DEFS+=LIBZT_IPV6=1 IPV6=1 LIBZT_IPV4=1 IPV4=1
|
||||
|
||||
##############################################################################
|
||||
## Targets ##
|
||||
##############################################################################
|
||||
|
||||
Reference in New Issue
Block a user