dm: test: Make use of CONFIG_UNIT_TEST
authorSimon Glass <sjg@chromium.org>
Sat, 3 Oct 2020 15:25:25 +0000 (09:25 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 29 Oct 2020 20:42:17 +0000 (14:42 -0600)
commit16a5068340f8d28e26436acf64e4dc5f652aa2a6
treeddcce9ac0344cf914f2e4109b73db4a0ec63eaf7
parent82c468a049d8887b70b1826c9fda2388f14704ef
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>
Makefile
test/Makefile