From: Heinrich Schuchardt <xypron.glpk@gmx.de>
To: u-boot@lists.denx.de
Subject: [PATCH 2/5] lib: date functions in SPL
Date: Wed, 15 Apr 2020 18:46:20 +0200 [thread overview]
Message-ID: <20200415164623.142908-3-xypron.glpk@gmx.de> (raw)
In-Reply-To: <20200415164623.142908-1-xypron.glpk@gmx.de>
Date functions are only needed in SPL if SPL contains RTC drivers.
Fixes: 05429b6cf5b3 ("rtc: move date.c from drivers/rtc/ to lib/")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
lib/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/Makefile b/lib/Makefile
index 5d4bb3232c..dbea69f52c 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -116,13 +116,14 @@ else
obj-$(CONFIG_$(SPL_TPL_)SPRINTF) += vsprintf.o
endif
obj-$(CONFIG_$(SPL_TPL_)STRTO) += strto.o
+obj-$(CONFIG_$(SPL_TPL_)RTC_SUPPORT) += date.o
else
# Main U-Boot always uses the full printf support
obj-y += vsprintf.o strto.o
obj-$(CONFIG_OID_REGISTRY) += oid_registry.o
+obj-y += date.o
endif
-obj-y += date.o
obj-$(CONFIG_LIB_ELF) += elf.o
#
--
2.25.1
next prev parent reply other threads:[~2020-04-15 16:46 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-15 16:46 [PATCH 0/5] lib: reduce SPL size Heinrich Schuchardt
2020-04-15 16:46 ` [PATCH 1/5] lib: do not build OID registry in SPL Heinrich Schuchardt
2020-04-16 2:32 ` Tom Rini
2020-04-16 15:49 ` Heinrich Schuchardt
2020-04-16 17:00 ` Tom Rini
2020-04-24 17:11 ` Tom Rini
2020-04-15 16:46 ` Heinrich Schuchardt [this message]
2020-04-16 2:32 ` [PATCH 2/5] lib: date functions " Tom Rini
2020-04-16 16:30 ` Heinrich Schuchardt
2020-04-16 17:04 ` Tom Rini
2020-04-15 16:46 ` [PATCH 3/5] common: image_sign_info helper " Heinrich Schuchardt
2020-04-16 2:32 ` Tom Rini
2020-04-24 17:11 ` Tom Rini
2020-04-15 16:46 ` [PATCH 4/5] lib: do not provide hexdump " Heinrich Schuchardt
2020-04-16 2:32 ` Tom Rini
2020-04-16 16:27 ` Heinrich Schuchardt
2020-04-16 17:02 ` Tom Rini
2020-04-24 17:11 ` Tom Rini
2020-04-15 16:46 ` [PATCH 5/5] dlmalloc: remove unit test support " Heinrich Schuchardt
2020-04-16 2:32 ` Tom Rini
2020-04-16 15:37 ` Heinrich Schuchardt
2020-04-16 17:00 ` Tom Rini
2020-04-16 17:19 ` Heinrich Schuchardt
2020-04-24 17:11 ` 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=20200415164623.142908-3-xypron.glpk@gmx.de \
--to=xypron.glpk@gmx.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.