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 |
Joe Hershberger | 40441e0 | 2015-05-20 14:27:29 -0500 | [diff] [blame] | 8 | obj-$(CONFIG_UT_DM) += bus.o |
| 9 | obj-$(CONFIG_UT_DM) += test-driver.o |
| 10 | obj-$(CONFIG_UT_DM) += test-fdt.o |
| 11 | obj-$(CONFIG_UT_DM) += test-main.o |
| 12 | obj-$(CONFIG_UT_DM) += test-uclass.o |
Simon Glass | 2e7d35d | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 13 | |
| 14 | # Tests for particular subsystems - when enabling driver model for a new |
| 15 | # subsystem you must add sandbox tests here. |
Joe Hershberger | 40441e0 | 2015-05-20 14:27:29 -0500 | [diff] [blame] | 16 | obj-$(CONFIG_UT_DM) += core.o |
Simon Glass | b6a49a7 | 2014-06-11 23:29:50 -0600 | [diff] [blame] | 17 | ifneq ($(CONFIG_SANDBOX),) |
Simon Glass | 6a1c7ce | 2015-07-06 12:54:24 -0600 | [diff] [blame] | 18 | obj-$(CONFIG_CLK) += clk.o |
Joe Hershberger | bfacad7 | 2015-03-22 17:09:15 -0500 | [diff] [blame] | 19 | obj-$(CONFIG_DM_ETH) += eth.o |
Simon Glass | 2e7d35d | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 20 | obj-$(CONFIG_DM_GPIO) += gpio.o |
Simon Glass | ecc2ed5 | 2014-12-10 08:55:55 -0700 | [diff] [blame] | 21 | obj-$(CONFIG_DM_I2C) += i2c.o |
Simon Glass | 8e6cc46 | 2015-07-06 12:54:32 -0600 | [diff] [blame] | 22 | obj-$(CONFIG_DM_MMC) += mmc.o |
Simon Glass | d3b7ff1 | 2015-03-05 12:25:34 -0700 | [diff] [blame] | 23 | obj-$(CONFIG_DM_PCI) += pci.o |
Simon Glass | 64ce0ca | 2015-07-06 12:54:31 -0600 | [diff] [blame] | 24 | obj-$(CONFIG_RAM) += ram.o |
Simon Glass | 201c29a | 2015-07-06 12:54:30 -0600 | [diff] [blame] | 25 | obj-$(CONFIG_RESET) += reset.o |
Simon Glass | 4772511 | 2015-04-20 12:37:31 -0600 | [diff] [blame] | 26 | obj-$(CONFIG_DM_RTC) += rtc.o |
Joe Hershberger | eb37422 | 2015-03-22 17:08:58 -0500 | [diff] [blame] | 27 | obj-$(CONFIG_DM_SPI_FLASH) += sf.o |
| 28 | obj-$(CONFIG_DM_SPI) += spi.o |
Simon Glass | e00cb22 | 2015-03-25 12:23:05 -0600 | [diff] [blame] | 29 | obj-$(CONFIG_DM_USB) += usb.o |
Przemyslaw Marczak | e8f339e | 2015-05-13 13:38:33 +0200 | [diff] [blame] | 30 | obj-$(CONFIG_DM_PMIC) += pmic.o |
| 31 | obj-$(CONFIG_DM_REGULATOR) += regulator.o |
Simon Glass | b6a49a7 | 2014-06-11 23:29:50 -0600 | [diff] [blame] | 32 | endif |