mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 10:28:54 +00:00
21 lines
410 B
Python
21 lines
410 B
Python
Import('AIC_ROOT')
|
|
Import('PRJ_KERNEL')
|
|
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
src = Glob('*.c')
|
|
CPPPATH = []
|
|
|
|
if GetDepend('AIC_USING_CAMERA'):
|
|
CPPPATH.append(cwd)
|
|
|
|
if GetDepend('AIC_USING_CAMERA_OV5640'):
|
|
src += Glob('ov5640/*.c')
|
|
|
|
LOCAL_CCFLAGS = ''
|
|
# LOCAL_CCFLAGS += ' -O0'
|
|
|
|
group = DefineGroup('ov5640', src, depend = [''], CPPPATH = CPPPATH, LOCAL_CCFLAGS=LOCAL_CCFLAGS)
|
|
|
|
Return('group')
|