summaryrefslogtreecommitdiff
path: root/release.mk
diff options
context:
space:
mode:
authorNathaniel Graff <nathaniel.graff@sifive.com>2019-03-08 10:24:33 -0800
committerNathaniel Graff <nathaniel.graff@sifive.com>2019-03-12 13:36:41 -0700
commit3da1e2e24fb713e87984bc18d7c1c4c44a97fa47 (patch)
tree132315885208178adde42abf1100acf5379661a8 /release.mk
parent97273d31d812b3ead12fa050fd90c03dafa4f26c (diff)
Support Debug/Release configurations
- 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>
Diffstat (limited to 'release.mk')
-rw-r--r--release.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/release.mk b/release.mk
new file mode 100644
index 0000000..ac7ec8a
--- /dev/null
+++ b/release.mk
@@ -0,0 +1,7 @@
+###################################################
+# Build Flags for the Release Configuration
+###################################################
+
+# Set the optimization level
+RISCV_CFLAGS += -Os
+RISCV_CXXFLAGS += -Os