summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/radeon/drm/SConscript
blob: 39a8c711b84bc11450b9995714839d336c714854 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Import('*')

env = env.Clone()

radeon_sources = [
    'radeon_drm_bo.c',
    'radeon_drm_cs.c',
    'radeon_drm_winsys.c',
]

try:
    env.ParseConfig('pkg-config --cflags libdrm')
except:
    print 'warning: not building Gallium Radeon'
    Return()

radeonwinsys = env.ConvenienceLibrary(
    target ='radeonwinsys',
    source = radeon_sources,
)

Export('radeonwinsys')