Override source file sets of included apps to exclude source files that would cause symbols to be defined twice in the Contiki library.
This commit is contained in:
parent
eab1ea8c95
commit
62662ee79b
|
@ -9,14 +9,22 @@ shell_src = shell.c shell-reboot.c \
|
||||||
#shell-rsh.c
|
#shell-rsh.c
|
||||||
shell_dsc = shell-dsc.c
|
shell_dsc = shell-dsc.c
|
||||||
|
|
||||||
APPS+=webbrowser webserver irc
|
APPS += webbrowser
|
||||||
include $(CONTIKI)/apps/webbrowser/Makefile.webbrowser
|
include $(CONTIKI)/apps/webbrowser/Makefile.webbrowser
|
||||||
include $(CONTIKI)/apps/webserver/Makefile.webserver
|
|
||||||
include $(CONTIKI)/apps/irc/Makefile.irc
|
|
||||||
|
|
||||||
ifndef PLATFORM_BUILD
|
ifndef PLATFORM_BUILD
|
||||||
override webserver_src = webserver-nogui.c http-strings.c psock.c memb.c \
|
override webbrowser_src = webclient.c http-strings.c http-user-agent-string.c
|
||||||
httpd-cfs.c
|
endif
|
||||||
|
|
||||||
|
APPS += webserver
|
||||||
|
include $(CONTIKI)/apps/webserver/Makefile.webserver
|
||||||
|
ifndef PLATFORM_BUILD
|
||||||
|
override webserver_src = http-strings.c psock.c memb.c httpd-cfs.c
|
||||||
|
endif
|
||||||
|
|
||||||
|
APPS += irc
|
||||||
|
include $(CONTIKI)/apps/irc/Makefile.irc
|
||||||
|
ifndef PLATFORM_BUILD
|
||||||
|
override irc_src = ircc.c psock.c ircc-strings.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(TARGET),sky)
|
ifeq ($(TARGET),sky)
|
||||||
|
|
Loading…
Reference in a new issue