endianness = "big"
gcc_triple = "or1k-elf"
gcc_flags = "-mhard-mul -mhard-div -mror"
- clang_triple = "or1k-linux"
- clang_flags = "-mhard-mul -mhard-div -mror -mffl1 -maddc"
linker_output_format = "elf32-or1k"
def __init__(self, platform, reset_pc, variant=None):
# Use the default configuration
pass
elif variant == "linux":
+ self.clang_triple = "or1k-linux"
+ self.clang_flags = "-mhard-mul -mhard-div -mror -mffl1 -maddc"
cpu_args.update(dict(
# Linux needs the memory management units.
p_FEATURE_IMMU="ENABLED",