2014-02-26 22:59:21 +00:00
|
|
|
#
|
|
|
|
# Copyright (c) 2013 Google, Inc
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
|
|
#
|
|
|
|
|
2014-02-26 22:59:22 +00:00
|
|
|
obj-$(CONFIG_CMD_DM) += cmd_dm.o
|
2014-07-23 12:55:18 +00:00
|
|
|
obj-$(CONFIG_DM_TEST) += bus.o
|
2014-02-26 22:59:21 +00:00
|
|
|
obj-$(CONFIG_DM_TEST) += test-driver.o
|
|
|
|
obj-$(CONFIG_DM_TEST) += test-fdt.o
|
|
|
|
obj-$(CONFIG_DM_TEST) += test-main.o
|
|
|
|
obj-$(CONFIG_DM_TEST) += test-uclass.o
|
|
|
|
obj-$(CONFIG_DM_TEST) += ut.o
|
|
|
|
|
|
|
|
# Tests for particular subsystems - when enabling driver model for a new
|
|
|
|
# subsystem you must add sandbox tests here.
|
|
|
|
obj-$(CONFIG_DM_TEST) += core.o
|
|
|
|
obj-$(CONFIG_DM_TEST) += ut.o
|
2014-06-12 05:29:50 +00:00
|
|
|
ifneq ($(CONFIG_SANDBOX),)
|
2014-02-26 22:59:21 +00:00
|
|
|
obj-$(CONFIG_DM_GPIO) += gpio.o
|
2014-10-14 05:42:10 +00:00
|
|
|
obj-$(CONFIG_DM_SPI) += spi.o
|
2014-10-14 05:42:11 +00:00
|
|
|
obj-$(CONFIG_DM_SPI_FLASH) += sf.o
|
2014-12-10 15:55:55 +00:00
|
|
|
obj-$(CONFIG_DM_I2C) += i2c.o
|
2014-06-12 05:29:50 +00:00
|
|
|
endif
|