blob: c0f21351d7435cf9399baf6c0ad5a6b59dcdff85 [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 Glassb2c1cac2014-02-26 15:59:21 -07008obj-$(CONFIG_DM_TEST) += test-driver.o
9obj-$(CONFIG_DM_TEST) += test-fdt.o
10obj-$(CONFIG_DM_TEST) += test-main.o
11obj-$(CONFIG_DM_TEST) += test-uclass.o
12obj-$(CONFIG_DM_TEST) += ut.o
13
14# Tests for particular subsystems - when enabling driver model for a new
15# subsystem you must add sandbox tests here.
16obj-$(CONFIG_DM_TEST) += core.o
17obj-$(CONFIG_DM_TEST) += ut.o
Simon Glass17e9c782014-06-11 23:29:50 -060018ifneq ($(CONFIG_SANDBOX),)
Simon Glassb2c1cac2014-02-26 15:59:21 -070019obj-$(CONFIG_DM_GPIO) += gpio.o
Simon Glass17e9c782014-06-11 23:29:50 -060020endif