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