THTTPD: Depends on !DISABLE_POLL
webserver: Allow to build webserver as an application Signed-off-by: Anton D. Kachalov mouse@yandex-team.ru
This commit is contained in:
parent
7c13bac893
commit
b43c5a6b1e
@ -75,6 +75,12 @@ PROGNAME = $(CONFIG_XYZ_PROGNAME)
|
||||
|
||||
ROOTDEPPATH = --dep-path .
|
||||
|
||||
# Webserver built-in application info
|
||||
|
||||
APPNAME = webserver
|
||||
PRIORITY = SCHED_PRIORITY_DEFAULT
|
||||
STACKSIZE = 2048
|
||||
|
||||
# Common build
|
||||
|
||||
VPATH =
|
||||
@ -108,7 +114,14 @@ install:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
|
||||
$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile
|
||||
$(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
|
||||
|
||||
context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat
|
||||
else
|
||||
context:
|
||||
endif
|
||||
|
||||
.depend: Makefile $(SRCS)
|
||||
@$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||
|
@ -6,7 +6,7 @@
|
||||
config NETUTILS_THTTPD
|
||||
bool "THTTPD webserver"
|
||||
default n
|
||||
depends on NXFLAT || FS_BINFS
|
||||
depends on (NXFLAT || FS_BINFS) && !DISABLE_POLL
|
||||
---help---
|
||||
Enable support for the THTTPD webservert.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user