diff options
Diffstat (limited to 'components')
| -rw-r--r-- | components/drivers/src/SConscript | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/components/drivers/src/SConscript b/components/drivers/src/SConscript index a9bb775427..d70b3fb771 100644 --- a/components/drivers/src/SConscript +++ b/components/drivers/src/SConscript @@ -3,6 +3,11 @@ from building import * cwd = GetCurrentDir() src = Glob('*.c') CPPPATH = [cwd + '/../include'] + +if GetDepend('RT_USING_HEAP'): + SrcRemove(src, 'dataqueue.c') + SrcRemove(src, 'pipe.c') + group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_DEVICE_IPC'], CPPPATH = CPPPATH) Return('group') |
