Skip to content

Commit f85ce54

Browse files
authored
Use correct Makefile on powerpc64
FreeBSD uses powerpc64 name for POWER architecture. Use correct Makefile for this platform.
1 parent 2601cd5 commit f85ce54

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile.system

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,11 @@ endif
10601060

10611061
KERNELDIR = $(TOPDIR)/kernel/$(ARCH)
10621062

1063+
ifneq ($(ARCH), powerpc64)
10631064
include $(TOPDIR)/Makefile.$(ARCH)
1065+
else
1066+
include $(TOPDIR)/Makefile.power
1067+
endif
10641068

10651069
CCOMMON_OPT += -DASMNAME=$(FU)$(*F) -DASMFNAME=$(FU)$(*F)$(BU) -DNAME=$(*F)$(BU) -DCNAME=$(*F) -DCHAR_NAME=\"$(*F)$(BU)\" -DCHAR_CNAME=\"$(*F)\"
10661070

0 commit comments

Comments
 (0)