]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
test: build dependency for event unit tests
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 7 Sep 2023 16:43:17 +0000 (18:43 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 16 Sep 2023 16:17:25 +0000 (18:17 +0200)
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>
test/common/Makefile

index a5ab10f6f69b0af5adfd6f1de3d55f09aedd5bc9..12c65f8c9514004400b6c2130454da31b5d1b74e 100644 (file)
@@ -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