xorg.conf for loongson.

This commit is contained in:
matthieu 2010-01-31 14:28:45 +00:00
parent 3d3e2130f8
commit 062f15df11
2 changed files with 14 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.34 2010/01/10 13:36:10 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.35 2010/01/31 14:28:45 matthieu Exp $
.include <bsd.own.mk>
LOCALAPPD=/usr/local/lib/X11/app-defaults
@ -95,8 +95,8 @@ release-clean:
release-install:
@${MAKE} install
.if ${MACHINE} == alpha || ${MACHINE} == hp300 || ${MACHINE} == mac68k || \
${MACHINE} == macppc || ${MACHINE} == sgi || \
.if ${MACHINE} == alpha || ${MACHINE} == hp300 || ${MACHINE} == loongson || \
${MACHINE} == mac68k || ${MACHINE} == macppc || ${MACHINE} == sgi || \
${MACHINE} == vax || ${MACHINE} == zaurus
@if [ -f $(DESTDIR)/etc/X11/xorg.conf ]; then \
echo "Not overwriting existing" $(DESTDIR)/etc/X11/xorg.conf; \

View File

@ -0,0 +1,11 @@
#
# $OpenBSD: xorg.conf,v 1.1 2010/01/31 14:28:45 matthieu Exp $
#
# Force loading of modules
#
Section "Module"
Load "shadow"
Load "fb"
Load "dri"
Load "dri2"
EndSection