OVMS3-idf/components/newlib
Renz Christian Bagaporo 3882e48e8a cmake: use new signature form of target_link_library to link components
!4452 used setting LINK_LIBRARIES and INTERFACE_LINK_LIBRARIES to link
components built under ESP-IDF build system. However, LINK_LIBRARIES does
not produce behavior same as linking PRIVATE. This MR uses the new
signature for target_link_libraries directly instead. This also moves
setting dependencies during component registration rather than after all
components have been processed.

The consequence is that internally, components have to use the new
signature form as well. This does not affect linking the components to
external targets, such as with idf_as_lib example. This only affects
linking additional libraries to ESP-IDF libraries outside component processing (after
idf_build_process), which is not even possible for CMake<v3.13 as
target_link_libraries is not valid for targets not created in current
directory. See https://cmake.org/cmake/help/v3.13/policy/CMP0079.html#policy:CMP0079
2019-06-11 18:09:26 +08:00
..
include Revert "feat(time): enable the macro timeradd, timersub, timerclear, etc." 2019-03-19 22:15:06 +08:00
lib newlib: Add strptime(), qsort_r(), nanf() to libc & libc_nano 2017-11-16 17:35:18 +11:00
platform_include Rename Kconfig options (root) 2019-05-21 09:09:01 +02:00
test all: Using xxx_periph.h 2019-06-03 14:15:08 +08:00
.gitignore Initial public version 2016-08-17 23:08:22 +08:00
.gitmodules Initial public version 2016-08-17 23:08:22 +08:00
CMakeLists.txt cmake: use new signature form of target_link_library to link components 2019-06-11 18:09:26 +08:00
component.mk newlib: when compiling with GCC8, use newlib headers and libraries from toolchain 2019-04-10 13:52:30 +08:00
COPYING.NEWLIB Initial public version 2016-08-17 23:08:22 +08:00
esp32-spiram-rom-functions-c.lf newlib: when compiling with GCC8, use newlib headers and libraries from toolchain 2019-04-10 13:52:30 +08:00
esp32-spiram-rom-functions-psram-workaround.lf newlib: when compiling with GCC8, use newlib headers and libraries from toolchain 2019-04-10 13:52:30 +08:00
heap.c newlib: when compiling with GCC8, use newlib headers and libraries from toolchain 2019-04-10 13:52:30 +08:00
Kconfig Rename Kconfig options (components/esp32) 2019-05-21 09:09:01 +02:00
locks.c newlib: force including IDF locks implementation 2019-04-10 13:52:30 +08:00
Makefile.old Initial public version 2016-08-17 23:08:22 +08:00
newlib.lf newlib: when compiling with GCC8, use newlib headers and libraries from toolchain 2019-04-10 13:52:30 +08:00
poll.c VFS: Implement poll() based on select() 2019-02-25 10:34:27 +01:00
project_include.cmake components: correct dependency information for linking without link groups 2019-05-28 10:51:02 +08:00
pthread.c cmake: For gcc8 use linker to find paths to libc, libm, libstdc++, etc 2019-05-28 12:54:37 +08:00
random.c esp32: Add esp_fill_random() function 2018-09-03 04:39:45 +00:00
reent_init.c test: clean up "leaks" tags from most unit tests 2019-04-16 20:07:40 +08:00
select.c Rename Kconfig options (components/lwip) 2019-05-21 09:09:01 +02:00
syscall_table.c separate rom from esp32 component to esp_rom 2019-03-21 18:51:45 +08:00
syscalls.c newlib: when compiling with GCC8, use newlib headers and libraries from toolchain 2019-04-10 13:52:30 +08:00
termios.c Add basic support for termios.h 2018-08-30 14:29:20 +02:00
time.c all: Using xxx_periph.h 2019-06-03 14:15:08 +08:00
utime.c VFS: Implement utime() 2018-11-05 09:54:01 +01:00