Deleted Added
full compact
Makefile (148051) Makefile (148154)
1#
1#
2# $FreeBSD: head/Makefile 148051 2005-07-15 14:38:54Z ru $
2# $FreeBSD: head/Makefile 148154 2005-07-19 11:21:14Z ru $
3#
4# The user-driven targets are:
5#
6# universe - *Really* build *everything* (buildworld and
7# all kernels on all architectures).
8# buildworld - Rebuild *everything*, including glue to help do
9# upgrades.
10# installworld - Install everything built by "buildworld".

--- 238 unchanged lines hidden (view full) ---

249
250#
251# universe
252#
253# Attempt to rebuild *everything* for all supported architectures,
254# with a reasonable chance of success, regardless of how old your
255# existing system is.
256#
3#
4# The user-driven targets are:
5#
6# universe - *Really* build *everything* (buildworld and
7# all kernels on all architectures).
8# buildworld - Rebuild *everything*, including glue to help do
9# upgrades.
10# installworld - Install everything built by "buildworld".

--- 238 unchanged lines hidden (view full) ---

249
250#
251# universe
252#
253# Attempt to rebuild *everything* for all supported architectures,
254# with a reasonable chance of success, regardless of how old your
255# existing system is.
256#
257.if make(universe)
257universe: universe_prologue
258universe_prologue:
259 @echo "--------------------------------------------------------------"
260 @echo ">>> make universe started on ${STARTTIME}"
261 @echo "--------------------------------------------------------------"
262.for target in i386 i386:pc98 sparc64 alpha ia64 amd64
263.for arch in ${target:C/:.*$//}
264.for mach in ${target:C/^.*://}
258universe: universe_prologue
259universe_prologue:
260 @echo "--------------------------------------------------------------"
261 @echo ">>> make universe started on ${STARTTIME}"
262 @echo "--------------------------------------------------------------"
263.for target in i386 i386:pc98 sparc64 alpha ia64 amd64
264.for arch in ${target:C/:.*$//}
265.for mach in ${target:C/^.*://}
266KERNCONFS!= cd ${.CURDIR}/sys/${mach}/conf && \
267 find [A-Z]*[A-Z] -type f -maxdepth 0
268KERNCONFS:= ${KERNCONFS:S/^NOTES$/LINT/}
265universe: universe_${mach}
266.ORDER: universe_prologue universe_${mach} universe_epilogue
267universe_${mach}:
268 @echo ">> ${mach} started on `LC_ALL=C date`"
269 -cd ${.CURDIR} && ${MAKE} ${JFLAG} buildworld \
270 TARGET_ARCH=${arch} TARGET=${mach} \
271 __MAKE_CONF=/dev/null \
272 > _.${mach}.buildworld 2>&1
273 @echo ">> ${mach} buildworld completed on `LC_ALL=C date`"
274.if exists(${.CURDIR}/sys/${mach}/conf/NOTES)
275 -cd ${.CURDIR}/sys/${mach}/conf && ${MAKE} LINT \
276 > ${.CURDIR}/_.${mach}.makeLINT 2>&1
277.endif
269universe: universe_${mach}
270.ORDER: universe_prologue universe_${mach} universe_epilogue
271universe_${mach}:
272 @echo ">> ${mach} started on `LC_ALL=C date`"
273 -cd ${.CURDIR} && ${MAKE} ${JFLAG} buildworld \
274 TARGET_ARCH=${arch} TARGET=${mach} \
275 __MAKE_CONF=/dev/null \
276 > _.${mach}.buildworld 2>&1
277 @echo ">> ${mach} buildworld completed on `LC_ALL=C date`"
278.if exists(${.CURDIR}/sys/${mach}/conf/NOTES)
279 -cd ${.CURDIR}/sys/${mach}/conf && ${MAKE} LINT \
280 > ${.CURDIR}/_.${mach}.makeLINT 2>&1
281.endif
278 cd ${.CURDIR} && ${MAKE} buildkernels TARGET_ARCH=${arch} TARGET=${mach}
282.for kernel in ${KERNCONFS}
283 -cd ${.CURDIR} && ${MAKE} ${JFLAG} buildkernel \
284 TARGET_ARCH=${arch} TARGET=${mach} \
285 KERNCONF=${kernel} \
286 __MAKE_CONF=/dev/null \
287 > _.${mach}.${kernel} 2>&1
288.endfor
279 @echo ">> ${mach} completed on `LC_ALL=C date`"
280.endfor
281.endfor
282.endfor
283universe: universe_epilogue
284universe_epilogue:
285 @echo "--------------------------------------------------------------"
286 @echo ">>> make universe completed on `LC_ALL=C date`"
287 @echo " (started ${STARTTIME})"
288 @echo "--------------------------------------------------------------"
289 @echo ">> ${mach} completed on `LC_ALL=C date`"
290.endfor
291.endfor
292.endfor
293universe: universe_epilogue
294universe_epilogue:
295 @echo "--------------------------------------------------------------"
296 @echo ">>> make universe completed on `LC_ALL=C date`"
297 @echo " (started ${STARTTIME})"
298 @echo "--------------------------------------------------------------"
289
290.if make(buildkernels)
291KERNCONFS!= cd ${.CURDIR}/sys/${TARGET}/conf && \
292 find [A-Z]*[A-Z] -type f -maxdepth 0 ! -name NOTES
293buildkernels:
294.for kernel in ${KERNCONFS}
295 -cd ${.CURDIR} && ${MAKE} ${JFLAG} buildkernel \
296 KERNCONF=${kernel} \
297 __MAKE_CONF=/dev/null \
298 > _.${TARGET}.${kernel} 2>&1
299.endfor
300.endif
299.endif