summaryrefslogtreecommitdiff
path: root/components/drivers/input/joystick/SConscript
blob: 288a9c5dfe5b71a725b706a967359f93d7b70677 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from building import *

group = []

if not GetDepend(['RT_INPUT_JOYSTICK']):
    Return('group')

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

src = []

if GetDepend(['RT_INPUT_JOYSTICK_ADC']):
    src += ['js-adc.c']

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

Return('group')