aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-10-25 20:38:26 -0600
committerSimon Glass <sjg@chromium.org>2020-10-29 14:42:18 -0600
commitba96be48ad34180debcfbc11434be7329d530701 (patch)
tree2cc431ece86d4214f1309abf08d0ecfe62d81979 /scripts
parent970cd91e8c4d9c812857601475dc2972ad1cd1b4 (diff)
downloadu-boot-ba96be48ad34180debcfbc11434be7329d530701.zip
u-boot-ba96be48ad34180debcfbc11434be7329d530701.tar.gz
u-boot-ba96be48ad34180debcfbc11434be7329d530701.tar.bz2
dm: test: Build tests for SPL
We want to run unit tests in SPL. Add a new Kconfig to control this and enable it for sandbox_spl Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.spl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl
index d528c99..2e3a443 100644
--- a/scripts/Makefile.spl
+++ b/scripts/Makefile.spl
@@ -99,6 +99,7 @@ libs-y += dts/
libs-y += fs/
libs-$(CONFIG_SPL_POST_MEM_SUPPORT) += post/drivers/
libs-$(CONFIG_SPL_NET_SUPPORT) += net/
+libs-$(CONFIG_SPL_UNIT_TEST) += test/
head-y := $(addprefix $(obj)/,$(head-y))
libs-y := $(addprefix $(obj)/,$(libs-y))