summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-10-03 09:25:25 -0600
committerSimon Glass <sjg@chromium.org>2020-10-29 14:42:17 -0600
commit16a5068340f8d28e26436acf64e4dc5f652aa2a6 (patch)
treeddcce9ac0344cf914f2e4109b73db4a0ec63eaf7 /Makefile
parent82c468a049d8887b70b1826c9fda2388f14704ef (diff)
downloadu-boot-16a5068340f8d28e26436acf64e4dc5f652aa2a6.tar.gz
dm: test: Make use of CONFIG_UNIT_TEST
At present we always include test/dm from the main Makefile. We have a CONFIG_UNIT_TEST that should control whether the test/ directory is built, so rely on that instead. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5b80eb2acc..89c42c1024 100644
--- a/Makefile
+++ b/Makefile
@@ -807,7 +807,7 @@ libs-$(CONFIG_API) += api/
ifdef CONFIG_POST
libs-y += post/
endif
-libs-$(CONFIG_UNIT_TEST) += test/ test/dm/
+libs-$(CONFIG_UNIT_TEST) += test/
libs-$(CONFIG_UT_ENV) += test/env/
libs-$(CONFIG_UT_OPTEE) += test/optee/
libs-$(CONFIG_UT_OVERLAY) += test/overlay/