summaryrefslogtreecommitdiff
path: root/components/libc/posix/src/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'components/libc/posix/src/SConscript')
-rw-r--r--components/libc/posix/src/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/libc/posix/src/SConscript b/components/libc/posix/src/SConscript
index b4454f6a52..0f5d0e9911 100644
--- a/components/libc/posix/src/SConscript
+++ b/components/libc/posix/src/SConscript
@@ -15,6 +15,9 @@ if GetDepend('RT_USING_POSIX_POLL'):
if GetDepend('RT_USING_POSIX_SELECT'):
src += ['select.c']
+if GetDepend('RT_USING_POSIX_MMAP'):
+ src += ['mmap.c']
+
group = DefineGroup('POSIX', src, depend = ['RT_USING_POSIX'], CPPPATH = CPPPATH)
Return('group')