Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/conf do like the i386 for modular.



details:   https://anonhg.NetBSD.org/src/rev/5c0183b1f7b9
branches:  trunk
changeset: 783305:5c0183b1f7b9
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Dec 14 16:37:55 2012 +0000

description:
do like the i386 for modular.

diffstat:

 sys/arch/amd64/conf/Makefile.amd64 |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r c4070f7cfdaa -r 5c0183b1f7b9 sys/arch/amd64/conf/Makefile.amd64
--- a/sys/arch/amd64/conf/Makefile.amd64        Fri Dec 14 15:46:51 2012 +0000
+++ b/sys/arch/amd64/conf/Makefile.amd64        Fri Dec 14 16:37:55 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.amd64,v 1.40 2011/12/19 14:06:16 joerg Exp $
+#      $NetBSD: Makefile.amd64,v 1.41 2012/12/14 16:37:55 christos Exp $
 
 # Makefile for NetBSD
 #
@@ -41,7 +41,12 @@
 ##
 ## (3) libkern and compat
 ##
+OPT_MODULAR=   %MODULAR%
+.if !empty(OPT_MODULAR)
 KERN_AS=       obj
+.else
+KERN_AS=       library
+.endif
 
 ##
 ## (4) local objects, compile rules, and dependencies



Home | Main Index | Thread Index | Old Index