Use a new variable, MODULEVER, for kernel modules, tracking what's been

done elsewhere.
This commit is contained in:
riz 2012-02-17 00:33:24 +00:00
parent ca7f79a7ea
commit d77699356b
3 changed files with 6 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2011/01/18 00:22:56 jym Exp $
# $NetBSD: Makefile,v 1.2 2012/02/17 00:33:24 riz Exp $
.include <bsd.own.mk>
.include "../../common/Makefile.distrib"
@ -6,7 +6,7 @@
MKMAN= no
PROG= miniroot.kmod
SRCMOD= ${DESTDIR}/stand/${MACHINE}/${DISTRIBVER}/modules/miniroot/miniroot.kmod
SRCMOD= ${DESTDIR}/stand/${MACHINE}/${MODULEVER}/modules/miniroot/miniroot.kmod
DSTMOD= ${.OBJDIR}/miniroot.kmod
RAMDISK= ramdisk
RAMDISKDIR!= cd ${.CURDIR}/../ramdisks/${RAMDISK} && ${PRINTOBJDIR}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.distrib,v 1.8 2010/02/07 18:50:49 snj Exp $
# $NetBSD: Makefile.distrib,v 1.9 2012/02/17 00:33:25 riz Exp $
#
# Makefile snippet to setup various make variables variables used in distrib/:
#
@ -22,6 +22,7 @@ _MAKEFILE_DISTRIB_=1
DISTRIBDIR= ${NETBSDSRCDIR}/distrib
DISTRIBREV!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh -s
DISTRIBVER!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh
MODULEVER!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh -k
DISTRIBVERDEP= ${NETBSDSRCDIR}/sys/sys/param.h \
${NETBSDSRCDIR}/sys/conf/osrelease.sh

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2009/04/03 22:36:35 perry Exp $
# $NetBSD: Makefile,v 1.11 2012/02/17 00:33:25 riz Exp $
.include <bsd.own.mk>
.include "../../common/Makefile.distrib"
@ -6,7 +6,7 @@
MKMAN= no
PROG= miniroot.kmod
SRCMOD= ${DESTDIR}/stand/${MACHINE}/${DISTRIBVER}/modules/miniroot/miniroot.kmod
SRCMOD= ${DESTDIR}/stand/${MACHINE}/${MODULEVER}/modules/miniroot/miniroot.kmod
DSTMOD= ${.OBJDIR}/miniroot.kmod
RAMDISK= ramdisk-big
RAMDISKDIR!= cd ${.CURDIR}/../ramdisks/${RAMDISK} && ${PRINTOBJDIR}