summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChe-yu Wu <cheyuw@google.com>2017-09-05 15:27:17 +0800
committerchrome-bot <chrome-bot@chromium.org>2017-09-05 08:21:27 -0700
commit653a18ffc412403963f6bc4b705c256062bf2f72 (patch)
tree94a2aa107423fb46c55f287f8893421986b7284d /Makefile
parentebe3caeb69aeaa9144701415decc3e6647df01cd (diff)
downloadchrome-ec-653a18ffc412403963f6bc4b705c256062bf2f72.tar.gz
ec: Fix missing Makefile dependencies.
Add the extra dependencies to "deps-y" and include it in "deps". BUG=chromium:761922 BRANCH=none TEST=Add "$(info $(deps))" before "-include $(deps)" in Makefile.rules make BOARD=eve utils | grep "build/eve/util/usb_pd_policy.o.d" There is "build/eve/util/usb_pd_policy.o.d" Change-Id: I77670a8e90a1a913943fcba143402318aaf7d274 Signed-off-by: Che-yu Wu <cheyuw@google.com> Reviewed-on: https://chromium-review.googlesource.com/649455 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index eb089dd566..92fd15a12f 100644
--- a/Makefile
+++ b/Makefile
@@ -222,7 +222,7 @@ ro-objs := $(filter-out %_sharedlib.o, $(ro-objs))
endif
ro-deps := $(ro-objs:%.o=%.o.d)
rw-deps := $(rw-objs:%.o=%.o.d)
-deps := $(ro-deps) $(rw-deps)
+deps := $(ro-deps) $(rw-deps) $(deps-y)
.PHONY: ro rw
$(config): $(out)/$(PROJECT).bin