From 379e8aa7eca8ee23ea3cb36a80232be2136a751e Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Mon, 3 Mar 2003 22:54:35 +0000 Subject: [PATCH] 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. --- share/mk/bsd.own.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index 7793cd538f0f..50af4a5eb78c 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}