summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/r600/drm/SConscript
blob: cc9a06a239341d4ffb889298aa6d7c369155e5ea (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
25
26
27
28
29
Import('*')

env = env.Clone()

r600_sources = [
    'bof.c',
    'evergreen_hw_context.c',
    'radeon_bo.c',
    'radeon_pciid.c',
    'r600_bo.c',
    'r600_drm.c',
    'r600_hw_context.c',
    'r600_bomgr.c',
]

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

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

r600winsys = env.ConvenienceLibrary(
    target ='r600winsys',
    source = r600_sources,
)

Export('r600winsys')