mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-16 00:58:55 +00:00
16 lines
372 B
Python
16 lines
372 B
Python
Import('AIC_ROOT')
|
|
Import('PRJ_KERNEL')
|
|
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
CPPPATH = []
|
|
src = []
|
|
if GetDepend('KERNEL_BAREMETAL') and GetDepend('AIC_SPINOR_DRV_TEST'):
|
|
src += Glob('spinor.c')
|
|
if GetDepend('AIC_EXAMPLE'):
|
|
src += Glob('spinor_example.c')
|
|
|
|
group = DefineGroup('test-spinor', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|