mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-20 10:35:34 +00:00
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
@ -26,10 +26,12 @@ PROJECT_SOURCEFILES += slip-bridge.c
|
|||||||
|
|
||||||
WITH_WEBSERVER=1
|
WITH_WEBSERVER=1
|
||||||
ifeq ($(WITH_WEBSERVER),1)
|
ifeq ($(WITH_WEBSERVER),1)
|
||||||
|
CFLAGS += -DUIP_CONF_TCP=1
|
||||||
CFLAGS += -DWEBSERVER=1
|
CFLAGS += -DWEBSERVER=1
|
||||||
PROJECT_SOURCEFILES += httpd-simple.c
|
PROJECT_SOURCEFILES += httpd-simple.c
|
||||||
else ifneq ($(WITH_WEBSERVER), 0)
|
else ifneq ($(WITH_WEBSERVER), 0)
|
||||||
APPS += $(WITH_WEBSERVER)
|
APPS += $(WITH_WEBSERVER)
|
||||||
|
CFLAGS += -DUIP_CONF_TCP=1
|
||||||
CFLAGS += -DWEBSERVER=2
|
CFLAGS += -DWEBSERVER=2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user