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)
|
if(CONFIG_EXAMPLES_TELNETD)
|
||||||
nuttx_add_application(
|
nuttx_add_application(
|
||||||
NAME
|
NAME
|
||||||
telnetd
|
example_telnetd
|
||||||
PRIORITY
|
PRIORITY
|
||||||
${CONFIG_EXAMPLES_TELNETD_DAEMONPRIO}
|
${CONFIG_EXAMPLES_TELNETD_DAEMONPRIO}
|
||||||
STACKSIZE
|
STACKSIZE
|
||||||
|
@ -26,7 +26,7 @@ MAINSRC = telnetd.c
|
|||||||
|
|
||||||
# Buttons built-in application info
|
# Buttons built-in application info
|
||||||
|
|
||||||
PROGNAME = telnetd
|
PROGNAME = example_telnetd
|
||||||
PRIORITY = $(CONFIG_EXAMPLES_TELNETD_DAEMONPRIO)
|
PRIORITY = $(CONFIG_EXAMPLES_TELNETD_DAEMONPRIO)
|
||||||
STACKSIZE = $(CONFIG_EXAMPLES_TELNETD_DAEMONSTACKSIZE)
|
STACKSIZE = $(CONFIG_EXAMPLES_TELNETD_DAEMONSTACKSIZE)
|
||||||
MODULE = $(CONFIG_EXAMPLES_TELNETD)
|
MODULE = $(CONFIG_EXAMPLES_TELNETD)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user