Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
|
|
We rewrite the Makefile from scratch using our guidelines for embedded
projects (e.g. used on the Cortex-M0 firmware for our module's
companion controllers). The highlights of this commit include:
- convert to our Makefile template for Cortex-M0 projects
- switch to LTO
- add support for an 'internal' toolchain build from crosstools-ng
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
|
|
With recent GCC versions (we currently use GCC-6.3.0 for code-size
and static analysis reasons), we can neither have a main()-function
that has a void return-type (warns on return not being 'int') nor
can we have a function with an 'int' return-type marked 'noreturn'.
Consequently we rename the main-function to 'm0_main' to help the
compiler understand that we are not in a standard C runtime.
|
|
The original Makefile was intended to run as part of the ATF build.
As we split this off into a standalone project again, we need to
change things and update/add rules that are missing when the ATF
build infrastructure is not present.
This commit makes a standalone Makefile from what we found within
the ATF repository.
|
|
|
|
Imported from hash 3944adca5943a050ca7e7e9cc802a9ae04dec186
|
|
|