[POWERPC64LE,POWEPCSPE] set default kernel config for powerpc64le and powerpcspe variants

Default KERNCONF for powerpc64le should be GENERIC64, and powerpcspe should
select MPC85XXSPE

Reviewed by:	bdragon,emaste
Sponsored by:	Eldorado Research Institute (eldorado.org.br)
Differential Revision:	https://reviews.freebsd.org/D27257
This commit is contained in:
Alfredo Dal'Ava Junior 2020-11-20 18:42:01 +00:00
parent f6854a0cd5
commit 4ae78e70f7

View File

@ -1591,6 +1591,10 @@ KERNCONF=${KERNFAST}
.endif .endif
.if ${TARGET_ARCH} == "powerpc64" .if ${TARGET_ARCH} == "powerpc64"
KERNCONF?= GENERIC64 KERNCONF?= GENERIC64
.elif ${TARGET_ARCH} == "powerpc64le"
KERNCONF?= GENERIC64LE
.elif ${TARGET_ARCH} == "powerpcspe"
KERNCONF?= MPC85XXSPE
.else .else
KERNCONF?= GENERIC KERNCONF?= GENERIC
.endif .endif