Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/conf Make /etc/mk.conf optional for kernel ...
details: https://anonhg.NetBSD.org/src/rev/2993724419c1
branches: trunk
changeset: 484859:2993724419c1
user: eeh <eeh%NetBSD.org@localhost>
date: Thu Apr 13 16:57:51 2000 +0000
description:
Make /etc/mk.conf optional for kernel builds.
diffstat:
sys/arch/sparc64/conf/Makefile.sparc64 | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (30 lines):
diff -r 9e8f53fa5e0e -r 2993724419c1 sys/arch/sparc64/conf/Makefile.sparc64
--- a/sys/arch/sparc64/conf/Makefile.sparc64 Thu Apr 13 16:27:00 2000 +0000
+++ b/sys/arch/sparc64/conf/Makefile.sparc64 Thu Apr 13 16:57:51 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.sparc64,v 1.21 2000/04/13 09:23:38 mrg Exp $
+# $NetBSD: Makefile.sparc64,v 1.22 2000/04/13 16:57:51 eeh Exp $
# Makefile for NetBSD
#
@@ -21,7 +21,12 @@
# DEBUG is set to -g if debugging.
# PROF is set to -pg if profiling.
+
+.if defined(MAKECONF) && exists(${MAKECONF})
+.include "${MAKECONF}"
+.elif exists(/etc/mk.conf)
.include "/etc/mk.conf"
+.endif
CC?= cc
.if exists(/usr/ccs/bin/ld)
@@ -160,6 +165,7 @@
sh $S/conf/newvers.sh
${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c
+
__CLEANKERNEL: .USE
@echo "${.TARGET}ing the kernel objects"
rm -f eddep *netbsd netbsd.gdb tags *.[io] [a-z]*.s \
Home |
Main Index |
Thread Index |
Old Index