galileo: Build link-stats.c when IPv6 is enabled

This is required by the IPv6 implementation in Contiki OS.
This commit is contained in:
Michael LeMay 2016-07-31 17:03:42 -07:00
parent dbb82f2439
commit 836fa4d6fa

View File

@ -8,7 +8,7 @@ CONTIKI_TARGET_MAIN = ${addprefix $(OBJECTDIR)/,contiki-main.o}
CONTIKI_SOURCEFILES += contiki-main.c clock.c rtimer-arch.c gpio-pcal9535a.c pwm-pca9685.c galileo-pinmux.c eth-proc.c eth-conf.c
ifeq ($(CONTIKI_WITH_IPV6),1)
CONTIKI_SOURCEFILES += nbr-table.c packetbuf.c linkaddr.c
CONTIKI_SOURCEFILES += nbr-table.c packetbuf.c linkaddr.c link-stats.c
endif
PROJECT_SOURCEFILES += newlib-syscalls.c