From 465fb143c87076b6416a8d0d5dd79bb016060fe3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 19 Feb 2015 03:46:01 -0500 Subject: sim: make nrun the default run program We want people to stop using the run.c frontend, but it's hard to notice when it's still set as the default. Lets flip things so nrun.c is the default, and users of run.c will get an error by default. We turn that error into a warning for existing sims so we don't break them -- this is mostly meant for people starting new ports. --- sim/microblaze/ChangeLog | 8 ++++++++ sim/microblaze/Makefile.in | 9 ++++----- 2 files changed, 12 insertions(+), 5 deletions(-) (limited to 'sim/microblaze') diff --git a/sim/microblaze/ChangeLog b/sim/microblaze/ChangeLog index f043b4b..ceb1dd5 100644 --- a/sim/microblaze/ChangeLog +++ b/sim/microblaze/ChangeLog @@ -1,5 +1,13 @@ 2015-03-14 Mike Frysinger + * Makefile.in (SIM_EXTRA_CFLAGS): Set to + -DSIM_USE_DEPRECATED_RUN_FRONTEND. + (SIM_RUN_OBJS): Set to run.o. + (SIM_EXTRA_CLEAN): Delete. + (interp.o, microblaze-clean): Delete rules. + +2015-03-14 Mike Frysinger + * configure.ac (AC_CHECK_HEADERS): Delete. * aclocal.m4, configure: Regenerate. diff --git a/sim/microblaze/Makefile.in b/sim/microblaze/Makefile.in index dda4650..6dc6e4e 100644 --- a/sim/microblaze/Makefile.in +++ b/sim/microblaze/Makefile.in @@ -17,12 +17,11 @@ ## COMMON_PRE_CONFIG_FRAG +# Use the deprecated run frontend until we migrate to nrun.o +SIM_RUN_OBJS = run.o +SIM_EXTRA_CFLAGS = -DSIM_USE_DEPRECATED_RUN_FRONTEND + SIM_OBJS = interp.o sim-load.o SIM_EXTRA_LIBS = -lm -SIM_EXTRA_CLEAN = microblaze-clean ## COMMON_POST_CONFIG_FRAG - -interp.o: interp.c - -microblaze-clean: -- cgit v1.1