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

env = env.Clone()

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

try:
    env.ParseConfig('pkg-config --cflags libdrm_radeon')
except:
    print 'warning: not building r300g'
    Return()

env.Append(CPPPATH = '#/src/gallium/drivers/r300')

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

Export('radeonwinsys')