Made the sky and z1 platform handling of PROJECT_CONF_H the same as the other platforms: the makefile should define PROJECT_CONF_H to be the name of the header file to include. This header file should #undef everything it #defines, as it is included after all the other configuration options in contiki-conf.h

This commit is contained in:
Adam Dunkels 2011-09-05 11:46:15 +02:00
parent 3b33c198ed
commit a06cf93e4c
4 changed files with 9 additions and 7 deletions

View file

@ -8,7 +8,7 @@ CFLAGS+= -DUIP_CONF_IPV6_RPL
APPS += webserver webbrowser
CFLAGS += -DPROJECT_CONF_H=1
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
CONTIKI_SOURCEFILES += wget.c
PROJECTDIRS += ../rpl-border-router
PROJECT_SOURCEFILES += httpd-simple.c

View file

@ -7,7 +7,7 @@ UIP_CONF_IPV6=1
APPS += webserver webbrowser
CFLAGS += -DPROJECT_CONF_H=1
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
CONTIKI_SOURCEFILES += wget.c
PROJECTDIRS += ../../../ipv6/rpl-border-router
PROJECT_SOURCEFILES += httpd-simple.c