blob: 612aa957fa2d9ccb832382c6f0e55d3d037b3c67 [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
Simon Glass40717422014-07-23 06:55:18 -06008obj-$(CONFIG_DM_TEST) += bus.o
Simon Glassb2c1cac2014-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 Glass17e9c782014-06-11 23:29:50 -060019ifneq ($(CONFIG_SANDBOX),)
Simon Glassb2c1cac2014-02-26 15:59:21 -070020obj-$(CONFIG_DM_GPIO) += gpio.o
Simon Glassabae56d2014-10-13 23:42:10 -060021obj-$(CONFIG_DM_SPI) += spi.o
Simon Glass25348a42014-10-13 23:42:11 -060022obj-$(CONFIG_DM_SPI_FLASH) += sf.o
Simon Glass7df766e2014-12-10 08:55:55 -070023obj-$(CONFIG_DM_I2C) += i2c.o
Simon Glass17e9c782014-06-11 23:29:50 -060024endif