blob: a2e2d2328e3c27136b6858ea58a7f5d9dfa3c42a [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
Simon Glass1ca7e202014-07-23 06:55:18 -06008obj-$(CONFIG_DM_TEST) += bus.o
Simon Glass2e7d35d2014-02-26 15:59:21 -07009obj-$(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
Simon Glassb6a49a72014-06-11 23:29:50 -060019ifneq ($(CONFIG_SANDBOX),)
Joe Hershbergerbfacad72015-03-22 17:09:15 -050020obj-$(CONFIG_DM_ETH) += eth.o
Simon Glass2e7d35d2014-02-26 15:59:21 -070021obj-$(CONFIG_DM_GPIO) += gpio.o
Simon Glassecc2ed52014-12-10 08:55:55 -070022obj-$(CONFIG_DM_I2C) += i2c.o
Simon Glassd3b7ff12015-03-05 12:25:34 -070023obj-$(CONFIG_DM_PCI) += pci.o
Joe Hershbergereb374222015-03-22 17:08:58 -050024obj-$(CONFIG_DM_SPI_FLASH) += sf.o
25obj-$(CONFIG_DM_SPI) += spi.o
Simon Glassb6a49a72014-06-11 23:29:50 -060026endif