]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/config/powerpcspe/t-linux
1906338ea0b9ded15799e2ecc37cc997dc1b8029
[thirdparty/gcc.git] / gcc / config / powerpcspe / t-linux
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 ifneq (,$(findstring spe,$(target)))
8 MULTIARCH_DIRNAME := powerpc-linux-gnuspe$(if $(findstring 8548,$(with_cpu)),,v1)
9 else
10 MULTIARCH_DIRNAME := powerpc-linux-gnu
11 endif
12 endif
13 ifneq (,$(findstring powerpcle,$(target)))
14 MULTIARCH_DIRNAME := $(subst -linux,le-linux,$(MULTIARCH_DIRNAME))
15 endif
16 ifneq (,$(findstring powerpc64le,$(target)))
17 MULTILIB_OSDIRNAMES := $(subst -linux,le-linux,$(MULTILIB_OSDIRNAMES))
18 endif
19 endif
20
21 powerpcspe-linux.o: $(srcdir)/config/powerpcspe/powerpcspe-linux.c
22 $(COMPILE) $<
23 $(POSTCOMPILE)