Files
luban-lite-t3e-pro/bsp/peripheral/codec/SConscript

20 lines
394 B
Python
Raw Normal View History

2023-08-30 16:21:18 +08:00
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')