blob: 4ddb0919f6a134c5268bbf65f097345f3abd6014 (
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
|
Import('*')
env = env.Clone()
radeon_sources = [
'radeon_drm_buffer.c',
'radeon_drm_cs.c',
'radeon_drm_common.c',
'radeon_r300.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')
|