Skip to content

Commit 3c9e3fa

Browse files
authored
fixup BSD naming of powerpc arch
1 parent f85ce54 commit 3c9e3fa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Makefile.system

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ endif
1111

1212
# Catch conflicting usage of ARCH in some BSD environments
1313
ifeq ($(ARCH), amd64)
14-
override ARCH=x86_64
14+
override ARCH=x86_64
15+
else ifeq ($(ARCH), powerpc64)
16+
override ARCH=power
17+
endif
18+
1519
endif
1620

1721
NETLIB_LAPACK_DIR = $(TOPDIR)/lapack-netlib
@@ -1060,11 +1064,7 @@ endif
10601064

10611065
KERNELDIR = $(TOPDIR)/kernel/$(ARCH)
10621066

1063-
ifneq ($(ARCH), powerpc64)
10641067
include $(TOPDIR)/Makefile.$(ARCH)
1065-
else
1066-
include $(TOPDIR)/Makefile.power
1067-
endif
10681068

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

0 commit comments

Comments
 (0)