From: Heinrich Schuchardt Date: Thu, 7 Sep 2023 16:43:17 +0000 (+0200) Subject: test: build dependency for event unit tests X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=fdd6a7733fd9e7d27f51a00c26fc1ad168d11a43;p=u-boot.git 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 Reviewed-by: Simon Glass --- diff --git a/test/common/Makefile b/test/common/Makefile index a5ab10f6f6..12c65f8c95 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