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.
|
# GCC Flags.
|
||||||
@property
|
@property
|
||||||
def gcc_flags(self):
|
def gcc_flags(self):
|
||||||
flags = "-march=rv32i "
|
flags = GCC_FLAGS[self.variant]
|
||||||
flags += "-mabi=ilp32 "
|
flags += " -D__femtorv__ "
|
||||||
flags += "-D__femtorv__ "
|
|
||||||
return flags
|
return flags
|
||||||
|
|
||||||
def __init__(self, platform, variant="standard"):
|
def __init__(self, platform, variant="standard"):
|
||||||
|
|
Loading…
Reference in New Issue