summaryrefslogtreecommitdiff
path: root/Makefile.toolchain
diff options
context:
space:
mode:
authorWei-Cheng Xiao <garryxiao@chromium.org>2018-11-12 11:41:56 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-11-16 15:10:56 -0800
commit65a3697907899c90780fe8419e69b4dba54797ac (patch)
treefdd718c3bd1094c40366342de70cdc90b78598f9 /Makefile.toolchain
parentaf01b2ff59077aac3a7107c6137820d83b7f690a (diff)
downloadchrome-ec-65a3697907899c90780fe8419e69b4dba54797ac.tar.gz
gsctool: explicitly set buffering type to line buffered
This CL allows gsctool outputs to be instantly piped and shown in crosh when crosh executes cr50-verify-ro.sh, which calls gsctool, indirectly via debugd. Program stdout buffering type by default changes from line buffered to block buffered if the output is redirected to a file or pipe. Since we are going to call gsctool from inside debugd (CL:1337190) and want to pipe the output instantly to the dbus request sender, the buffering type of gsctool needs to be explicitly set. BRANCH=none BUG=b:113893821 TEST=in crosh run verify_ro, which indirectly runs gsctool via debugd, and verify that output is instantly piped and shown in crosh. (see CL:1337190 for detailed output) Signed-off-by: Wei-Cheng Xiao <garryxiao@chromium.org> Change-Id: I515854a29e5e2ede0acc8c2d9e2c4df367a5062e Reviewed-on: https://chromium-review.googlesource.com/1337250 Reviewed-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-by: Louis Collard <louiscollard@chromium.org>
Diffstat (limited to 'Makefile.toolchain')
0 files changed, 0 insertions, 0 deletions