Commit 14986aad authored by Erich Keane's avatar Erich Keane

Enable compiler coloring in build terminal

This patch forces Scons to inherit all environment terminal
settings, including the support for color.  This allows
warnings/errors to show up in color during the build.

Change-Id: Ibd27cdecef71205d03b0a04043aac0e9763a14d0
Signed-off-by: default avatarErich Keane <erich.keane@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1053Tested-by: default avatarjenkins-iotivity <jenkins-iotivity@opendaylight.org>
parent 5e7cc214
...@@ -22,13 +22,18 @@ ...@@ -22,13 +22,18 @@
# The main build script # The main build script
# #
## ##
import os
# Load common build config # Load common build config
SConscript('build_common/SConscript') SConscript('build_common/SConscript')
Import('env')
if os.environ.get('TERM') != None:
env['ENV']['TERM'] = os.environ['TERM']
# Load extra options # Load extra options
SConscript('extra_options.scons') SConscript('extra_options.scons')
Import('env')
target_os = env.get('TARGET_OS') target_os = env.get('TARGET_OS')
if target_os == 'arduino': if target_os == 'arduino':
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment