From f05fb1c0760f4791e22c62633650d9d52dc764af Mon Sep 17 00:00:00 2001 From: Rbb666 Date: Fri, 31 Jul 2026 16:23:18 +0800 Subject: fix(mm): exclude no-MMU ioremap from MMU builds --- components/mm/SConscript | 1 + 1 file changed, 1 insertion(+) (limited to 'components/mm/SConscript') 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']) -- cgit v1.3.1