From: José Fonseca Date: Wed, 10 Feb 2010 20:23:10 +0000 (+0000) Subject: scons: Only build progs when explicitly requested in the command line. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f6a16dfa9714c33a16cae3826dec7806be6c21cd;p=mesa.git scons: Only build progs when explicitly requested in the command line. --- diff --git a/SConstruct b/SConstruct index 2e00ec47bd1..964af7e5918 100644 --- a/SConstruct +++ b/SConstruct @@ -225,8 +225,9 @@ SConscript( duplicate = 0 # http://www.scons.org/doc/0.97/HTML/scons-user/x2261.html ) -SConscript( - 'progs/SConscript', - variant_dir = os.path.join('progs', env['build']), - duplicate = 0 # http://www.scons.org/doc/0.97/HTML/scons-user/x2261.html -) +if 'progs' in COMMAND_LINE_TARGETS: + SConscript( + 'progs/SConscript', + variant_dir = os.path.join('progs', env['build']), + duplicate = 0 # http://www.scons.org/doc/0.97/HTML/scons-user/x2261.html + )