newlib: separate low-level code in time.c implementation

This commit is contained in:
Renz Bagaporo
2020-06-23 11:53:58 +08:00
parent cda9c595d7
commit a395a00d2c
8 changed files with 331 additions and 255 deletions
+3
View File
@@ -12,6 +12,9 @@ ifdef CONFIG_SPIRAM_CACHE_WORKAROUND
COMPONENT_ADD_LDFRAGMENTS := esp32-spiram-rom-functions-c.lf
endif
COMPONENT_PRIV_INCLUDEDIRS := priv_include
COMPONENT_SRCDIRS := . port
# Forces the linker to include locks, heap, and syscalls from this component,
# instead of the implementations provided by newlib.
COMPONENT_ADD_LDFLAGS += -u newlib_include_locks_impl