scons: Fix r600g build.

This commit is contained in:
Vinson Lee
2010-08-14 12:18:51 -07:00
parent 77458b565a
commit db0e24e34a
2 changed files with 26 additions and 1 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ env.Append(CPPDEFINES = ['GALLIUM_RBUG', 'GALLIUM_TRACE'])
env.Prepend(LIBS = [
st_dri,
r600drm,
r600winsys,
r600,
trace,
rbug,
+25
View File
@@ -0,0 +1,25 @@
Import('*')
env = env.Clone()
r600_sources = [
'bof.c',
'r600_state.c',
'radeon_ctx.c',
'radeon_draw.c',
'radeon_state.c',
'radeon_bo.c',
'radeon_pciid.c',
'radeon.c',
'r600_drm.c'
]
env.ParseConfig('pkg-config --cflags libdrm_radeon')
env.Append(CPPPATH = '#/src/gallium/drivers/r600')
r600winsys = env.ConvenienceLibrary(
target ='r600winsys',
source = r600_sources,
)
Export('r600winsys')