Source-Changes-HG archive

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

[src/trunk]: src/share/mk make sure _OSRELEASE is defined where it is needed.



details:   https://anonhg.NetBSD.org/src/rev/5561b74b0917
branches:  trunk
changeset: 1008890:5561b74b0917
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Apr 04 23:19:08 2020 +0000

description:
make sure _OSRELEASE is defined where it is needed.

diffstat:

 share/mk/bsd.kmodule.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 7326478c9225 -r 5561b74b0917 share/mk/bsd.kmodule.mk
--- a/share/mk/bsd.kmodule.mk   Sat Apr 04 23:17:34 2020 +0000
+++ b/share/mk/bsd.kmodule.mk   Sat Apr 04 23:19:08 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.kmodule.mk,v 1.64 2020/04/04 19:50:53 christos Exp $
+#      $NetBSD: bsd.kmodule.mk,v 1.65 2020/04/04 23:19:08 christos Exp $
 
 # We are not building this with PIE
 MKPIE=no
@@ -177,9 +177,9 @@
 _INST_DIRS=    ${DESTDIR}/netbsd
 _INST_DIRS+=   ${DESTDIR}/netbsd/modules
 _INST_DIRS+=   ${DESTDIR}/netbsd/modules/${KMOD}
-_OSRELEASE!=   ${HOST_SH} $S/conf/osrelease.sh -k
 .else
 # Ensure these are recorded properly in METALOG on unprived installes:
+_OSRELEASE!=   ${HOST_SH} $S/conf/osrelease.sh -k
 KMODULEARCHDIR?= ${MACHINE}
 _INST_DIRS=    ${DESTDIR}/stand/${KMODULEARCHDIR}
 _INST_DIRS+=   ${DESTDIR}/stand/${KMODULEARCHDIR}/${_OSRELEASE}



Home | Main Index | Thread Index | Old Index