blob: d6348b17720942910674f345640123699b35d847 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
from building import *
cwd = GetCurrentDir()
src = []
CPPPATH = [cwd + '/../include']
if GetDepend(['RT_HWCRYPTO_SPACEMIT']):
src += ['hw-crypto-spacemit.c']
if GetDepend(['RT_HWCRYPTO_RNG_SPACEMIT']):
src += ['hw-rng-spacemit.c']
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')
|