mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-09-01 02:29:03 +00:00
This loads Makefile.target into Makefile so we can check for TARGET==sky when building this. Compilation for sky fails without it. Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
25 lines
439 B
Makefile
25 lines
439 B
Makefile
CONTIKI_PROJECT=slip-radio
|
|
all: $(CONTIKI_PROJECT)
|
|
APPS = slip-cmd
|
|
|
|
ifeq ($(TARGET),)
|
|
-include Makefile.target
|
|
endif
|
|
|
|
CONTIKI=../../..
|
|
|
|
WITH_UIP6=1
|
|
UIP_CONF_IPV6=1
|
|
UIP_CONF_RPL=0
|
|
|
|
#linker optimizations
|
|
SMALL=1
|
|
|
|
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
PROJECT_SOURCEFILES += slip-net.c no-framer.c
|
|
ifeq ($(TARGET),sky)
|
|
PROJECT_SOURCEFILES += slip-radio-cc2420.c slip-radio-sky-sensors.c
|
|
endif
|
|
|
|
include $(CONTIKI)/Makefile.include
|