xref: /openbmc/u-boot/test/dm/Makefile (revision 679f82c3)
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_CLK) += clk.o
19obj-$(CONFIG_DM_ETH) += eth.o
20obj-$(CONFIG_DM_GPIO) += gpio.o
21obj-$(CONFIG_DM_I2C) += i2c.o
22obj-$(CONFIG_LED) += led.o
23obj-$(CONFIG_DM_MMC) += mmc.o
24obj-$(CONFIG_DM_PCI) += pci.o
25obj-$(CONFIG_RAM) += ram.o
26obj-y += regmap.o
27obj-$(CONFIG_RESET) += reset.o
28obj-$(CONFIG_DM_RTC) += rtc.o
29obj-$(CONFIG_DM_SPI_FLASH) += sf.o
30obj-$(CONFIG_DM_SPI) += spi.o
31obj-y += syscon.o
32obj-$(CONFIG_DM_USB) += usb.o
33obj-$(CONFIG_DM_PMIC) += pmic.o
34obj-$(CONFIG_DM_REGULATOR) += regulator.o
35endif
36