summaryrefslogtreecommitdiff
path: root/scripts/standalone.mk
AgeCommit message (Collapse)Author
2019-03-12Build program into SRC_DIR/CONFIGURATION/PROGRAMNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-03-12Build metal libs into install/lib/CONFIGURATIONNathaniel Graff
Removes the INCLUDE_METAL_SOURCES option. If we want to be able to support multiple build configurations for standalone projects, the Metal library must be rebuilt to take into account those options. An alternative is to put back the prebuilt library option and just remove the configuration option from standalone projects without the Metal library sources. Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-03-12ELF output has .elf extensionNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-03-12Support Debug/Release configurationsNathaniel Graff
- Puts shared flags in scripts/standalone and adds "build configurations" for debug and release which customize the build flags for specific purposes. - Documents CONFIGURATION in Sphinx docs and makefile help Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-03-07Remove BSP checks from MakefileNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-03-06Add support for Segger J-LinkNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-03-05Build scripts can consume RISCV_CMODELNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-03-05Merge pull request #180 from sifive/print-sizeNathaniel Graff
Print ELF size after build
2019-02-27Optimize for size using gc-sections, function-sections, data-sections flagsBunnaroath Sou
2019-02-22Print ELF size after buildNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-02-04Replace all mee with metalNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-01-31Add TARGET as a synonym for BOARDNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-01-18Add export of standalone projectNathaniel Graff
Split out board init, toolchain setup, and program build into scripts/standalone.mk which can be included in the top-level Makefile to allow in-SDK builds or be exported and used on its own. Create a `standalone` Make target which copies and example, the built Freedom Metal library, and the standalone Makefile into an external project. Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>