blob: d28a22f01849cee0cd52c0d9345263cb18bfff39 [file] [log] [blame]
Simon Glassb2c1cac2014-02-26 15:59:21 -07001#
2# Copyright (c) 2013 Google, Inc
3#
4# SPDX-License-Identifier: GPL-2.0+
5#
6
Simon Glassc267cf72014-02-26 15:59:22 -07007obj-$(CONFIG_CMD_DM) += cmd_dm.o
Joe Hershberger9dc1d712015-05-20 14:27:29 -05008obj-$(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
Simon Glassb2c1cac2014-02-26 15:59:21 -070013
14# Tests for particular subsystems - when enabling driver model for a new
15# subsystem you must add sandbox tests here.
Joe Hershberger9dc1d712015-05-20 14:27:29 -050016obj-$(CONFIG_UT_DM) += core.o
Simon Glass17e9c782014-06-11 23:29:50 -060017ifneq ($(CONFIG_SANDBOX),)
Simon Glass8cc4d822015-07-06 12:54:24 -060018obj-$(CONFIG_CLK) += clk.o
Joe Hershberger4c197242015-03-22 17:09:15 -050019obj-$(CONFIG_DM_ETH) += eth.o
Simon Glassb2c1cac2014-02-26 15:59:21 -070020obj-$(CONFIG_DM_GPIO) += gpio.o
Simon Glass7df766e2014-12-10 08:55:55 -070021obj-$(CONFIG_DM_I2C) += i2c.o
Simon Glass3a6eae62015-03-05 12:25:34 -070022obj-$(CONFIG_DM_PCI) += pci.o
Simon Glass5d72d712015-07-06 12:54:30 -060023obj-$(CONFIG_RESET) += reset.o
Simon Glassc83c4b92015-04-20 12:37:31 -060024obj-$(CONFIG_DM_RTC) += rtc.o
Joe Hershberger65a0ae32015-03-22 17:08:58 -050025obj-$(CONFIG_DM_SPI_FLASH) += sf.o
26obj-$(CONFIG_DM_SPI) += spi.o
Simon Glass31680482015-03-25 12:23:05 -060027obj-$(CONFIG_DM_USB) += usb.o
Przemyslaw Marczakdca94502015-05-13 13:38:33 +020028obj-$(CONFIG_DM_PMIC) += pmic.o
29obj-$(CONFIG_DM_REGULATOR) += regulator.o
Simon Glass17e9c782014-06-11 23:29:50 -060030endif