build Xorg and some drivers appropriate for Loongson-based hw on evbmips

This commit is contained in:
macallan 2011-08-30 04:22:56 +00:00
parent 2ed951176c
commit 100ffc2f59
3 changed files with 14 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.59 2011/07/21 10:20:25 tsutsui Exp $ # $NetBSD: Makefile,v 1.60 2011/08/30 04:22:56 macallan Exp $
# xf86-input drivers # xf86-input drivers
@ -147,6 +147,13 @@ SUBDIR+= \
xf86-video-wsfb xf86-video-wsfb
.endif # ${MACHINE} == "dreamcast" .endif # ${MACHINE} == "dreamcast"
.if ${MACHINE} == "evbmips"
SUBDIR+= \
xf86-video-siliconmotion \
xf86-video-sis \
xf86-video-wsfb
.endif # ${MACHINE} == "evbmips"
.if ${MACHINE} == "ews4800mips" .if ${MACHINE} == "ews4800mips"
SUBDIR+= \ SUBDIR+= \
xf86-video-wsfb xf86-video-wsfb
@ -254,7 +261,7 @@ SUBDIR+= \
.if ${MACHINE} == "zaurus" .if ${MACHINE} == "zaurus"
SUBDIR+= \ SUBDIR+= \
xf86-video-wsfb xf86-video-wsfb
.endif ${MACHINE} == "zaurus" .endif # ${MACHINE} == "zaurus"
# broken with xorg-server 1.6 # broken with xorg-server 1.6
# x86 # x86

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.22 2011/07/21 10:20:25 tsutsui Exp $ # $NetBSD: Makefile.common,v 1.23 2011/08/30 04:22:56 macallan Exp $
# These define parts of the Xserver tree that are to be # These define parts of the Xserver tree that are to be
# conditionally compiled for different platforms. See # conditionally compiled for different platforms. See
@ -13,6 +13,7 @@
${MACHINE} == "cats" || \ ${MACHINE} == "cats" || \
${MACHINE} == "dreamcast" || \ ${MACHINE} == "dreamcast" || \
${MACHINE} == "ews4800mips" || \ ${MACHINE} == "ews4800mips" || \
${MACHINE} == "evbmips" || \
${MACHINE} == "hp300" || \ ${MACHINE} == "hp300" || \
${MACHINE} == "hpcarm" || \ ${MACHINE} == "hpcarm" || \
${MACHINE} == "hpcmips" || \ ${MACHINE} == "hpcmips" || \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.30 2011/07/21 10:20:25 tsutsui Exp $ # $NetBSD: Makefile,v 1.31 2011/08/30 04:22:56 macallan Exp $
.include "../../../Makefile.serverlib" .include "../../../Makefile.serverlib"
.include "../../../Makefile.servermod" .include "../../../Makefile.servermod"
@ -60,7 +60,8 @@ CPPFLAGS.${_FN}= -DWSCONS_SUPPORT -DUSESTDRES -DHAVE_SYSV_IPC
.if ${MACHINE} == "ews4800mips" || \ .if ${MACHINE} == "ews4800mips" || \
${MACHINE} == "hpcmips" || \ ${MACHINE} == "hpcmips" || \
${MACHINE} == "newsmips" || \ ${MACHINE} == "newsmips" || \
${MACHINE} == "sgimips" ${MACHINE} == "sgimips" || \
${MACHINE} == "evbmips"
SRCS.bsd+= ppc_video.c pm_noop.c agp_noop.c SRCS.bsd+= ppc_video.c pm_noop.c agp_noop.c
.for _FN in ${SRCS.bsd} .for _FN in ${SRCS.bsd}
CPPFLAGS.${_FN}= -DWSCONS_SUPPORT -DUSESTDRES -DHAVE_SYSV_IPC CPPFLAGS.${_FN}= -DWSCONS_SUPPORT -DUSESTDRES -DHAVE_SYSV_IPC