summaryrefslogtreecommitdiffstats
path: root/sys/modules/Makefile
diff options
context:
space:
mode:
authorgrehan <grehan@FreeBSD.org>2005-02-03 06:12:43 +0000
committergrehan <grehan@FreeBSD.org>2005-02-03 06:12:43 +0000
commit12dfbb5459c53f49a4803cdfcf335e7acd7e70e1 (patch)
treee2e03e351ed80ae2ec61c6cede941c15d194c72b /sys/modules/Makefile
parentefb1623d98d95c16b65dff8b5bddd14e44e4f626 (diff)
downloadFreeBSD-src-12dfbb5459c53f49a4803cdfcf335e7acd7e70e1.zip
FreeBSD-src-12dfbb5459c53f49a4803cdfcf335e7acd7e70e1.tar.gz
Don't build syscons, uart or vpo on PPC.
Diffstat (limited to 'sys/modules/Makefile')
-rw-r--r--sys/modules/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index bc4d785..46f71e7 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -214,7 +214,7 @@ SUBDIR= ${_3dfx} \
twe \
tx \
txp \
- uart \
+ ${_uart} \
ubsa \
ubsec \
ubser \
@@ -246,7 +246,7 @@ SUBDIR= ${_3dfx} \
${_vesa} \
vge \
vkbd \
- vpo \
+ ${_vpo} \
vr \
vx \
wb \
@@ -259,10 +259,15 @@ SUBDIR= ${_3dfx} \
${_xe} \
xl
-.if ${MACHINE_ARCH} != "sparc64"
+.if ${MACHINE_ARCH} != "sparc64" && ${MACHINE_ARCH} != "powerpc"
_syscons= syscons
.endif
+.if ${MACHINE_ARCH} != "powerpc"
+_uart= uart
+_vpo= vpo
+.endif
+
.if defined(ALL_MODULES)
_ufs= ufs
.endif
OpenPOWER on IntegriCloud