Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/sysinst Update for building in usr.sbin.



details:   https://anonhg.NetBSD.org/src/rev/95ed35ed43a6
branches:  trunk
changeset: 331000:95ed35ed43a6
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sat Jul 26 19:32:22 2014 +0000

description:
Update for building in usr.sbin.

diffstat:

 usr.sbin/sysinst/Makefile.inc |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 8f6fc18e4034 -r 95ed35ed43a6 usr.sbin/sysinst/Makefile.inc
--- a/usr.sbin/sysinst/Makefile.inc     Sat Jul 26 19:30:39 2014 +0000
+++ b/usr.sbin/sysinst/Makefile.inc     Sat Jul 26 19:32:22 2014 +0000
@@ -1,7 +1,11 @@
-#      $NetBSD: Makefile.inc,v 1.1 2014/07/26 19:30:44 dholland Exp $
+#      $NetBSD: Makefile.inc,v 1.2 2014/07/26 19:32:22 dholland Exp $
 #
 # Makefile for sysinst
 
+.if exists(${.CURDIR}/../../../Makefile.inc)
+.include "${.CURDIR}/../../../Makefile.inc"
+.endif
+
 .if empty(DBG:M-g)
 COPTS += -Os
 .endif
@@ -29,7 +33,11 @@
 MENUS_MD?=     menus.md.${SYSINSTLANG}
 
 .include <bsd.own.mk>          # for mk.conf
-.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
+#.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
+
+DISTRIBVER!=   ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh
+DISTRIBVERDEP= ${NETBSDSRCDIR}/sys/sys/param.h \
+               ${NETBSDSRCDIR}/sys/conf/osrelease.sh
 
 _MKSHTARGET_CREATE?=   ${_MKSHMSG_CREATE} ${.CURDIR:T}/${.TARGET}
 



Home | Main Index | Thread Index | Old Index