diff options
author | ru <ru@FreeBSD.org> | 2003-03-03 22:54:35 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-03-03 22:54:35 +0000 |
commit | 6b990c6f87f435f42f8180e31077253348b7cb54 (patch) | |
tree | aeb4407ae01f30ba444ec6487161b4a8fe1512dd /share/mk | |
parent | f9c71e51d94827e9ce6d18c09e0127db4f9e2f5a (diff) | |
download | FreeBSD-src-6b990c6f87f435f42f8180e31077253348b7cb54.zip FreeBSD-src-6b990c6f87f435f42f8180e31077253348b7cb54.tar.gz |
If we carry our MODULES_WITH_WORLD, we probably also do not want
for installkernel to wipe them out later. So install them under
/boot/modules if that is the case.
Diffstat (limited to 'share/mk')
-rw-r--r-- | share/mk/bsd.own.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index 7793cd5..50af4a5 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -115,7 +115,11 @@ BINGRP?= wheel BINMODE?= 555 NOBINMODE?= 444 +.if defined(MODULES_WITH_WORLD) +KMODDIR?= /boot/modules +.else KMODDIR?= /boot/kernel +.endif KMODOWN?= ${BINOWN} KMODGRP?= ${BINGRP} KMODMODE?= ${BINMODE} |