summaryrefslogtreecommitdiff
path: root/drivers/platform/chrome/Makefile
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@kernel.org>2023-10-03 08:05:15 +0000
committerTzung-Bi Shih <tzungbi@kernel.org>2023-10-05 18:11:36 +0800
commit466f70fb1b10fd139582646285e587fb38a9ff2c (patch)
tree276da10e92e7cda6c194f041af85d2749dab6fa2 /drivers/platform/chrome/Makefile
parente410b4ade83d06a046f6e32b5085997502ba0559 (diff)
platform/chrome: kunit: make EC protocol tests independent
Remove CONFIG_CROS_KUNIT and common code concept for ChromeOS Kunit but make it bundle to ChromeOS EC protocol tests. Reviewed-by: Guenter Roeck <groeck@chromium.org> Link: https://lore.kernel.org/r/20231003080515.4011374-1-tzungbi@kernel.org Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Diffstat (limited to 'drivers/platform/chrome/Makefile')
-rw-r--r--drivers/platform/chrome/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/platform/chrome/Makefile b/drivers/platform/chrome/Makefile
index 9e26e45c4a37..2dcc6ccc2302 100644
--- a/drivers/platform/chrome/Makefile
+++ b/drivers/platform/chrome/Makefile
@@ -36,6 +36,5 @@ obj-$(CONFIG_CROS_USBPD_NOTIFY) += cros_usbpd_notify.o
obj-$(CONFIG_WILCO_EC) += wilco_ec/
# Kunit test cases
-obj-$(CONFIG_CROS_KUNIT) += cros_kunit.o
-cros_kunit-objs := cros_kunit_util.o
-cros_kunit-objs += cros_ec_proto_test.o
+obj-$(CONFIG_CROS_KUNIT_EC_PROTO_TEST) += cros_kunit_proto_test.o
+cros_kunit_proto_test-objs := cros_ec_proto_test_util.o cros_ec_proto_test.o