1# do not define the multiarch name if configured for a soft-float cpu
2# or soft-float.
3ifeq (,$(filter $(with_cpu),$(SOFT_FLOAT_CPUS))$(findstring soft,$(with_float)))
4ifneq (,$(findstring powerpc64,$(target)))
5MULTILIB_OSDIRNAMES := .=../lib64$(call if_multiarch,:powerpc64-linux-gnu)
6else
7MULTIARCH_DIRNAME := $(call if_multiarch,powerpc-linux-gnu)
8endif
9ifneq (,$(findstring powerpcle,$(target)))
10MULTIARCH_DIRNAME := $(subst -linux,le-linux,$(MULTIARCH_DIRNAME))
11endif
12ifneq (,$(findstring powerpc64le,$(target)))
13MULTILIB_OSDIRNAMES := $(subst -linux,le-linux,$(MULTILIB_OSDIRNAMES))
14endif
15endif
16
17rs6000-linux.o: $(srcdir)/config/rs6000/rs6000-linux.c
18	$(COMPILE) $<
19	$(POSTCOMPILE)
20