summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2015-08-21 14:06:34 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-08-22 01:38:00 +0000
commited0192a9b1c7f4d45f646df9dd463ce7879459f6 (patch)
treee6109ab065396ba55077152e6a7d6ea6ed49d56b /Makefile
parentf59ab4c5f3381d6ed838168dd03e1c93e189129d (diff)
downloadchrome-ec-ed0192a9b1c7f4d45f646df9dd463ce7879459f6.tar.gz
Cleanup: Remove cruft in Makefile from long ago
This removes a bit of Makefile magic left over from commit 950d507 (April 2013), when we began mocking individual functions instead of files. It hasn't be used or useful since then. BUG=none BRANCH=none TEST=buildall Change-Id: Iacbef05cb07936f873f29948715e742e1ff465fc Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/295175 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9385bacf20..753159cc67 100644
--- a/Makefile
+++ b/Makefile
@@ -134,8 +134,7 @@ include util/lock/build.mk
includes+=$(includes-y)
-ro-objs_from_dir=$(sort $(foreach obj, $($(2)-y), \
- $(out)/RO/$(1)/$(firstword $($(2)-mock-$(PROJECT)-$(obj)) $(obj))))
+ro-objs_from_dir=$(sort $(foreach obj, $($(2)-y), $(out)/RO/$(1)/$(obj)))
# Get all sources to build
all-ro-y=$(call ro-objs_from_dir,core/$(CORE),core)