r300g: Fix SCons build.
authorMichel Dänzer <daenzer@vmware.com>
Mon, 20 Jul 2009 00:06:37 +0000 (02:06 +0200)
committerMichel Dänzer <michel@daenzer.net>
Mon, 20 Jul 2009 00:06:37 +0000 (02:06 +0200)
src/gallium/winsys/drm/radeon/SConscript
src/gallium/winsys/drm/radeon/core/SConscript
src/gallium/winsys/drm/radeon/dri/SConscript

index 8f99055b2f70eceee069b966c7d8a4c876efbe7c..b2dfd504d4239a46699bba61a2cf6d66721edc8b 100644 (file)
@@ -4,4 +4,4 @@ SConscript(['core/SConscript',])
 
 if 'mesa' in env['statetrackers']:
 
-    SConscript(['dri2/SConscript'])
+    SConscript(['dri/SConscript'])
index 578174e32bac81169197efd8ecd8e684ee928e58..2ad68e403fe359d55c9c5a9a3556c20d3dad1e39 100644 (file)
@@ -11,7 +11,9 @@ radeon_sources = [
 
 env.Append(CPPPATH = '#/src/gallium/drivers/r300')
 
-env.ConvenienceLibrary(
+radeonwinsys = env.ConvenienceLibrary(
     target ='radeonwinsys',
     source = radeon_sources,
 )
+
+Export('radeonwinsys')
index f2cdee97d9207ed5aa995ef4a4f67f8d81206824..aea987a3acaf4310d5ac9078bdffd167a686253c 100644 (file)
@@ -2,7 +2,10 @@ Import('*')
 
 env = drienv.Clone()
 
+env.ParseConfig('pkg-config --cflags --libs libdrm_radeon')
+
 drivers = [
+    trace,
     softpipe,
     r300
 ]
@@ -10,5 +13,5 @@ drivers = [
 env.SharedLibrary(
     target ='radeon_dri.so',
     source = COMMON_GALLIUM_SOURCES,
-    LIBS = drivers + mesa + auxiliaries + env['LIBS'],
+    LIBS = st_dri + radeonwinsys + mesa + drivers + auxiliaries + env['LIBS'],
 )