summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
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-12Move libmetal make targets to scripts/libmetal.mkNathaniel 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>
2018-12-18Revert "Add a very simple regression script"Palmer Dabbelt
2018-12-17Add a very simple regression scriptPalmer Dabbelt
This runs all our examples (ie, "hello") on all our targets (ie, e31 and s51). It's very simple, but it should at least ensure we can avoid screwing anything up for now. Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
2018-12-14Update elf2hex to pull in py-compilePalmer Dabbelt
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
2018-12-14Update elf2hex to support older versions of autoconfPalmer Dabbelt
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
2018-12-13Add support for generating coreip hex files via elf2hexPalmer Dabbelt
This just calls elf2hex on the compiled elf files, producing a hex file that can be fed into RTL simulation. Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
2018-12-13Support Building of MEE and MEE examplesNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>