examples/telnetd: fix compile telnetd multi definition error
Compiling system/telnetd and examples/telnetd at the same time could not generate two builtin commands, Because the name is the same, one will be overwritten, but there will be no compilation errors. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
This commit is contained in:
parent
909ab76eae
commit
a1dbc8f37d
@ -21,7 +21,7 @@
|
||||
if(CONFIG_EXAMPLES_TELNETD)
|
||||
nuttx_add_application(
|
||||
NAME
|
||||
telnetd
|
||||
example_telnetd
|
||||
PRIORITY
|
||||
${CONFIG_EXAMPLES_TELNETD_DAEMONPRIO}
|
||||
STACKSIZE
|
||||
|
@ -26,7 +26,7 @@ MAINSRC = telnetd.c
|
||||
|
||||
# Buttons built-in application info
|
||||
|
||||
PROGNAME = telnetd
|
||||
PROGNAME = example_telnetd
|
||||
PRIORITY = $(CONFIG_EXAMPLES_TELNETD_DAEMONPRIO)
|
||||
STACKSIZE = $(CONFIG_EXAMPLES_TELNETD_DAEMONSTACKSIZE)
|
||||
MODULE = $(CONFIG_EXAMPLES_TELNETD)
|
||||
|
Loading…
Reference in New Issue
Block a user