summaryrefslogtreecommitdiff
path: root/scripts/standalone.mk
AgeCommit message (Collapse)Author
2019-06-20make "clean" work too.Kevin Mills
2019-06-17Reorder CFLAGS for benchmarksNathaniel Graff
Add benchmark flags after loading the flags for the configuration so that the benchmarks can override the configuration's flags. Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-06-02Add compile options for coremark and update freedom-metal repo.Hsiang-Chia.Huang
Regenerate files in bsps.
2019-06-02Update Makefile to handle special ENV require for coremark, dhrystoneBunnaroath Sou
2019-05-31Disable ramrodata for dhrystone on boards with 16k RAMNathaniel Graff
Putting rodata in RAM for targets with less than 16 overflows Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-05-22Setup default options for dhrystone release.Hsiang-Chia.Huang
2019-04-10Use CCASFLAGS instead of ASFLAGSNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-04-10Use newlib-nanoNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-03-25Set ASFLAGS to workPalmer Dabbelt
This allows users to specify raw assembly files in their build scripts. Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-03-19Missed one search and replacecgsfv
2019-03-19Reverted to naming verilog hex files .hexcgsfv
2019-03-19Added .map + .lst + .rtl extra output filescgsfv
2019-03-18Add link target options to tools and envBunnaroath Sou
2019-03-14Use TARGET_TAGS in MakefileNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
2019-03-13Enable elf2hex in standalone projectsNathaniel Graff
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
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>