diff options
author | brian <brian@FreeBSD.org> | 2000-06-15 10:00:20 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2000-06-15 10:00:20 +0000 |
commit | cc59a2825d1f5b1cb47dd960ba1668dc3ae670fd (patch) | |
tree | d4fb8c6d6406c9fe41ab08b54204ddfe583a6952 /Makefile.inc1 | |
parent | 6a344f765d65cda1689b092db6e9ea5226f20374 (diff) | |
download | FreeBSD-src-cc59a2825d1f5b1cb47dd960ba1668dc3ae670fd.zip FreeBSD-src-cc59a2825d1f5b1cb47dd960ba1668dc3ae670fd.tar.gz |
Add -DNO_KERNELDEPEND and -DNO_KERNELCONFIG
Not reviewed by: sheldonh
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 9c9090c..5fcf97f 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -14,6 +14,8 @@ # -DNOINFO do not make or install info files # -DNOLIBC_R do not build libc_r. # -DNO_FORTRAN do not build g77 and related libraries. +# -DNO_KERNELCONFIG do not run config in ${MAKE} buildkernel +# -DNO_KERNELDEPEND do not run ${MAKE} depend in ${MAKE} buildkernel # LOCAL_DIRS="list of dirs" to add additional dirs to the SUBDIR list # @@ -379,14 +381,20 @@ buildkernel: .for _kernel in ${BUILDKERNELS} @echo "===> ${_kernel}" mkdir -p ${KRNLOBJDIR} +.if !defined(NO_KERNELCONFIG) cd ${KRNLCONFDIR}; \ PATH=${TMPPATH} \ config ${CONFIGARGS} -d ${KRNLOBJDIR}/${_kernel} ${_kernel} +.endif cd ${KRNLOBJDIR}/${_kernel}; \ MAKESRCPATH=${KRNLSRCDIR}/dev/aic7xxx \ - ${MAKE} -f ${KRNLSRCDIR}/dev/aic7xxx/Makefile; \ + ${MAKE} -f ${KRNLSRCDIR}/dev/aic7xxx/Makefile +.if !defined(NO_KERNELDEPEND) + cd ${KRNLOBJDIR}/${_kernel}; \ ${WMAKEENV} MACHINE=${MACHINE} KERNEL=${_kernel} \ - ${MAKE} depend; \ + ${MAKE} depend +.endif + cd ${KRNLOBJDIR}/${_kernel}; \ ${WMAKEENV} MACHINE=${MACHINE} KERNEL=${_kernel} ${MAKE} all .endfor |