Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/common If we are modular, allow us to use modules...
details: https://anonhg.NetBSD.org/src/rev/80e85ac03af8
branches: trunk
changeset: 361096:80e85ac03af8
user: christos <christos%NetBSD.org@localhost>
date: Thu Apr 12 20:36:59 2018 +0000
description:
If we are modular, allow us to use modules for compat; don't load all the
compat code in.
diffstat:
sys/compat/common/Makefile.inc | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 59872b76112a -r 80e85ac03af8 sys/compat/common/Makefile.inc
--- a/sys/compat/common/Makefile.inc Thu Apr 12 19:12:25 2018 +0000
+++ b/sys/compat/common/Makefile.inc Thu Apr 12 20:36:59 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.23 2017/12/16 08:31:36 maxv Exp $
+# $NetBSD: Makefile.inc,v 1.24 2018/04/12 20:36:59 christos Exp $
#
# Configuration variables (default values are below):
#
@@ -17,7 +17,11 @@
# Default values:
COMPATDST?= ${.OBJDIR}/lib/compat
+.if !empty(OPT_MODULAR)
+COMPAT_AS?= library
+.else
COMPAT_AS?= obj
+.endif
COMPATDOTDIR?= ../../.
COMPATDIR= ${S:S@^.@${COMPATDOTDIR}@:Q}/compat/common
Home |
Main Index |
Thread Index |
Old Index