From d7d663562e767c07a97e2046d45ffca84caf63cd Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Sun, 3 Jan 2021 07:23:50 +0800 Subject: [PATCH] [kernel] update sconscript --- src/SConscript | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/SConscript b/src/SConscript index c3a7775d75..8dd44f5df2 100644 --- a/src/SConscript +++ b/src/SConscript @@ -26,6 +26,9 @@ if GetDepend('RT_USING_MEMHEAP') == False: if GetDepend('RT_USING_USERHEAP'): SrcRemove(src, ['mem.c', 'slab.c']) +if GetDepend('RT_USING_SIGNALS') == False: + SrcRemove(src, ['signal.c']) + if GetDepend('RT_USING_DEVICE') == False: SrcRemove(src, ['device.c'])