未验证 提交 12189d53 编写于 作者: S Shell 提交者: GitHub

[rt-smart/mm] enable mm on armv7, armv8, rv64 only (#6834)

* [mm] enable mm on armv7, armv8, rv64 only

* [mm] config on ARCH_MM_MMU
上级 168e1250
...@@ -3,12 +3,12 @@ from building import * ...@@ -3,12 +3,12 @@ from building import *
objs = [] objs = []
if GetDepend('ARCH_MM_MMU'): if GetDepend('ARCH_ARM_CORTEX_A') or GetDepend('ARCH_ARMV8') or GetDepend('ARCH_RISCV64'):
cwd = GetCurrentDir() cwd = GetCurrentDir()
src = Glob('*.c') + Glob('*_gcc.S') src = Glob('*.c') + Glob('*_gcc.S')
CPPPATH = [cwd] CPPPATH = [cwd]
group = DefineGroup('mm', src, depend = [''], CPPPATH = CPPPATH) group = DefineGroup('mm', src, depend = ['ARCH_MM_MMU'], CPPPATH = CPPPATH)
objs = [group] objs = [group]
list = os.listdir(cwd) list = os.listdir(cwd)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册