20 lines
688 B
Plaintext
20 lines
688 B
Plaintext
# do not define the multiarch name if configured for a soft-float cpu
|
|
# or soft-float.
|
|
ifeq (,$(filter $(with_cpu),$(SOFT_FLOAT_CPUS))$(findstring soft,$(with_float)))
|
|
ifneq (,$(findstring powerpc64,$(target)))
|
|
MULTILIB_OSDIRNAMES := .=../lib64$(call if_multiarch,:powerpc64-linux-gnu)
|
|
else
|
|
MULTIARCH_DIRNAME := $(call if_multiarch,powerpc-linux-gnu)
|
|
endif
|
|
ifneq (,$(findstring powerpcle,$(target)))
|
|
MULTIARCH_DIRNAME := $(subst -linux,le-linux,$(MULTIARCH_DIRNAME))
|
|
endif
|
|
ifneq (,$(findstring powerpc64le,$(target)))
|
|
MULTILIB_OSDIRNAMES := $(subst -linux,le-linux,$(MULTILIB_OSDIRNAMES))
|
|
endif
|
|
endif
|
|
|
|
rs6000-linux.o: $(srcdir)/config/rs6000/rs6000-linux.c
|
|
$(COMPILE) $<
|
|
$(POSTCOMPILE)
|