summaryrefslogtreecommitdiff
path: root/bsp/raspberry-pi/dm/hwcrypto/SConscript
blob: 9cf5e7f8a75e2cac7e261690c27c92d6b7d6f09b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from building import *

group = []
src = []
cwd = GetCurrentDir()
CPPPATH = [cwd + '/../include']

if GetDepend(['RT_HWCRYPTO_RNG_BCM2835']):
    src += ['hw-rng-bcm2835.c']

if GetDepend(['RT_HWCRYPTO_RNG_IPROC_RNG200']):
    src += ['hw-rng-iproc-rng200.c']

group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)

Return('group')