summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules42
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)