Files
luban-lite-t3e-pro/bsp/peripheral/codec/SConscript
刘可亮 7bbc029dae v1.0.0
2023-08-30 16:21:18 +08:00

20 lines
394 B
Python

Import('AIC_ROOT')
Import('PRJ_KERNEL')
from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = []
if GetDepend('AIC_I2S_CODEC_SELECT'):
CPPPATH.append(cwd)
src += Glob('*.c')
if GetDepend('AIC_I2S_CODEC_ES8388'):
CPPPATH.append(cwd + 'es8388/')
src += Glob('es8388/*.c')
group = DefineGroup('codec', src, depend = [''], CPPPATH = CPPPATH)
Return('group')