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