mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 02:18:54 +00:00
20 lines
394 B
Python
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')
|