summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorSam Hurst <shurst@google.com>2017-05-09 08:38:04 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-05-09 14:58:30 -0700
commitb5fcb6a82231aa560fd8644828f3c927918e581b (patch)
treefad8dbe938d6e3f9e7a12a25e0a5c8353701260b /Makefile.rules
parentbab7c0dc8812bff760c454a0b2166dfcb3591800 (diff)
downloadchrome-ec-b5fcb6a82231aa560fd8644828f3c927918e581b.tar.gz
pd: Make build of VIF utility less verbose
BUG=none BRANCH=none TEST=make -j buildall Change-Id: I37be7abde31d20e0f4227db97e6751c2998f418b Reviewed-on: https://chromium-review.googlesource.com/499871 Commit-Ready: Sam Hurst <shurst@google.com> Tested-by: Sam Hurst <shurst@google.com> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 5ab474ab78..d8ec80736b 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -77,6 +77,8 @@ cmd_c_to_build = $(BUILDCC) $(BUILD_CFLAGS) \
$(sort $(foreach c,$($(*F)-objs),util/$(c:%.o=%.c)) $*.c) \
$(BUILD_LDFLAGS) \
-MMD -MF $@.d -o $@
+cmd_c_to_vif = $(BUILDCC) $(BUILD_CFLAGS) $(STANDALONE_FLAGS) \
+ -MMD -MF $@.d -c $< -flto -o $@
cmd_c_to_host = $(HOSTCC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -MMD -MF $@.d -o $@ \
$(sort $(foreach c,$($(*F)-objs),util/$(c:%.o=%.c)) $*.c)
cmd_cxx_to_host = $(HOSTCXX) -std=c++0x $(COMMON_WARN) $(HOST_CXXFLAGS)\