Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/modules Group some PCI only modules together and only bu...



details:   https://anonhg.NetBSD.org/src/rev/9676b9939a45
branches:  trunk
changeset: 745343:9676b9939a45
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Feb 29 11:03:44 2020 +0000

description:
Group some PCI only modules together and only build them on a subset of
platforms.  The list is not complete.

diffstat:

 sys/modules/Makefile |  15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diffs (43 lines):

diff -r f6220c0d64a5 -r 9676b9939a45 sys/modules/Makefile
--- a/sys/modules/Makefile      Sat Feb 29 09:38:10 2020 +0000
+++ b/sys/modules/Makefile      Sat Feb 29 11:03:44 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.239 2020/02/27 06:30:56 yamaguchi Exp $
+#      $NetBSD: Makefile,v 1.240 2020/02/29 11:03:44 skrll Exp $
 
 .include <bsd.own.mk>
 
@@ -79,7 +79,6 @@
 SUBDIR+=       if_faith
 SUBDIR+=       if_gif
 SUBDIR+=       if_gre
-SUBDIR+=       if_ixl
 SUBDIR+=       if_kue
 SUBDIR+=       if_l2tp
 SUBDIR+=       if_loop
@@ -182,7 +181,6 @@
 SUBDIR+=       zlib
 SUBDIR+=       tprof
 .if (defined(NOTYET))
-SUBDIR+=       hifn            # Builds on architectures with PCI bus
 SUBDIR+=       unionfs
 .endif
 .if ${MKBINUTILS} != "no"
@@ -232,9 +230,14 @@
 SUBDIR+=       nvmm
 .endif
 
-.if ${MACHINE_ARCH} == "i386" || \
-    ${MACHINE_ARCH} == "x86_64"
-SUBDIR+=       ubsec           # Builds on architectures with PCI bus
+# Builds on architectures with PCI bus
+.if \
+     ${MACHINE_ARCH} == "evbarm" || \
+     ${MACHINE_ARCH} == "i386" || \
+     ${MACHINE_ARCH} == "x86_64"
+SUBDIR+=       hifn
+SUBDIR+=       if_ixl
+SUBDIR+=       ubsec
 .endif
 
 .if ${MKSLJIT} != "no"



Home | Main Index | Thread Index | Old Index