Simon Glass | 2e7d35d | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2013 Google, Inc |
| 3 | # |
| 4 | # SPDX-License-Identifier: GPL-2.0+ |
| 5 | # |
| 6 | |
Simon Glass | 0681195 | 2014-02-26 15:59:22 -0700 | [diff] [blame] | 7 | obj-$(CONFIG_CMD_DM) += cmd_dm.o |
Simon Glass | 1ca7e20 | 2014-07-23 06:55:18 -0600 | [diff] [blame] | 8 | obj-$(CONFIG_DM_TEST) += bus.o |
Simon Glass | 2e7d35d | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 9 | obj-$(CONFIG_DM_TEST) += test-driver.o |
| 10 | obj-$(CONFIG_DM_TEST) += test-fdt.o |
| 11 | obj-$(CONFIG_DM_TEST) += test-main.o |
| 12 | obj-$(CONFIG_DM_TEST) += test-uclass.o |
| 13 | obj-$(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. |
| 17 | obj-$(CONFIG_DM_TEST) += core.o |
| 18 | obj-$(CONFIG_DM_TEST) += ut.o |
Simon Glass | b6a49a7 | 2014-06-11 23:29:50 -0600 | [diff] [blame] | 19 | ifneq ($(CONFIG_SANDBOX),) |
Joe Hershberger | bfacad7 | 2015-03-22 17:09:15 -0500 | [diff] [blame^] | 20 | obj-$(CONFIG_DM_ETH) += eth.o |
Simon Glass | 2e7d35d | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 21 | obj-$(CONFIG_DM_GPIO) += gpio.o |
Simon Glass | ecc2ed5 | 2014-12-10 08:55:55 -0700 | [diff] [blame] | 22 | obj-$(CONFIG_DM_I2C) += i2c.o |
Simon Glass | d3b7ff1 | 2015-03-05 12:25:34 -0700 | [diff] [blame] | 23 | obj-$(CONFIG_DM_PCI) += pci.o |
Joe Hershberger | eb37422 | 2015-03-22 17:08:58 -0500 | [diff] [blame] | 24 | obj-$(CONFIG_DM_SPI_FLASH) += sf.o |
| 25 | obj-$(CONFIG_DM_SPI) += spi.o |
Simon Glass | b6a49a7 | 2014-06-11 23:29:50 -0600 | [diff] [blame] | 26 | endif |