blob: 204867b44ccdfbc606cf1adbcb8a55ce2b2ce01f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
from building import *
group = []
if not GetDepend(['RT_GRAPHIC_BACKLIGHT']):
Return('group')
cwd = GetCurrentDir()
CPPPATH = [cwd + '/../../include']
src = ['backlight.c']
if GetDepend(['RT_GRAPHIC_BACKLIGHT_GPIO']):
src += ['backlight-gpio.c']
if GetDepend(['RT_GRAPHIC_BACKLIGHT_PWM']):
src += ['backlight-pwm.c']
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')
|