]> git.sur5r.net Git - u-boot/blobdiff - test/dm/Makefile
dm: spi: Add tests
[u-boot] / test / dm / Makefile
index 4e9afe6c9cec17b4cbc6bc075d59e414e33812b9..d1b9c9a48b9e11ca5f7f46ecc6a168206d1166f3 100644 (file)
@@ -5,6 +5,7 @@
 #
 
 obj-$(CONFIG_CMD_DM) += cmd_dm.o
+obj-$(CONFIG_DM_TEST) += bus.o
 obj-$(CONFIG_DM_TEST) += test-driver.o
 obj-$(CONFIG_DM_TEST) += test-fdt.o
 obj-$(CONFIG_DM_TEST) += test-main.o
@@ -15,4 +16,7 @@ obj-$(CONFIG_DM_TEST) += ut.o
 # subsystem you must add sandbox tests here.
 obj-$(CONFIG_DM_TEST) += core.o
 obj-$(CONFIG_DM_TEST) += ut.o
+ifneq ($(CONFIG_SANDBOX),)
 obj-$(CONFIG_DM_GPIO) += gpio.o
+obj-$(CONFIG_DM_SPI) += spi.o
+endif