0cb8d8513c
The --enable-sim-hostendian flag was purely so people had an escape route for when cross-compiling. This is because historically, AC_C_BIGENDIAN did not work in those cases. That was fixed a while ago though, so we can require that macro everywhere now and simplify a good bit of code.
27 lines
643 B
Text
27 lines
643 B
Text
dnl Process this file with autoconf to produce a configure script.
|
|
AC_PREREQ(2.64)dnl
|
|
AC_INIT(Makefile.in)
|
|
sinclude(../common/acinclude.m4)
|
|
|
|
SIM_AC_COMMON
|
|
|
|
dnl Options available in this module
|
|
SIM_AC_OPTION_INLINE()
|
|
SIM_AC_OPTION_ENDIAN(BIG)
|
|
SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT)
|
|
SIM_AC_OPTION_WARNINGS
|
|
|
|
#
|
|
# Add simulated hardware devices
|
|
#
|
|
hw_enabled=no
|
|
case "${target}" in
|
|
m68hc11-*-*|m6811-*-*)
|
|
hw_enabled=yes
|
|
hw_extra_devices="m68hc11 m68hc11sio m68hc11eepr m68hc11tim m68hc11spi nvram"
|
|
SIM_SUBTARGET="$SIM_SUBTARGET -DTARGET_M68HC11=1"
|
|
;;
|
|
esac
|
|
SIM_AC_OPTION_HARDWARE($hw_enabled,$hw_devices,$hw_extra_devices)
|
|
|
|
SIM_AC_OUTPUT
|