(root)/
gcc-13.2.0/
gcc/
config/
nios2/
t-rtems
# Custom RTEMS multilibs

# Reset all MULTILIB variables

MULTILIB_OPTIONS	=
MULTILIB_DIRNAMES	=
MULTILIB_EXCEPTIONS	=
MULTILIB_REUSE		=
MULTILIB_MATCHES	=
MULTILIB_REQUIRED	=

# Enumeration of multilibs

MULTILIB_OPTIONS  += mhw-mul mhw-mulx mhw-div
MULTILIB_DIRNAMES += mul mulx div

MULTILIB_OPTIONS  += mcustom-fadds=253 mcustom-fdivs=255 mcustom-fmuls=252 mcustom-fsubs=254 mcustom-fpu-cfg=fph2
MULTILIB_DIRNAMES += fadds fdivs fmuls fsubs fph2

MULTILIB_REQUIRED += mhw-mul
MULTILIB_REQUIRED += mhw-mul/mhw-mulx/mhw-div
MULTILIB_REQUIRED += mhw-mul/mhw-mulx/mhw-div/mcustom-fadds=253/mcustom-fdivs=255/mcustom-fmuls=252/mcustom-fsubs=254
MULTILIB_REQUIRED += mhw-mul/mhw-mulx/mhw-div/mcustom-fpu-cfg=fph2