summaryrefslogtreecommitdiff
path: root/sim/mn10300
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-01-01 14:17:46 -0500
committerMike Frysinger <vapier@gentoo.org>2023-01-10 01:15:28 -0500
commit63a9d59e884e18d02ca15abc1149fd14b4b144cd (patch)
treedce85a932f02e530c4631c3a5a0fcebd65cd7b8d /sim/mn10300
parent1546cb45407f5228e8d4bdd948b7d0bc6c4d1b76 (diff)
downloadbinutils-gdb-63a9d59e884e18d02ca15abc1149fd14b4b144cd.tar.gz
sim: mn10300: move arch-specific file compilation to top-level
The arch-specific compiler flags are duplicated, but they'll be cleaned up once we move all subdir compiles to the top-level.
Diffstat (limited to 'sim/mn10300')
-rw-r--r--sim/mn10300/local.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/sim/mn10300/local.mk b/sim/mn10300/local.mk
index 06b42087699..527d580804e 100644
--- a/sim/mn10300/local.mk
+++ b/sim/mn10300/local.mk
@@ -16,6 +16,10 @@
## You should have received a copy of the GNU General Public License
## along with this program. If not, see <http://www.gnu.org/licenses/>.
+AM_CPPFLAGS_%C% = \
+ -DPOLL_QUIT_INTERVAL=0x20 \
+ -DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=31
+
%C%_libsim_a_SOURCES =
%C%_libsim_a_LIBADD = \
$(common_libcommon_a_OBJECTS) \
@@ -37,9 +41,6 @@ $(%C%_libsim_a_OBJECTS) $(%C%_libsim_a_LIBADD): %D%/hw-config.h
noinst_LIBRARIES += %D%/libsim.a
-%D%/%.o: %D%/%.c
- $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F)
-
%D%/%.o: common/%.c
$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F)