Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110163947
D40576.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D40576.diff
View Options
diff --git a/share/mk/bsd.cpu.mk b/share/mk/bsd.cpu.mk
--- a/share/mk/bsd.cpu.mk
+++ b/share/mk/bsd.cpu.mk
@@ -14,8 +14,12 @@
MACHINE_CPU = arm
. elif ${MACHINE_CPUARCH} == "i386"
MACHINE_CPU = i486
-. elif ${MACHINE_CPUARCH} == "powerpc"
+. elif ${MACHINE_ARCH} == "powerpc"
MACHINE_CPU = aim
+. elif ${MACHINE_ARCH} == "powerpc64"
+MACHINE_CPU = aim altivec
+. elif ${MACHINE_ARCH} == "powerpc64le"
+MACHINE_CPU = aim altivec vsx vsx2
. elif ${MACHINE_CPUARCH} == "riscv"
MACHINE_CPU = riscv
. endif
@@ -277,7 +281,9 @@
. if ${CPUTYPE} == "e500"
MACHINE_CPU = booke softfp
. elif ${CPUTYPE} == "g4"
-MACHINE_CPU = altivec
+MACHINE_CPU = aim altivec
+. else
+MACHINE_CPU= aim
. endif
. elif ${MACHINE_ARCH} == "powerpc64"
. if ${CPUTYPE} == "e5500"
@@ -289,10 +295,10 @@
. elif ${CPUTYPE} == power9
MACHINE_CPU = altivec vsx vsx2 vsx3
. else
-MACHINE_CPU = altivec
+MACHINE_CPU = aim altivec
. endif
. elif ${MACHINE_ARCH} == "powerpc64le"
-MACHINE_CPU = altivec vsx vsx2
+MACHINE_CPU = aim altivec vsx vsx2
. if ${CPUTYPE} == power9
MACHINE_CPU += vsx3
. endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 15, 12:29 PM (4 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16658382
Default Alt Text
D40576.diff (1 KB)
Attached To
Mode
D40576: share/mk/bsd.cpu.mk: handle the default case when CPUTYPE is not specified on powerpc*
Attached
Detach File
Event Timeline
Log In to Comment