1# NetBSD has (will have) "non-native" libraries in /usr/lib/<arch>.
2
3MULTILIB_OPTIONS = mabi=n32/mabi=64/mabi=32
4MULTILIB_DIRNAMES = n32 n64 o32
5
6# For NetBSD/mips64 we thus have /usr/lib (n32), /usr/lib/o32 and /usr/lib/64.
7ifneq ($(filter MIPS_ABI_DEFAULT=ABI_N32,$(tm_defines)),)
8MULTILIB_OSDIRNAMES = . ../lib/64 ../lib/o32
9endif
10
11# For NetBSD/mipsn64 we thus have /usr/lib (64), /usr/lib/o32 and /usr/lib/n32.
12ifneq ($(filter MIPS_ABI_DEFAULT=ABI_64,$(tm_defines)),)
13MULTILIB_OSDIRNAMES = ../lib/n32 . ../lib/o32
14endif
15
16LIBGCC = stmp-multilib
17INSTALL_LIBGCC = install-multilib
18