mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-07 03:11:35 +08:00
Make the lib/ subdirectory build more like other directories
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5025 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -33,11 +33,22 @@
|
||||
#
|
||||
############################################################################
|
||||
|
||||
TERMIOS_SRCS =
|
||||
# termios.h support requires file descriptors and that CONFIG_SERIAL_TERMIOS
|
||||
# is defined
|
||||
|
||||
ifneq ($(CONFIG_NFILE_DESCRIPTORS),0)
|
||||
ifeq ($(CONFIG_SERIAL_TERMIOS),y)
|
||||
|
||||
TERMIOS_SRCS += lib_cfgetspeed.c lib_cfsetspeed.c lib_tcflush.c
|
||||
TERMIOS_SRCS += lib_tcgetattr.c lib_tcsetattr.c
|
||||
# Add the termios C files to the build
|
||||
|
||||
CSRCS += lib_cfgetspeed.c lib_cfsetspeed.c lib_tcflush.c
|
||||
CSRCS += lib_tcgetattr.c lib_tcsetattr.c
|
||||
|
||||
# Add the termios directory to the build
|
||||
|
||||
DEPPATH += --dep-path termios
|
||||
VPATH += termios
|
||||
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user