diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2020-01-03 15:04:15 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-01-07 00:17:09 +0000 |
commit | 943645d993c88754b2db1e86734210256c505e07 (patch) | |
tree | 45ddf3e6cb66d1943b0e4eeb6cade057247f24c5 /Makefile.rules | |
parent | c4e8fffe2024108ed4373f910a5b68291aa3802e (diff) | |
download | chrome-ec-943645d993c88754b2db1e86734210256c505e07.tar.gz |
drop unnecessary boards, chips and cts tests
The only board which would be built from this branch is Cr50. bds,
fizz and host boards are necessary for proper make infrastructure
operation and tests.
lm4 and npcx are chips used by the bds and fizz boards, so they are
also kept around.
BRANCH=cr50, cr50-mp
BUG=b:145912698
TEST='make buildall -j' succeeds
Change-Id: I937b2b8642c1fe91578fc9615438ae22c165b20f
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1986942
Reviewed-by: Namyoon Woo <namyoon@chromium.org>
Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-by: Andrey Pronin <apronin@chromium.org>
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 42 |
1 files changed, 1 insertions, 41 deletions
diff --git a/Makefile.rules b/Makefile.rules index 54917f5b60..89bd0e6285 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -179,8 +179,7 @@ build_boards: | $(FAILED_BOARDS_DIR) $(MAKE) try_build_boards .PHONY: buildall -buildall: build_boards build_cros_ec_commands - $(MAKE) build_cts +buildall: build_boards $(MAKE) buildfuzztests $(MAKE) runtests @touch .tests-passed @@ -325,39 +324,6 @@ runhosttests: $(run-test-targets) runfuzztests: $(run-fuzz-test-targets) runtests: runhosttests runfuzztests -# Automatically enumerate all suites. -cts_excludes := common -cts_suites := $(filter-out $(cts_excludes), \ - $(shell find cts -maxdepth 1 -mindepth 1 -type d -printf "%f ")) - -# Add boards below as CTS is expanded. -cts_boards := stm32l476g-eval nucleo-f072rb - -.PHONY: build_cts - -# Create CTS rule automatically for given suite and board -# $1: suite name -# $2: board name -define make-cts = -build_cts: cts-$(1)-$(2) -cts-$(1)-$(2): | $(FAILED_BOARDS_DIR) - @touch $(FAILED_BOARDS_DIR)/cts-$(2)-$(1) - $$(MAKE) CTS_MODULE=$(1) BOARD=$(2) - @rm -f $(FAILED_BOARDS_DIR)/cts-$(2)-$(1) -# Do not remove this blank line - -endef - -# Create rules for all cts-suite-board combinations. Additionally, we serialize -# targets per board: cts-x-board -> cts-y-board -> ... -# If we don't serialize targets, parallel make fails because all suites -# try to produce ec.bin in the same directory (e.g. build/stm32l476g-eval). -$(foreach b, $(cts_boards), \ - $(foreach s, $(cts_suites), \ - $(eval $(call make-cts,$(s),$(b))) \ - ) \ -) - cov-test-targets=$(foreach t,$(test-list-host),build/host/$(t).info) bldversion=$(shell (./util/getversion.sh ; echo VERSION) | $(CPP) -P -) @@ -794,12 +760,6 @@ stats: build_boards $(call cmd_stats,RO) $(call cmd_stats,RW) -.PHONY: build_cros_ec_commands -build_cros_ec_commands: build/kernel/include/linux/mfd/cros_ec_commands.h - -build/kernel/include/linux/mfd/cros_ec_commands.h: include/ec_commands.h - util/make_linux_ec_commands_h.sh $< $@ - .SECONDARY: -include $(deps) |