Commit Graph

9 Commits (04a76b3882c60fa0686eb03470b5da5a98f52fa4)

Author SHA1 Message Date
Jamie Smith ce093f1785
Don't use whole-archive linking (#71)
* First attempt at converting to OBJECT libraries.  Not working due to more object library limitations

* Only compile the main libraries as OBJECT, because that's all that CMake can be made to do right now.

* Fix availability of target-specific flags

* Missed some usages

* Fix some STM32 ethernet stuff that was not linking correctly

* More fixes for STM32 ethernet and weak symbols

* Fix prebuilt object file linking for MUSCA_S1

* Fix STM32 eth init license headers
2022-10-09 12:16:15 -07:00
Jamie Smith 4897b885d6 Change linker script handling logic to use only one linker script target 2022-09-14 00:25:32 -07:00
Jamie Smith fb4164951c Fix Mbed OS target's public dependency on the MCU target 2022-09-14 00:25:28 -07:00
Jamie Smith 5bddbbc980 Fix PSA target, fix create_distro to not recurse into static libraries 2022-09-14 00:25:28 -07:00
Jamie Smith fe23ff8d5b Only support GCC ARM compiler, but reap the benefits of static libraries instead of objects 2022-09-14 00:25:28 -07:00
Jamie Smith 000c7c73c1 Convert the rest of the hal tests, convert mbedtls to an OBJECT library 2022-09-14 00:25:25 -07:00
Jamie Smith d85c55a493 Fix PSA and MUSCA build 2022-09-14 00:25:25 -07:00
Jamie Smith c11d32fbf4 - Split mbed-core and mbed-rtos into -sources and -flags targets
- Fix some logic errors in top level cmakelists related to building greentea tests
- Fix mbed_create_distro() for OBJECT libraries
2022-09-14 00:25:25 -07:00
Jamie Smith 63aa3360c0 Clean up top-level build file and build options, fix build issues on MinGW 2022-09-14 00:25:25 -07:00