diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2021-11-02 19:44:29 +0100 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-11-13 08:16:52 -0700 |
commit | ace5bb3eca73ae54a28f67cde97bcd9a089cbb06 (patch) | |
tree | f487e068339c4962eba4d9f001cf436463afabc1 /test | |
parent | ebee206ad987773cb3b0d649ec0ce97fa1d104ca (diff) | |
download | u-boot-ace5bb3eca73ae54a28f67cde97bcd9a089cbb06.zip u-boot-ace5bb3eca73ae54a28f67cde97bcd9a089cbb06.tar.gz u-boot-ace5bb3eca73ae54a28f67cde97bcd9a089cbb06.tar.bz2 |
test/dm: fix watchdog test
For successful execution of the watchdog test we need both the GPIO as well
as the SANDBOX watchdog.
Avoid a build failure for CONFIG_WDT_GPIO=n.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/dm/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/dm/Makefile b/test/dm/Makefile index 7de013f..548649f 100644 --- a/test/dm/Makefile +++ b/test/dm/Makefile @@ -106,6 +106,8 @@ obj-$(CONFIG_TIMER) += timer.o obj-$(CONFIG_DM_USB) += usb.o obj-$(CONFIG_DM_VIDEO) += video.o obj-$(CONFIG_VIRTIO_SANDBOX) += virtio.o -obj-$(CONFIG_WDT) += wdt.o +ifeq ($(CONFIG_WDT_GPIO)$(CONFIG_WDT_SANDBOX),yy) +obj-y += wdt.o +endif endif endif # !SPL |