summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/SConscript
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2011-08-22 11:30:27 +0800
committerChia-I Wu <[email protected]>2011-08-27 17:28:31 +0800
commit11a56c430b84e97a10016045a2a0eeb126df88de (patch)
tree61c1b649af50bb4b305293c393e0b103a3bd1623 /src/gallium/drivers/nouveau/SConscript
parent1025f11327cc5fb91a2dbd286ee0d7c00daaa8b3 (diff)
nouveau: share the source lists
For each driver, factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it.
Diffstat (limited to 'src/gallium/drivers/nouveau/SConscript')
-rw-r--r--src/gallium/drivers/nouveau/SConscript5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/nouveau/SConscript b/src/gallium/drivers/nouveau/SConscript
index fe7af4d2ae8..8cbed556e22 100644
--- a/src/gallium/drivers/nouveau/SConscript
+++ b/src/gallium/drivers/nouveau/SConscript
@@ -4,8 +4,7 @@ env = env.Clone()
nouveau = env.ConvenienceLibrary(
target = 'nouveau',
- source = [
- 'nouveau_screen.c',
- ])
+ source = env.ParserSourceList('Makefile.sources', 'C_SOURCES')
+ )
Export('nouveau')