From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCHv2 2/3] test: Only descend into test/ when CONFIG_UNIT_TEST is enabled
Date: Fri, 7 Dec 2018 19:00:40 -0500 [thread overview]
Message-ID: <1544227241-30609-2-git-send-email-trini@konsulko.com> (raw)
In-Reply-To: <1544227241-30609-1-git-send-email-trini@konsulko.com>
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>
---
Makefile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 0d11ff97971a..02326bea5f64 100644
--- a/Makefile
+++ b/Makefile
@@ -725,8 +725,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/
--
2.7.4
next prev parent reply other threads:[~2018-12-08 0:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-08 0:00 [U-Boot] [PATCHv2 1/3] cmd: Move the "dm" command from test/dm/ to cmd/ Tom Rini
2018-12-08 0:00 ` Tom Rini [this message]
2018-12-17 12:10 ` [U-Boot] [U-Boot, PATCHv2, 2/3] test: Only descend into test/ when CONFIG_UNIT_TEST is enabled Tom Rini
2018-12-08 0:00 ` [U-Boot] [PATCHv2 3/3] tools: add a generic config for native tools building Tom Rini
2018-12-17 12:10 ` [U-Boot] [U-Boot, PATCHv2, " Tom Rini
2018-12-17 12:10 ` [U-Boot] [U-Boot, PATCHv2, 1/3] cmd: Move the "dm" command from test/dm/ to cmd/ Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1544227241-30609-2-git-send-email-trini@konsulko.com \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox