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:
Xiang Xiao 2022-02-04 04:22:29 +08:00 committed by Petro Karashchenko
parent 76a9af90c3
commit 0ff29e8f10
1 changed files with 1 additions and 4 deletions

View File

@ -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