This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git

commit c230321cae07966837141e5c84600da53b3b6227
Author: xuxin19 <[email protected]>
AuthorDate: Thu Sep 7 21:09:42 2023 +0800

    fix progname do not match issue
    
    Signed-off-by: xuxin19 <[email protected]>
---
 examples/ftpd/Makefile                 | 2 +-
 examples/thttpd/content/Makefile.binfs | 2 +-
 netutils/thttpd/Makefile               | 2 +-
 system/cdcacm/Makefile                 | 2 +-
 system/composite/Makefile              | 2 +-
 system/stackmonitor/Makefile           | 2 +-
 system/usbmsc/Makefile                 | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/examples/ftpd/Makefile b/examples/ftpd/Makefile
index fe42036f9..29cec2300 100644
--- a/examples/ftpd/Makefile
+++ b/examples/ftpd/Makefile
@@ -22,7 +22,7 @@ include $(APPDIR)/Make.defs
 
 MAINSRC = ftpd_main.c
 
-PROGNAME = ftpd_start ftpd_stop
+PROGNAME = ftpd_start
 STACKSIZE = $(CONFIG_EXAMPLES_FTPD_STACKSIZE)
 PRIORITY = SCHED_PRIORITY_DEFAULT
 MODULE = $(CONFIG_EXAMPLES_FTPD)
diff --git a/examples/thttpd/content/Makefile.binfs 
b/examples/thttpd/content/Makefile.binfs
index eeb241bba..42dd10825 100644
--- a/examples/thttpd/content/Makefile.binfs
+++ b/examples/thttpd/content/Makefile.binfs
@@ -24,7 +24,7 @@ PROGNAME = hello tasks
 PRIORITY = $(CONFIG_THTTPD_CGI_PRIORITY)
 STACKSIZE = $(CONFIG_THTTPD_CGI_STACKSIZE)
 
-CSRCS = hello.c tasks.c
+MAINSRC = hello.c tasks.c
 
 DEPPATH += --dep-path hello --dep-path tasks
 VPATH += :hello:tasks
diff --git a/netutils/thttpd/Makefile b/netutils/thttpd/Makefile
index 8c637ec79..65a5f42e8 100644
--- a/netutils/thttpd/Makefile
+++ b/netutils/thttpd/Makefile
@@ -37,7 +37,7 @@ ifeq ($(CONFIG_THTTPD_NXFLAT),y)
 endif
 
 ifeq ($(CONFIG_THTTPD_BINFS),y)
-  CSRCS +=  phf.c redirect.c ssi.c
+  MAINSRC +=  phf.c redirect.c ssi.c
   CFLAGS += ${INCDIR_PREFIX}"$(APPDIR)$(DELIM)netutils$(DELIM)thttpd"
   DEPPATHS += --dep-path cgi-src
   VPATH += :cgi-src
diff --git a/system/cdcacm/Makefile b/system/cdcacm/Makefile
index 91db35c0a..a60ad5e5a 100644
--- a/system/cdcacm/Makefile
+++ b/system/cdcacm/Makefile
@@ -24,7 +24,7 @@ include $(APPDIR)/Make.defs
 
 MAINSRC = cdcacm_main.c
 
-PROGNAME = sercon serdis
+PROGNAME = sercon
 PRIORITY = SCHED_PRIORITY_DEFAULT
 STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_SYSTEM_CDCACM)
diff --git a/system/composite/Makefile b/system/composite/Makefile
index a9aa682b1..7ea6a4ffd 100644
--- a/system/composite/Makefile
+++ b/system/composite/Makefile
@@ -26,7 +26,7 @@ MAINSRC = composite_main.c
 
 # USB storage built-in application info
 
-PROGNAME = conn disconn
+PROGNAME = conn
 PRIORITY = SCHED_PRIORITY_DEFAULT
 STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_SYSTEM_COMPOSITE)
diff --git a/system/stackmonitor/Makefile b/system/stackmonitor/Makefile
index 824b96b41..fae5b5fd1 100644
--- a/system/stackmonitor/Makefile
+++ b/system/stackmonitor/Makefile
@@ -22,7 +22,7 @@ include $(APPDIR)/Make.defs
 
 # Stack Monitor Application
 
-PROGNAME = stackmonitor_start stackmonitor_stop
+PROGNAME = stackmonitor_start
 PRIORITY = SCHED_PRIORITY_DEFAULT
 STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
 MODULE = $(CONFIG_SYSTEM_STACKMONITOR)
diff --git a/system/usbmsc/Makefile b/system/usbmsc/Makefile
index 2b3a85265..588141e35 100644
--- a/system/usbmsc/Makefile
+++ b/system/usbmsc/Makefile
@@ -20,7 +20,7 @@
 
 include $(APPDIR)/Make.defs
 
-PROGNAME = msconn msdis
+PROGNAME = msconn
 PRIORITY = $(CONFIG_SYSTEM_USBMSC_CMD_PRIORITY)
 STACKSIZE = $(CONFIG_SYSTEM_USBMSC_CMD_STACKSIZE)
 MODULE = $(CONFIG_SYSTEM_USBMSC)

Reply via email to