KL25: Update build for compatibility with recent CC3000 changes

This commit is contained in:
Gregory Nutt 2013-10-24 13:59:53 -06:00
parent da7a3d9c9a
commit 18e651b670
2 changed files with 8 additions and 1 deletions

View File

@ -5874,3 +5874,6 @@
* arch/arm/src/sama5/sam_adc.c, sam_tc.c and sam_tc.h: Hook in the
timer/counter logic so that it can driver periodic ADC sampling
(2013-10-24).
* configs/freedom-kl25z/src/Makefile: Only build kl_wifi.c if
CONFIG_WL_CC3000 is selected. From Alan Carvalho de Assis
(2013-10-24).

View File

@ -40,7 +40,11 @@ CFLAGS += -I$(TOPDIR)/sched
ASRCS =
AOBJS = $(ASRCS:.S=$(OBJEXT))
CSRCS = kl_boardinitialize.c kl_wifi.c
CSRCS = kl_boardinitialize.c
ifeq ($(CONFIG_WL_CC3000),y)
CSRCS += kl_wifi.c
endif
ifeq ($(CONFIG_KL_TSI),y)
CSRCS += kl_tsi.c