diff options
Diffstat (limited to 'components')
| -rw-r--r-- | components/dfs/Kconfig | 14 | ||||
| -rw-r--r-- | components/libc/Kconfig | 6 | ||||
| -rw-r--r-- | components/libc/compilers/armlibc/SConscript | 6 |
3 files changed, 6 insertions, 20 deletions
diff --git a/components/dfs/Kconfig b/components/dfs/Kconfig index 19c1327da6..79b26ffa2d 100644 --- a/components/dfs/Kconfig +++ b/components/dfs/Kconfig @@ -103,20 +103,6 @@ if RT_USING_DFS help Let BSD socket operated by file system API, such as read/write and involveed in select/poll POSIX APIs. - if RT_USING_DFS_NET - config HAVE_SYS_SELECT_H - bool "Toolchains/libc have provided sys/select.h" - default n - help - Toolchains/libc have provided sys/select.h file, therefore, disable the sys/select.h in RT-Thread. - - config HAVE_SYS_SOCKET_H - bool "Toolchains/libc have provided sys/socket.h" - default n - help - Toolchains/libc have provided sys/socket.h file, therefore, disable the sys/socket.h in RT-Thread. - endif - config RT_USING_DFS_ROMFS bool "Enable ReadOnly file system on flash" default n diff --git a/components/libc/Kconfig b/components/libc/Kconfig index 0b1db61c30..7ad048e909 100644 --- a/components/libc/Kconfig +++ b/components/libc/Kconfig @@ -35,10 +35,4 @@ if RT_USING_LIBC && RT_USING_DFS endif endif -config HAVE_SYS_SIGNALS - bool "Toolchains/libc has sigval/sigevent structure definitions" - default n - help - Toolchains/libc has sigval/sigevent/siginfo_t definitions. - endmenu diff --git a/components/libc/compilers/armlibc/SConscript b/components/libc/compilers/armlibc/SConscript index 8968abaa82..081efa7358 100644 --- a/components/libc/compilers/armlibc/SConscript +++ b/components/libc/compilers/armlibc/SConscript @@ -8,6 +8,12 @@ group = [] CPPPATH = [cwd] CPPDEFINES = ['RT_USING_ARM_LIBC'] +if GetDepend('RT_USING_DFS') == False: + SrcRemove(src, ['stdio.c']) + +if GetDepend('RT_USING_MODULE') == False: + SrcRemove(src, ['libc_syms.c']) + if rtconfig.PLATFORM == 'armcc': group = DefineGroup('libc', src, depend = ['RT_USING_LIBC'], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES) |
