# Makefile template for configure for the or1k simulator # Copyright (C) 2017-2023 Free Software Foundation, Inc. # # This file is part of GDB, the GNU debugger. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . ## COMMON_PRE_CONFIG_FRAG OR1K_OBJS = \ or1k.o \ arch.o \ cpu.o \ decode.o \ model.o \ sem.o \ mloop.o \ sim-if.o \ traps.o SIM_OBJS = \ $(SIM_NEW_COMMON_OBJS) \ cgen-utils.o \ cgen-trace.o \ cgen-scache.o \ cgen-run.o \ cgen-fpu.o \ cgen-accfp.o SIM_OBJS += $(OR1K_OBJS) SIM_EXTRA_CFLAGS = -DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=31 ## COMMON_POST_CONFIG_FRAG arch = or1k