summaryrefslogtreecommitdiff
path: root/components/libc/posix/src/SConscript
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-11-09 22:59:31 -0500
committerMeco Man <[email protected]>2021-11-09 22:59:31 -0500
commit219d1e20f579cda0aac62d90bf926e8a0a9dd688 (patch)
tree476110825db9692c061e9c66f58203d009bdec64 /components/libc/posix/src/SConscript
parent2b7d12661e03ebe529e9b4ba36f671f91d6f5c1b (diff)
move mmap to src folder
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')