summaryrefslogtreecommitdiff
path: root/debug.mk
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@sifive.com>2019-03-25 14:33:03 -0700
committerNathaniel Graff <nathaniel.graff@sifive.com>2019-03-25 14:34:16 -0700
commit856ee446246f4967bcbaf8654e302d865c467e6b (patch)
tree277b016689058f9869b51539b0a705eacce150e5 /debug.mk
parent24f4ba0d5d5fa4378f14f3d56b18e041a01f2955 (diff)
Set ASFLAGS to work
This allows users to specify raw assembly files in their build scripts. Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
Diffstat (limited to 'debug.mk')
-rw-r--r--debug.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/debug.mk b/debug.mk
index b57cfc0..dc77a57 100644
--- a/debug.mk
+++ b/debug.mk
@@ -3,10 +3,12 @@
###################################################
# Set the optimization level
+RISCV_ASFLAGS += -O0
RISCV_CFLAGS += -O0
RISCV_CXXFLAGS += -O0
# Enable debug
+RISCV_ASFLAGS += -g
RISCV_CFLAGS += -g
RISCV_CXXFLAGS += -g