diff options
author | Tom Rini | 2018-12-07 19:00:40 -0500 |
---|---|---|
committer | Tom Rini | 2018-12-15 11:49:19 -0500 |
commit | 79ffe8c63af3f6b411bf8e1a034c110a7408824d (patch) | |
tree | 8a04fda4ce1a4705b5948130e2fae6747fc435d6 /Makefile | |
parent | 6df41b1cf3f22c8baa3e2919d7607f96c5385c57 (diff) |
test: Only descend into test/ when CONFIG_UNIT_TEST is enabled
The contents of the test subdirectories only make sense when we have
CONFIG_UNIT_TEST set. We will otherwise attempt to build code on for
example sandbox that needs CONFIG_UNIT_TEST otherwise and rather than
complicate the Makefiles simply leave them out when we can.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -724,8 +724,7 @@ libs-y += common/ libs-y += env/ libs-$(CONFIG_API) += api/ libs-$(CONFIG_HAS_POST) += post/ -libs-y += test/ -libs-y += test/dm/ +libs-$(CONFIG_UNIT_TEST) += test/ test/dm/ libs-$(CONFIG_UT_ENV) += test/env/ libs-$(CONFIG_UT_OVERLAY) += test/overlay/ |