diff options
Diffstat (limited to 'components/libc')
| -rw-r--r-- | components/libc/Kconfig | 6 | ||||
| -rw-r--r-- | components/libc/compilers/armlibc/SConscript | 6 |
2 files changed, 6 insertions, 6 deletions
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) |
