blob: 19ad2fb99f660ec25c622d4447d44f1b07adf039 [file] [log] [blame]
Simon Glass2e7d35d2014-02-26 15:59:21 -07001#
2# Copyright (c) 2013 Google, Inc
3#
4# SPDX-License-Identifier: GPL-2.0+
5#
6
Simon Glass06811952014-02-26 15:59:22 -07007obj-$(CONFIG_CMD_DM) += cmd_dm.o
Joe Hershberger40441e02015-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 Glass2e7d35d2014-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 Hershberger40441e02015-05-20 14:27:29 -050016obj-$(CONFIG_UT_DM) += core.o
Simon Glassb6a49a72014-06-11 23:29:50 -060017ifneq ($(CONFIG_SANDBOX),)
Joe Hershbergerbfacad72015-03-22 17:09:15 -050018obj-$(CONFIG_DM_ETH) += eth.o
Simon Glass2e7d35d2014-02-26 15:59:21 -070019obj-$(CONFIG_DM_GPIO) += gpio.o
Simon Glassecc2ed52014-12-10 08:55:55 -070020obj-$(CONFIG_DM_I2C) += i2c.o
Simon Glassd3b7ff12015-03-05 12:25:34 -070021obj-$(CONFIG_DM_PCI) += pci.o
Simon Glass47725112015-04-20 12:37:31 -060022obj-$(CONFIG_DM_RTC) += rtc.o
Joe Hershbergereb374222015-03-22 17:08:58 -050023obj-$(CONFIG_DM_SPI_FLASH) += sf.o
24obj-$(CONFIG_DM_SPI) += spi.o
Simon Glasse00cb222015-03-25 12:23:05 -060025obj-$(CONFIG_DM_USB) += usb.o
Przemyslaw Marczake8f339e2015-05-13 13:38:33 +020026obj-$(CONFIG_DM_PMIC) += pmic.o
27obj-$(CONFIG_DM_REGULATOR) += regulator.o
Simon Glassb6a49a72014-06-11 23:29:50 -060028endif