xref: /openbmc/u-boot/test/dm/Makefile (revision 53ab4af3)
1#
2# Copyright (c) 2013 Google, Inc
3#
4# SPDX-License-Identifier:	GPL-2.0+
5#
6
7obj-$(CONFIG_CMD_DM) += cmd_dm.o
8obj-$(CONFIG_DM_TEST) += bus.o
9obj-$(CONFIG_DM_TEST) += test-driver.o
10obj-$(CONFIG_DM_TEST) += test-fdt.o
11obj-$(CONFIG_DM_TEST) += test-main.o
12obj-$(CONFIG_DM_TEST) += test-uclass.o
13obj-$(CONFIG_DM_TEST) += ut.o
14
15# Tests for particular subsystems - when enabling driver model for a new
16# subsystem you must add sandbox tests here.
17obj-$(CONFIG_DM_TEST) += core.o
18obj-$(CONFIG_DM_TEST) += ut.o
19ifneq ($(CONFIG_SANDBOX),)
20obj-$(CONFIG_DM_ETH) += eth.o
21obj-$(CONFIG_DM_GPIO) += gpio.o
22obj-$(CONFIG_DM_I2C) += i2c.o
23obj-$(CONFIG_DM_PCI) += pci.o
24obj-$(CONFIG_DM_SPI_FLASH) += sf.o
25obj-$(CONFIG_DM_SPI) += spi.o
26obj-$(CONFIG_DM_USB) += usb.o
27endif
28