aboutsummaryrefslogtreecommitdiff
path: root/test/common
diff options
context:
space:
mode:
authorHeinrich Schuchardt2023-09-07 18:43:17 +0200
committerTom Rini2023-09-30 15:15:31 -0400
commit4c181754135a055962848cf364fd98a89c113cc7 (patch)
tree9b098d086a810b6d5c497abc6d232a692c424242 /test/common
parent06e00f5d3595988ba81f143d24fd43a29349efde (diff)
test: build dependency for event unit tests
The test_event_base and test_event_probe unit tests use function event_register() which depends on CONFIG_EVENT_DYNAMIC=y. Fixes: 7d02645fe4c0 ("event: Add a simple test") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/common')
-rw-r--r--test/common/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/common/Makefile b/test/common/Makefile
index a5ab10f6f69..12c65f8c951 100644
--- a/test/common/Makefile
+++ b/test/common/Makefile
@@ -2,5 +2,5 @@
obj-y += cmd_ut_common.o
obj-$(CONFIG_AUTOBOOT) += test_autoboot.o
obj-$(CONFIG_CYCLIC) += cyclic.o
-obj-$(CONFIG_EVENT) += event.o
+obj-$(CONFIG_EVENT_DYNAMIC) += event.o
obj-y += cread.o