examples/ipv6/rpl-border-router: Add -DUIP_CONF_TCP=1 to CFLAGS
The example used to rely on the default value being set to 1 which caused build failures on platforms which have a default UIP_CONF_TCP=0 Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
This commit is contained in:
parent
ce49276e80
commit
1e03cdd553
1 changed files with 2 additions and 0 deletions
|
@ -26,10 +26,12 @@ PROJECT_SOURCEFILES += slip-bridge.c
|
|||
|
||||
WITH_WEBSERVER=1
|
||||
ifeq ($(WITH_WEBSERVER),1)
|
||||
CFLAGS += -DUIP_CONF_TCP=1
|
||||
CFLAGS += -DWEBSERVER=1
|
||||
PROJECT_SOURCEFILES += httpd-simple.c
|
||||
else ifneq ($(WITH_WEBSERVER), 0)
|
||||
APPS += $(WITH_WEBSERVER)
|
||||
CFLAGS += -DUIP_CONF_TCP=1
|
||||
CFLAGS += -DWEBSERVER=2
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue