Use correct Makefile on powerpc64

FreeBSD uses powerpc64 name for POWER architecture. Use correct Makefile for this platform.
This commit is contained in:
pkubaj 2018-11-30 16:05:49 +00:00 committed by GitHub
parent 2601cd58ab
commit f85ce54d4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -1060,7 +1060,11 @@ endif
KERNELDIR = $(TOPDIR)/kernel/$(ARCH)
ifneq ($(ARCH), powerpc64)
include $(TOPDIR)/Makefile.$(ARCH)
else
include $(TOPDIR)/Makefile.power
endif
CCOMMON_OPT += -DASMNAME=$(FU)$(*F) -DASMFNAME=$(FU)$(*F)$(BU) -DNAME=$(*F)$(BU) -DCNAME=$(*F) -DCHAR_NAME=\"$(*F)$(BU)\" -DCHAR_CNAME=\"$(*F)\"