support xf86-video-radeon and xf86-video-amdgpu drivers on riscv64.
from jsg@, ok kettenis@pull/1/head
parent
2ca3099c08
commit
80198aa25a
|
@ -1,4 +1,4 @@
|
|||
# $OpenBSD: Makefile,v 1.78 2021/06/15 13:57:42 drahn Exp $
|
||||
# $OpenBSD: Makefile,v 1.79 2021/06/25 19:32:01 matthieu Exp $
|
||||
|
||||
INPUT_DRV_DEFAULT= \
|
||||
xf86-input-keyboard \
|
||||
|
@ -86,7 +86,7 @@ VIDEO_DRV_powerpc64= \
|
|||
xf86-video-ati xf86-video-wsfb xf86-video-wsudl
|
||||
|
||||
VIDEO_DRV_riscv64= \
|
||||
xf86-video-wsfb xf86-video-wsudl
|
||||
xf86-video-amdgpu xf86-video-ati xf86-video-wsfb xf86-video-wsudl
|
||||
|
||||
VIDEO_DRV_sparc64= \
|
||||
xf86-video-ati xf86-video-mach64 xf86-video-r128 \
|
||||
|
|
|
@ -176,17 +176,18 @@ CPPFLAGS+= -DLLVM_AVAILABLE \
|
|||
WITH_SSE41=yes
|
||||
.endif
|
||||
|
||||
.if ${MACHINE} == amd64 || ${MACHINE} == arm64 || ${MACHINE} == i386 || \
|
||||
${MACHINE} == loongson || ${MACHINE} == macppc || \
|
||||
${MACHINE} == powerpc64 || ${MACHINE} == sparc64
|
||||
.if ${MACHINE} == "amd64" || ${MACHINE} == "arm64" || ${MACHINE} == "i386" || \
|
||||
${MACHINE} == "loongson" || ${MACHINE} == "macppc" || \
|
||||
${MACHINE} == "powerpc64" || ${MACHINE} == "riscv64" || \
|
||||
${MACHINE} == "sparc64"
|
||||
WITH_DRI_R100=yes
|
||||
WITH_DRI_R200=yes
|
||||
WITH_GALLIUM_R300=yes
|
||||
WITH_GALLIUM_R600=yes
|
||||
.endif
|
||||
|
||||
.if ${MACHINE} == "amd64" || ${MACHINE} == arm64 || ${MACHINE} == "i386" || \
|
||||
${MACHINE} == "powerpc64"
|
||||
.if ${MACHINE} == "amd64" || ${MACHINE} == "arm64" || ${MACHINE} == "i386" || \
|
||||
${MACHINE} == "powerpc64" || ${MACHINE} == "riscv64"
|
||||
WITH_GALLIUM_RADEONSI=yes
|
||||
WITH_AMD_VK=yes
|
||||
.endif
|
||||
|
|
Loading…
Reference in New Issue