summaryrefslogtreecommitdiff
path: root/scripts/standalone.mk
AgeCommit message (Collapse)Author
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>