fix bl808-d0 && cv1800b compile error (#8513)

This commit is contained in:
flyingcys
2024-01-28 16:05:52 +08:00
committed by GitHub
parent 3f41bd95d1
commit 06d3f29035
60 changed files with 2628 additions and 82 deletions
+16
View File
@@ -0,0 +1,16 @@
from building import *
cwd = GetCurrentDir()
src = Glob('*.c') + Glob('*.cpp') + Glob('*.S')
CPPDEFINES = []
CPPPATH = [cwd]
if GetDepend('BSP_USING_CV1800B'):
CPPPATH += [cwd + r'/cv1800b']
CPPDEFINES += ['-DCONFIG_64BIT']
group = DefineGroup('drivers', src, depend = [''], CPPDEFINES = CPPDEFINES, CPPPATH = CPPPATH)
Return('group')