Files
luban-lite/bsp/examples_bare/test-spinor/SConscript
刘可亮 3e10f578d3 v1.2.2
2025-10-21 13:59:50 +08:00

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')