diff options
| author | xqyjlj <[email protected]> | 2023-07-17 20:11:58 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-07-17 20:11:58 +0800 |
| commit | 0eb75ced70a514051fcc6a8f1d232e195b15b4a0 (patch) | |
| tree | a025fe349198fa0fe6f972ea1100ac31ba64787a /components/ktime/SConscript | |
| parent | b424169e1742c1b19d039f9871dd3c672ea7b729 (diff) | |
[time]时钟框架重构 (#7794)
Diffstat (limited to 'components/ktime/SConscript')
| -rw-r--r-- | components/ktime/SConscript | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/components/ktime/SConscript b/components/ktime/SConscript new file mode 100644 index 0000000000..0ec9655697 --- /dev/null +++ b/components/ktime/SConscript @@ -0,0 +1,19 @@ +import os +from building import * + +Import('rtconfig') + +cwd = GetCurrentDir() + +src = Glob('src/*.c') +list = os.listdir(cwd + "/src") +if rtconfig.ARCH in list: + if os.path.exists(cwd + "/src/" + rtconfig.ARCH + "/" + rtconfig.CPU): + src += Glob("src/" + rtconfig.ARCH + "/" + rtconfig.CPU + "/*.c") + else: + src += Glob("src/" + rtconfig.ARCH + "/*.c") +CPPPATH = [cwd, cwd + "/inc"] + +group = DefineGroup('ktime', src, depend=[''], CPPPATH=CPPPATH) + +Return('group') |
