mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-16 11:28:54 +00:00
28 lines
636 B
Python
28 lines
636 B
Python
Import('AIC_ROOT')
|
|
Import('PRJ_KERNEL')
|
|
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
src = []
|
|
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')
|
|
|
|
if GetDepend('AIC_I2S_CODEC_TLV320'):
|
|
CPPPATH.append(cwd + 'tlv320aic3101/')
|
|
src += Glob('tlv320aic3101/*.c')
|
|
|
|
if GetDepend('AIC_I2S_CODEC_CS4344'):
|
|
CPPPATH.append(cwd + 'cs4344/')
|
|
src += Glob('cs4344/*.c')
|
|
|
|
group = DefineGroup('codec', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|