summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2019-11-13 09:44:49 +0900
committerTom Rini <trini@konsulko.com>2019-12-06 16:44:19 -0500
commit05429b6cf5b3f30f773b8e79fe4cd3688349d7d2 (patch)
tree8704c5672e37dc8c1b8a1130828c5191f9ac63d8 /lib/Makefile
parent09030e0361cee79241c0d2c12fd6929de5b64b30 (diff)
downloadu-boot-05429b6cf5b3f30f773b8e79fe4cd3688349d7d2.tar.gz
u-boot-05429b6cf5b3f30f773b8e79fe4cd3688349d7d2.tar.xz
u-boot-05429b6cf5b3f30f773b8e79fe4cd3688349d7d2.zip
rtc: move date.c from drivers/rtc/ to lib/
In the next commit, rtc_mktime(), for compatibility with linux, will be implemented using rtc_mktime(), which is no longer drivers/rtc specific. So move this file under lib/. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index e15a189f65..90d4425bd6 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -117,4 +117,6 @@ else
obj-y += vsprintf.o strto.o
endif
+obj-y += date.o
+
subdir-ccflags-$(CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED) += -O2