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 | 2e7d35d | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 8 | obj-$(CONFIG_DM_TEST) += test-driver.o |
| 9 | obj-$(CONFIG_DM_TEST) += test-fdt.o |
| 10 | obj-$(CONFIG_DM_TEST) += test-main.o |
| 11 | obj-$(CONFIG_DM_TEST) += test-uclass.o |
| 12 | obj-$(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. |
| 16 | obj-$(CONFIG_DM_TEST) += core.o |
| 17 | obj-$(CONFIG_DM_TEST) += ut.o |
Simon Glass | b6a49a7 | 2014-06-11 23:29:50 -0600 | [diff] [blame] | 18 | ifneq ($(CONFIG_SANDBOX),) |
Simon Glass | 2e7d35d | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 19 | obj-$(CONFIG_DM_GPIO) += gpio.o |
Simon Glass | b6a49a7 | 2014-06-11 23:29:50 -0600 | [diff] [blame] | 20 | endif |