summaryrefslogtreecommitdiff
path: root/components/mm/SConscript
diff options
context:
space:
mode:
authorRbb666 <[email protected]>2026-07-31 16:23:18 +0800
committerRbb666 <[email protected]>2026-08-12 12:54:50 +0800
commitf05fb1c0760f4791e22c62633650d9d52dc764af (patch)
tree3fc2f0421515903979455236cddbd90263540451 /components/mm/SConscript
parentabce28f15cc868f72d0d1f2bfc7e46343869e6d6 (diff)
fix(mm): exclude no-MMU ioremap from MMU builds
Diffstat (limited to 'components/mm/SConscript')
-rw-r--r--components/mm/SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/mm/SConscript b/components/mm/SConscript
index 6bc146c3c5..f90f540ce2 100644
--- a/components/mm/SConscript
+++ b/components/mm/SConscript
@@ -6,6 +6,7 @@ cwd = GetCurrentDir()
if GetDepend('ARCH_ARM_CORTEX_A') or GetDepend('ARCH_ARMV8') or GetDepend('ARCH_RISCV64'):
src = Glob('*.c') + Glob('*_gcc.S')
+ SrcRemove(src, ['ioremap-nommu.c'])
if not GetDepend('RT_USING_MEMBLOCK'):
SrcRemove(src, ['mm_memblock.c'])