mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 12:08:36 +08:00
libc/stdlib: Compile lib_openpty.c without checking CONFIG_SERIAL_TERMIOS
follow up the following change:
commit 4262b09cbf
Author: Xiang Xiao <xiaoxiang@xiaomi.com>
Date: Fri Dec 17 02:58:49 2021 +0800
libc: Implement terminal api regardless of CONFIG_SERIAL_TERMIOS setting
since many functions aren't related to termios directly
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
76a9af90c3
commit
0ff29e8f10
1 changed files with 1 additions and 4 deletions
|
@ -34,10 +34,7 @@ CSRCS += lib_mbstowcs.c lib_wcstombs.c
|
|||
endif
|
||||
|
||||
ifeq ($(CONFIG_PSEUDOTERM),y)
|
||||
CSRCS += lib_ptsname.c lib_ptsnamer.c lib_unlockpt.c
|
||||
ifeq ($(CONFIG_SERIAL_TERMIOS),y)
|
||||
CSRCS += lib_openpty.c
|
||||
endif
|
||||
CSRCS += lib_ptsname.c lib_ptsnamer.c lib_unlockpt.c lib_openpty.c
|
||||
endif
|
||||
|
||||
# Add the stdlib directory to the build
|
||||
|
|
Loading…
Reference in a new issue