Back out the modules `make obj' speedup.

I cannot find a way to do this with the more esoteric source dir schemes
I thought of.
This commit is contained in:
David E. O'Brien 2000-12-24 13:29:58 +00:00
parent e3b7d1782a
commit 1bc9ef1684
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=70332
5 changed files with 30 additions and 30 deletions

View File

@ -309,14 +309,14 @@ reinstall reinstall.debug: modules-reinstall
MKMODULESENV= MAKEOBJDIRPREFIX=${.OBJDIR}/modules KMODDIR=${KODIR}
modules:
find $S/modules -type d -a ! -name CVS \
| sed -e "s|$S/modules|modules|g" | xargs mkdir -p ; \
cd $S/modules ; env ${MKMODULESENV} ${MAKE} all
@mkdir -p ${.OBJDIR}/modules
cd $S/modules ; env ${MKMODULESENV} ${MAKE} obj ; \
env ${MKMODULESENV} ${MAKE} all
modules-depend:
find $S/modules -type d -a ! -name CVS \
| sed -e "s|$S/modules|modules|g" | xargs mkdir -p ; \
cd $S/modules ; env ${MKMODULESENV} ${MAKE} depend
@mkdir -p ${.OBJDIR}/modules
cd $S/modules ; env ${MKMODULESENV} ${MAKE} obj ; \
env ${MKMODULESENV} ${MAKE} depend
modules-clean:
cd $S/modules ; env ${MKMODULESENV} ${MAKE} clean

View File

@ -270,14 +270,14 @@ reinstall reinstall.debug: modules-reinstall
MKMODULESENV= MAKEOBJDIRPREFIX=${.OBJDIR}/modules KMODDIR=${KODIR}
modules:
find $S/modules -type d -a ! -name CVS \
| sed -e "s|$S/modules|modules|g" | xargs mkdir -p ; \
cd $S/modules ; env ${MKMODULESENV} ${MAKE} all
@mkdir -p ${.OBJDIR}/modules
cd $S/modules ; env ${MKMODULESENV} ${MAKE} obj ; \
env ${MKMODULESENV} ${MAKE} all
modules-depend:
find $S/modules -type d -a ! -name CVS \
| sed -e "s|$S/modules|modules|g" | xargs mkdir -p ; \
cd $S/modules ; env ${MKMODULESENV} ${MAKE} depend
@mkdir -p ${.OBJDIR}/modules
cd $S/modules ; env ${MKMODULESENV} ${MAKE} obj ; \
env ${MKMODULESENV} ${MAKE} depend
modules-clean:
cd $S/modules ; env ${MKMODULESENV} ${MAKE} clean

View File

@ -272,14 +272,14 @@ reinstall reinstall.debug: modules-reinstall
MKMODULESENV= MAKEOBJDIRPREFIX=${.OBJDIR}/modules KMODDIR=${KODIR}
modules:
find $S/modules -type d -a ! -name CVS \
| sed -e "s|$S/modules|modules|g" | xargs mkdir -p ; \
cd $S/modules ; env ${MKMODULESENV} ${MAKE} all
@mkdir -p ${.OBJDIR}/modules
cd $S/modules ; env ${MKMODULESENV} ${MAKE} obj ; \
env ${MKMODULESENV} ${MAKE} all
modules-depend:
find $S/modules -type d -a ! -name CVS \
| sed -e "s|$S/modules|modules|g" | xargs mkdir -p ; \
cd $S/modules ; env ${MKMODULESENV} ${MAKE} depend
@mkdir -p ${.OBJDIR}/modules
cd $S/modules ; env ${MKMODULESENV} ${MAKE} obj ; \
env ${MKMODULESENV} ${MAKE} depend
modules-clean:
cd $S/modules ; env ${MKMODULESENV} ${MAKE} clean

View File

@ -274,14 +274,14 @@ MKMODULESENV= MAKEOBJDIRPREFIX=${.OBJDIR}/modules KMODDIR=${KODIR}
MKMODULESENV+= MACHINE=pc98
modules:
find $S/modules -type d -a ! -name CVS \
| sed -e "s|$S/modules|modules|g" | xargs mkdir -p ; \
cd $S/modules ; env ${MKMODULESENV} ${MAKE} all
@mkdir -p ${.OBJDIR}/modules
cd $S/modules ; env ${MKMODULESENV} ${MAKE} obj ; \
env ${MKMODULESENV} ${MAKE} all
modules-depend:
find $S/modules -type d -a ! -name CVS \
| sed -e "s|$S/modules|modules|g" | xargs mkdir -p ; \
cd $S/modules ; env ${MKMODULESENV} ${MAKE} depend
@mkdir -p ${.OBJDIR}/modules
cd $S/modules ; env ${MKMODULESENV} ${MAKE} obj ; \
env ${MKMODULESENV} ${MAKE} depend
modules-clean:
cd $S/modules ; env ${MKMODULESENV} ${MAKE} clean

View File

@ -270,14 +270,14 @@ reinstall reinstall.debug: modules-reinstall
MKMODULESENV= MAKEOBJDIRPREFIX=${.OBJDIR}/modules KMODDIR=${KODIR}
modules:
find $S/modules -type d -a ! -name CVS \
| sed -e "s|$S/modules|modules|g" | xargs mkdir -p ; \
cd $S/modules ; env ${MKMODULESENV} ${MAKE} all
@mkdir -p ${.OBJDIR}/modules
cd $S/modules ; env ${MKMODULESENV} ${MAKE} obj ; \
env ${MKMODULESENV} ${MAKE} all
modules-depend:
find $S/modules -type d -a ! -name CVS \
| sed -e "s|$S/modules|modules|g" | xargs mkdir -p ; \
cd $S/modules ; env ${MKMODULESENV} ${MAKE} depend
@mkdir -p ${.OBJDIR}/modules
cd $S/modules ; env ${MKMODULESENV} ${MAKE} obj ; \
env ${MKMODULESENV} ${MAKE} depend
modules-clean:
cd $S/modules ; env ${MKMODULESENV} ${MAKE} clean