mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 10:19:26 +00:00
Greatly speed up the modules `make obj' phase.
This commit is contained in:
parent
ded454a135
commit
b3a120de36
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=70253
@ -309,14 +309,14 @@ reinstall reinstall.debug: modules-reinstall
|
||||
MKMODULESENV= MAKEOBJDIRPREFIX=${.OBJDIR}/modules KMODDIR=${KODIR}
|
||||
|
||||
modules:
|
||||
@mkdir -p ${.OBJDIR}/modules
|
||||
cd $S/modules ; env ${MKMODULESENV} ${MAKE} obj ; \
|
||||
env ${MKMODULESENV} ${MAKE} all
|
||||
find ${.CURDIR}/$S/modules -type d -a ! -name CVS \
|
||||
| sed -e "s|$S/modules|modules|g" | xargs mkdir -p ; \
|
||||
cd $S/modules ; env ${MKMODULESENV} ${MAKE} all
|
||||
|
||||
modules-depend:
|
||||
@mkdir -p ${.OBJDIR}/modules
|
||||
cd $S/modules ; env ${MKMODULESENV} ${MAKE} obj ; \
|
||||
env ${MKMODULESENV} ${MAKE} depend
|
||||
find ${.CURDIR}/$S/modules -type d -a ! -name CVS \
|
||||
| sed -e "s|$S/modules|modules|g" | xargs mkdir -p ; \
|
||||
cd $S/modules ; env ${MKMODULESENV} ${MAKE} depend
|
||||
|
||||
modules-clean:
|
||||
cd $S/modules ; env ${MKMODULESENV} ${MAKE} clean
|
||||
|
@ -272,14 +272,14 @@ reinstall reinstall.debug: modules-reinstall
|
||||
MKMODULESENV= MAKEOBJDIRPREFIX=${.OBJDIR}/modules KMODDIR=${KODIR}
|
||||
|
||||
modules:
|
||||
@mkdir -p ${.OBJDIR}/modules
|
||||
cd $S/modules ; env ${MKMODULESENV} ${MAKE} obj ; \
|
||||
env ${MKMODULESENV} ${MAKE} all
|
||||
find ${.CURDIR}/$S/modules -type d -a ! -name CVS \
|
||||
| sed -e "s|$S/modules|modules|g" | xargs mkdir -p ; \
|
||||
cd $S/modules ; env ${MKMODULESENV} ${MAKE} all
|
||||
|
||||
modules-depend:
|
||||
@mkdir -p ${.OBJDIR}/modules
|
||||
cd $S/modules ; env ${MKMODULESENV} ${MAKE} obj ; \
|
||||
env ${MKMODULESENV} ${MAKE} depend
|
||||
find ${.CURDIR}/$S/modules -type d -a ! -name CVS \
|
||||
| sed -e "s|$S/modules|modules|g" | xargs mkdir -p ; \
|
||||
cd $S/modules ; env ${MKMODULESENV} ${MAKE} depend
|
||||
|
||||
modules-clean:
|
||||
cd $S/modules ; env ${MKMODULESENV} ${MAKE} clean
|
||||
|
Loading…
Reference in New Issue
Block a user