cpu/femtorv/core: Generate gcc_flags from GCC_FLAGS/Variants.
This commit is contained in:
parent
828f763b48
commit
a96304e287
|
@ -59,9 +59,8 @@ class FemtoRV(CPU):
|
|||
# GCC Flags.
|
||||
@property
|
||||
def gcc_flags(self):
|
||||
flags = "-march=rv32i "
|
||||
flags += "-mabi=ilp32 "
|
||||
flags += "-D__femtorv__ "
|
||||
flags = GCC_FLAGS[self.variant]
|
||||
flags += " -D__femtorv__ "
|
||||
return flags
|
||||
|
||||
def __init__(self, platform, variant="standard"):
|
||||
|
|
Loading…
Reference in New Issue