Add CLEAN targets for sky and native platforms

This commit is contained in:
Atis Elsts 2018-02-27 13:43:39 +00:00
parent dab9ea0817
commit 449d7dd5e7
2 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,8 @@ CONTIKI_SOURCEFILES += $(CONTIKI_TARGET_SOURCEFILES)
# Enable nullmac by default # Enable nullmac by default
MAKE_MAC ?= MAKE_MAC_NULLMAC MAKE_MAC ?= MAKE_MAC_NULLMAC
CLEAN += *.native
### Define the CPU directory ### Define the CPU directory
CONTIKI_CPU=$(CONTIKI)/arch/cpu/native CONTIKI_CPU=$(CONTIKI)/arch/cpu/native
include $(CONTIKI)/arch/cpu/native/Makefile.native include $(CONTIKI)/arch/cpu/native/Makefile.native

View File

@ -4,6 +4,8 @@ CONTIKI_TARGET_SOURCEFILES += contiki-sky-platform.c \
sht11.c sht11-sensor.c light-sensor.c battery-sensor.c \ sht11.c sht11-sensor.c light-sensor.c battery-sensor.c \
button-sensor.c button-sensor.c
CLEAN += *.sky
include $(CONTIKI)/arch/platform/sky/Makefile.common include $(CONTIKI)/arch/platform/sky/Makefile.common
MODULES += arch/dev/cc2420 arch/dev/sht11 arch/dev/ds2411 os/storage/cfs MODULES += arch/dev/cc2420 arch/dev/sht11 arch/dev/ds2411 os/storage/cfs