projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use our own XLEN macro.
[riscv-tests.git]
/
debug
/
targets.py
diff --git
a/debug/targets.py
b/debug/targets.py
index d1ba96430d845bcd2195454da7dce1fa5957d98e..8c725c4ebdec6bbb749e23b924d32fedde7b5a11 100644
(file)
--- a/
debug/targets.py
+++ b/
debug/targets.py
@@
-49,6
+49,7
@@
class Target(object):
"-T", "targets/%s/link.lds" % (self.directory or self.name),
"-nostartfiles",
"-mcmodel=medany",
+ "-DXLEN=%d" % self.xlen,
"-o", binary_name),
xlen=self.xlen)
return binary_name