diff options
author | Che-yu Wu <cheyuw@google.com> | 2017-09-06 10:27:56 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-09-06 07:12:45 -0700 |
commit | 03fb836a4449753a73804b873e29ce21a8492645 (patch) | |
tree | 6c4307ab27e32480d09562aa89ffbdc4a9c92116 /util/build.mk | |
parent | 8e6d0fb64ab5f78557b2725dbc399603ec579631 (diff) | |
download | chrome-ec-03fb836a4449753a73804b873e29ce21a8492645.tar.gz |
util/build.mk: Fix makefile dependencies of export_taskinfo
export_taskinfo is a utility used by the stack analyzer.
This patch makes sure it will be recompiled when the EC code changed.
BUG=none
BRANCH=none
TEST=make BOARD=eve -j && make BOARD=eve analyzestack
Add a fake task in board/eve/ec.tasklist
make BOARD=eve -j && make BOARD=eve analyzestack
The fake task shows in the report
Change-Id: I57c2700610680975571d254e0059571556f184fe
Signed-off-by: Che-yu Wu <cheyuw@google.com>
Reviewed-on: https://chromium-review.googlesource.com/651449
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'util/build.mk')
-rw-r--r-- | util/build.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/build.mk b/util/build.mk index 219de21aa3..2ae0e1c25f 100644 --- a/util/build.mk +++ b/util/build.mk @@ -48,3 +48,5 @@ $(out)/util/export_taskinfo_ro.o: util/export_taskinfo.c $(out)/util/export_taskinfo_rw.o: util/export_taskinfo.c $(call quiet,c_to_taskinfo,BUILDCC,RW) + +deps-y += $(out)/util/export_taskinfo_ro.o.d $(out)/util/export_taskinfo_rw.o.d |