Add ppc64le support

This commit is contained in:
Daniel James 2019-02-20 11:43:42 -05:00
parent 55f330e6fb
commit 409eef76c9

View File

@ -108,6 +108,15 @@ ifneq ("$(filter ppc64 powerpc64,$(HOST_CPU))","")
NO_ASM := 1 NO_ASM := 1
$(warning Architecture "$(HOST_CPU)" not officially supported.') $(warning Architecture "$(HOST_CPU)" not officially supported.')
endif endif
ifneq ("$(filter ppc64le powerpc64le,$(HOST_CPU))","")
CPU := PPC
ARCH_DETECTED := 64BITS
BIG_ENDIAN := 0
PIC ?= 1
NO_ASM := 1
NO_SSE := 1
$(warning Architecture "$(HOST_CPU)" not officially supported.')
endif
ifneq ("$(filter arm%,$(HOST_CPU))","") ifneq ("$(filter arm%,$(HOST_CPU))","")
ifeq ("$(filter arm%b,$(HOST_CPU))","") ifeq ("$(filter arm%b,$(HOST_CPU))","")
CPU := ARM CPU := ARM