Sat May 29 12:25:08 2021 UTC ()
Switch mac68k to Xorg server 1.20. Only available driver is wsfb(4) both
for 1.10 and 1.20, and there is no reason to stay with 1.10.

XXX
1.20 works fine on WSFB* kernels with genfb(4), whereas both 1.10 and
1.20 fail for GENERIC* kernels with macfb(4) as some mandatory ioctl's
are missing. It would be better to make genfb(4) default before netbsd-10
is branched.


(rin)
diff -r1.1254 -r1.1255 src/share/mk/bsd.own.mk

cvs diff -r1.1254 -r1.1255 src/share/mk/bsd.own.mk (expand / switch to unified diff)

--- src/share/mk/bsd.own.mk 2021/05/27 21:02:56 1.1254
+++ src/share/mk/bsd.own.mk 2021/05/29 12:25:08 1.1255
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: bsd.own.mk,v 1.1254 2021/05/27 21:02:56 christos Exp $ 1# $NetBSD: bsd.own.mk,v 1.1255 2021/05/29 12:25:08 rin Exp $
2 2
3# This needs to be before bsd.init.mk 3# This needs to be before bsd.init.mk
4.if defined(BSD_MK_COMPAT_FILE) 4.if defined(BSD_MK_COMPAT_FILE)
5.include <${BSD_MK_COMPAT_FILE}> 5.include <${BSD_MK_COMPAT_FILE}>
6.endif 6.endif
7 7
8.if !defined(_BSD_OWN_MK_) 8.if !defined(_BSD_OWN_MK_)
9_BSD_OWN_MK_=1 9_BSD_OWN_MK_=1
10 10
11MAKECONF?= /etc/mk.conf 11MAKECONF?= /etc/mk.conf
12.-include "${MAKECONF}" 12.-include "${MAKECONF}"
13 13
14# 14#
@@ -1571,27 +1571,26 @@ X11SRCDIRMIT?= ${X11SRCDIR}/external/mi @@ -1571,27 +1571,26 @@ X11SRCDIRMIT?= ${X11SRCDIR}/external/mi
1571 pthread-stubs 1571 pthread-stubs
1572X11SRCDIR.${_lib}?= ${X11SRCDIRMIT}/lib${_lib}/dist 1572X11SRCDIR.${_lib}?= ${X11SRCDIRMIT}/lib${_lib}/dist
1573.endfor 1573.endfor
1574 1574
1575.for _proto in \ 1575.for _proto in \
1576 xcb- xorg 1576 xcb- xorg
1577X11SRCDIR.${_proto}proto?= ${X11SRCDIRMIT}/${_proto}proto/dist 1577X11SRCDIR.${_proto}proto?= ${X11SRCDIRMIT}/${_proto}proto/dist
1578.endfor 1578.endfor
1579 1579
1580# During transition from xorg-server 1.10 to 1.20 1580# During transition from xorg-server 1.10 to 1.20
1581.if \ 1581.if \
1582 ${MACHINE} == "alpha" || \ 1582 ${MACHINE} == "alpha" || \
1583 ${MACHINE} == "amiga" || \ 1583 ${MACHINE} == "amiga" || \
1584 ${MACHINE} == "mac68k" || \ 
1585 ${MACHINE} == "netwinder" || \ 1584 ${MACHINE} == "netwinder" || \
1586 ${MACHINE} == "sgimips" || \ 1585 ${MACHINE} == "sgimips" || \
1587 ${MACHINE} == "vax" 1586 ${MACHINE} == "vax"
1588HAVE_XORG_SERVER_VER?=110 1587HAVE_XORG_SERVER_VER?=110
1589.else 1588.else
1590HAVE_XORG_SERVER_VER?=120 1589HAVE_XORG_SERVER_VER?=120
1591.endif 1590.endif
1592 1591
1593.if ${HAVE_XORG_SERVER_VER} == "120" 1592.if ${HAVE_XORG_SERVER_VER} == "120"
1594XORG_SERVER_SUBDIR?=xorg-server 1593XORG_SERVER_SUBDIR?=xorg-server
1595. if ${MACHINE} == "amd64" || ${MACHINE} == "i386" || ${MACHINE} == "evbarm" 1594. if ${MACHINE} == "amd64" || ${MACHINE} == "i386" || ${MACHINE} == "evbarm"
1596HAVE_XORG_GLAMOR?= yes 1595HAVE_XORG_GLAMOR?= yes
1597. endif 1596. endif