summaryrefslogtreecommitdiff
path: root/apps/examples/ftpd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/ftpd/Makefile')
-rw-r--r--apps/examples/ftpd/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/apps/examples/ftpd/Makefile b/apps/examples/ftpd/Makefile
index d3ccda7cc..4eb25c9e9 100644
--- a/apps/examples/ftpd/Makefile
+++ b/apps/examples/ftpd/Makefile
@@ -56,12 +56,6 @@ endif
ROOTDEPPATH = --dep-path .
-# Buttons built-in application info
-
-APPNAME = ftpd
-PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 2048
-
# Common build
VPATH =
@@ -84,7 +78,8 @@ $(COBJS): %$(OBJEXT): %.c
.context:
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
- $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
+ $(call REGISTER,ftpd_start,SCHED_PRIORITY_DEFAULT,2048,ftpd_start)
+ $(call REGISTER,ftpd_stop,SCHED_PRIORITY_DEFAULT,2048,ftpd_stop)
@touch $@
endif