summaryrefslogtreecommitdiff
path: root/test/dm/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-06-11 23:29:50 -0600
committerSimon Glass <sjg@chromium.org>2014-06-20 11:55:52 -0600
commitb6a49a7ae71755396a2fa1e6dbde1ae3064d256f (patch)
treef8d1e24e4e2fedab483e528d3063bb4e12b43372 /test/dm/Makefile
parent89876a55a62f495302e2fd76094e45a65ca188b2 (diff)
downloadu-boot-imx-b6a49a7ae71755396a2fa1e6dbde1ae3064d256f.zip
u-boot-imx-b6a49a7ae71755396a2fa1e6dbde1ae3064d256f.tar.gz
u-boot-imx-b6a49a7ae71755396a2fa1e6dbde1ae3064d256f.tar.bz2
dm: Allow driver model tests only for sandbox
The GPIO tests require the sandbox GPIO driver, so cannot be run on other platforms. Similarly for the 'dm test' command. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/dm/Makefile')
-rw-r--r--test/dm/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/dm/Makefile b/test/dm/Makefile
index 4e9afe6..c0f2135 100644
--- a/test/dm/Makefile
+++ b/test/dm/Makefile
@@ -15,4 +15,6 @@ obj-$(CONFIG_DM_TEST) += ut.o
# subsystem you must add sandbox tests here.
obj-$(CONFIG_DM_TEST) += core.o
obj-$(CONFIG_DM_TEST) += ut.o
+ifneq ($(CONFIG_SANDBOX),)
obj-$(CONFIG_DM_GPIO) += gpio.o
+endif