Files

22 lines
601 B
Python
Raw Permalink Normal View History

2023-08-30 16:21:18 +08:00
Import('AIC_ROOT')
Import('PRJ_KERNEL')
from building import *
cwd = GetCurrentDir()
CPPPATH = []
2025-07-22 11:15:46 +08:00
2023-08-30 16:21:18 +08:00
src = []
if GetDepend('KERNEL_BAREMETAL') and GetDepend('AIC_SPINAND_DRV_TEST'):
src += Glob('spinand.c')
2025-01-08 19:12:06 +08:00
src += Glob('spinand_benchmark.c')
2025-07-22 11:15:46 +08:00
src += Glob('spinand_bbt_cmd.c')
2023-08-30 16:21:18 +08:00
2025-10-21 13:59:50 +08:00
if GetDepend('KERNEL_BAREMETAL') and GetDepend('AIC_EXAMPLE') and GetDepend('AIC_SPINAND_DRV_TEST'):
src += Glob('spinand_nftl_example.c')
src += Glob('spinand_bbt_example.c')
src += Glob('spinand_example.c')
2023-08-30 16:21:18 +08:00
group = DefineGroup('test-spinand', src, depend = [''], CPPPATH = CPPPATH)
Return('group')