summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlan Hourihane <[email protected]>2010-01-26 20:58:11 +0000
committerAlan Hourihane <[email protected]>2010-01-26 20:59:12 +0000
commitdea98eb792b5a0637ff2067d9bfe2f666f01423e (patch)
tree106e14d1f97c1fd6d634a2eb962f14565dd2c041 /src
parent46f453b29890afebb49daa04e0dbeadc45e662c2 (diff)
support an 'embedded' platform target which turns off most parts of the
build.
Diffstat (limited to 'src')
-rw-r--r--src/SConscript5
-rw-r--r--src/gallium/SConscript7
2 files changed, 7 insertions, 5 deletions
diff --git a/src/SConscript b/src/SConscript
index 6083fcbec98..cd4896ada40 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -8,5 +8,6 @@ if 'mesa' in env['statetrackers']:
SConscript('gallium/winsys/SConscript')
-SConscript('glut/glx/SConscript')
-SConscript('glew/SConscript')
+if platform != 'embedded':
+ SConscript('glut/glx/SConscript')
+ SConscript('glew/SConscript')
diff --git a/src/gallium/SConscript b/src/gallium/SConscript
index eea32b1314b..d56c5c84617 100644
--- a/src/gallium/SConscript
+++ b/src/gallium/SConscript
@@ -8,9 +8,10 @@ for driver in env['drivers']:
SConscript(os.path.join('drivers', driver, 'SConscript'))
SConscript('state_trackers/python/SConscript')
-SConscript('state_trackers/glx/xlib/SConscript')
-SConscript('state_trackers/dri/SConscript')
-SConscript('state_trackers/xorg/SConscript')
+if platform != 'embedded':
+ SConscript('state_trackers/glx/xlib/SConscript')
+ SConscript('state_trackers/dri/SConscript')
+ SConscript('state_trackers/xorg/SConscript')
if platform == 'windows':
SConscript('state_trackers/wgl/SConscript')