aboutsummaryrefslogtreecommitdiff
path: root/sim/cris/configure
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-25 06:03:22 -0500
committerMike Frysinger <vapier@gentoo.org>2015-12-25 06:10:03 -0500
commit34cf511206839b0f2b76870bf2d487c2dbcdbc1f (patch)
tree872ad4af249e7a2354c6e385c0eeb8967f489163 /sim/cris/configure
parent13e49fd6364e94625985b9eb15da5b1decd6a196 (diff)
downloadgdb-34cf511206839b0f2b76870bf2d487c2dbcdbc1f.zip
gdb-34cf511206839b0f2b76870bf2d487c2dbcdbc1f.tar.gz
gdb-34cf511206839b0f2b76870bf2d487c2dbcdbc1f.tar.bz2
sim: cris: migrate from WITH_DEVICES to WITH_HW
The cris port was using the device framework to handle two addresses when the --cris-900000xx flag was specified. That can be implemented using the newer hardware framework instead which allows us to drop the device logic entirely, as well as delete the tconfig.h file. Basically we create a new cris_900000xx device model and move the read logic out of devices.c and into that. The rest of the devices logic was callback to the hardware framework already.
Diffstat (limited to 'sim/cris/configure')
-rwxr-xr-xsim/cris/configure4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/cris/configure b/sim/cris/configure
index a40197f..46daa18 100755
--- a/sim/cris/configure
+++ b/sim/cris/configure
@@ -13362,7 +13362,7 @@ if test ""; then
else
hardware="cfi core pal glue"
fi
-hardware="$hardware rv cris"
+hardware="$hardware rv cris cris_900000xx"
sim_hw_cflags="-DWITH_HW=1"
sim_hw="$hardware"
@@ -13372,7 +13372,7 @@ sim_hw_objs="\$(SIM_COMMON_HW_OBJS) `echo $sim_hw | sed -e 's/\([^ ][^ ]*\)/dv-\
if test "${enable_sim_hardware+set}" = set; then :
enableval=$enable_sim_hardware;
else
- enable_sim_hardware="no"
+ enable_sim_hardware="yes"
fi
case ${enable_sim_hardware} in