Add back "NO_MODULES" as using ``make -DMODULES_WITH_WORLD'' in the

kernel build dir doesn't really say what your intentions are.
This commit is contained in:
obrien 2000-06-17 10:56:15 +00:00
parent 8101383650
commit 47689e86a1
4 changed files with 4 additions and 4 deletions

View File

@ -274,7 +274,7 @@ kernel-reinstall kernel-reinstall.debug:
install -c -m 555 -o root -g wheel -fschg \
${KERNEL}${.TARGET:S/kernel-reinstall//} ${DESTDIR}/${KERNEL}
.if !defined(MODULES_WITH_WORLD) && exists($S/modules)
.if !defined(MODULES_WITH_WORLD) && !defined(NO_MODULES) && exists($S/modules)
all: modules
depend: modules-depend
clean: modules-clean

View File

@ -229,7 +229,7 @@ kernel-reinstall kernel-reinstall.debug:
install -c -m 555 -o root -g wheel -fschg \
${KERNEL}${.TARGET:S/kernel-reinstall//} ${DESTDIR}/${KERNEL}
.if !defined(MODULES_WITH_WORLD) && exists($S/modules)
.if !defined(MODULES_WITH_WORLD) && !defined(NO_MODULES) && exists($S/modules)
all: modules
depend: modules-depend
clean: modules-clean

View File

@ -232,7 +232,7 @@ kernel-reinstall kernel-reinstall.debug:
install -c -m 555 -o root -g wheel -fschg \
${KERNEL}${.TARGET:S/kernel-reinstall//} ${DESTDIR}/${KERNEL}
.if !defined(MODULES_WITH_WORLD) && exists($S/modules)
.if !defined(MODULES_WITH_WORLD) && !defined(NO_MODULES) && exists($S/modules)
all: modules
depend: modules-depend
clean: modules-clean

View File

@ -229,7 +229,7 @@ kernel-reinstall kernel-reinstall.debug:
install -c -m 555 -o root -g wheel -fschg \
${KERNEL}${.TARGET:S/kernel-reinstall//} ${DESTDIR}/${KERNEL}
.if !defined(MODULES_WITH_WORLD) && exists($S/modules)
.if !defined(MODULES_WITH_WORLD) && !defined(NO_MODULES) && exists($S/modules)
all: modules
depend: modules-depend
clean: modules-clean