xref: /openbmc/u-boot/test/dm/Makefile (revision 8379c799)
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_UT_DM) += bus.o
9obj-$(CONFIG_UT_DM) += test-driver.o
10obj-$(CONFIG_UT_DM) += test-fdt.o
11obj-$(CONFIG_UT_DM) += test-main.o
12obj-$(CONFIG_UT_DM) += test-uclass.o
13
14# Tests for particular subsystems - when enabling driver model for a new
15# subsystem you must add sandbox tests here.
16obj-$(CONFIG_UT_DM) += core.o
17ifneq ($(CONFIG_SANDBOX),)
18obj-$(CONFIG_DM_ETH) += eth.o
19obj-$(CONFIG_DM_GPIO) += gpio.o
20obj-$(CONFIG_DM_I2C) += i2c.o
21obj-$(CONFIG_DM_PCI) += pci.o
22obj-$(CONFIG_DM_RTC) += rtc.o
23obj-$(CONFIG_DM_SPI_FLASH) += sf.o
24obj-$(CONFIG_DM_SPI) += spi.o
25obj-$(CONFIG_DM_USB) += usb.o
26obj-$(CONFIG_DM_PMIC) += pmic.o
27obj-$(CONFIG_DM_REGULATOR) += regulator.o
28endif
29