Deleted Added
full compact
Makefile (159862) Makefile (162147)
1#
1#
2# $FreeBSD: head/Makefile 159862 2006-06-22 16:52:53Z imp $
2# $FreeBSD: head/Makefile 162147 2006-09-08 10:13:15Z 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".

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

53# 7. `make installworld'
54# 8. `make delete-old'
55# 9. `mergemaster'
56# 10. `reboot'
57# 11. `make delete-old-libs' (in case no 3rd party program uses them anymore)
58#
59# See src/UPDATING `COMMON ITEMS' for more complete information.
60#
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".

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

53# 7. `make installworld'
54# 8. `make delete-old'
55# 9. `mergemaster'
56# 10. `reboot'
57# 11. `make delete-old-libs' (in case no 3rd party program uses them anymore)
58#
59# See src/UPDATING `COMMON ITEMS' for more complete information.
60#
61# If TARGET_ARCH=arch (e.g. ia64, sparc64, ...) is specified you can
62# cross build world for other architectures using the buildworld target,
61# If TARGET=machine (e.g. ia64, sparc64, ...) is specified you can
62# cross build world for other machine types using the buildworld target,
63# and once the world is built you can cross build a kernel using the
64# buildkernel target.
65#
66# Define the user-driven targets. These are listed here in alphabetical
67# order, but that's not important.
68#
69# Targets that begin with underscore are internal targets intended for
70# developer convenience only. They are intentionally not documented and

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

261# existing system is.
262#
263.if make(universe)
264universe: universe_prologue
265universe_prologue:
266 @echo "--------------------------------------------------------------"
267 @echo ">>> make universe started on ${STARTTIME}"
268 @echo "--------------------------------------------------------------"
63# and once the world is built you can cross build a kernel using the
64# buildkernel target.
65#
66# Define the user-driven targets. These are listed here in alphabetical
67# order, but that's not important.
68#
69# Targets that begin with underscore are internal targets intended for
70# developer convenience only. They are intentionally not documented and

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

261# existing system is.
262#
263.if make(universe)
264universe: universe_prologue
265universe_prologue:
266 @echo "--------------------------------------------------------------"
267 @echo ">>> make universe started on ${STARTTIME}"
268 @echo "--------------------------------------------------------------"
269.for target in i386 i386:pc98 sparc64 ia64 amd64
270.for arch in ${target:C/:.*$//}
271.for mach in ${target:C/^.*://}
272KERNCONFS!= cd ${.CURDIR}/sys/${mach}/conf && \
269.for target in amd64 i386 ia64 pc98 sparc64
270KERNCONFS!= cd ${.CURDIR}/sys/${target}/conf && \
273 find [A-Z]*[A-Z] -type f -maxdepth 0 \
274 ! -name DEFAULTS ! -name LINT
275KERNCONFS:= ${KERNCONFS:S/^NOTES$/LINT/}
271 find [A-Z]*[A-Z] -type f -maxdepth 0 \
272 ! -name DEFAULTS ! -name LINT
273KERNCONFS:= ${KERNCONFS:S/^NOTES$/LINT/}
276universe: universe_${mach}
277.ORDER: universe_prologue universe_${mach} universe_epilogue
278universe_${mach}:
279 @echo ">> ${mach} started on `LC_ALL=C date`"
274universe: universe_${target}
275.ORDER: universe_prologue universe_${target} universe_epilogue
276universe_${target}:
277 @echo ">> ${target} started on `LC_ALL=C date`"
280 -cd ${.CURDIR} && ${MAKE} ${JFLAG} buildworld \
278 -cd ${.CURDIR} && ${MAKE} ${JFLAG} buildworld \
281 TARGET_ARCH=${arch} TARGET=${mach} \
279 TARGET=${target} \
282 __MAKE_CONF=/dev/null \
280 __MAKE_CONF=/dev/null \
283 > _.${mach}.buildworld 2>&1
284 @echo ">> ${mach} buildworld completed on `LC_ALL=C date`"
285.if exists(${.CURDIR}/sys/${mach}/conf/NOTES)
286 -cd ${.CURDIR}/sys/${mach}/conf && ${MAKE} LINT \
287 > ${.CURDIR}/_.${mach}.makeLINT 2>&1
281 > _.${target}.buildworld 2>&1
282 @echo ">> ${target} buildworld completed on `LC_ALL=C date`"
283.if exists(${.CURDIR}/sys/${target}/conf/NOTES)
284 -cd ${.CURDIR}/sys/${target}/conf && ${MAKE} LINT \
285 > ${.CURDIR}/_.${target}.makeLINT 2>&1
288.endif
289.for kernel in ${KERNCONFS}
290 -cd ${.CURDIR} && ${MAKE} ${JFLAG} buildkernel \
286.endif
287.for kernel in ${KERNCONFS}
288 -cd ${.CURDIR} && ${MAKE} ${JFLAG} buildkernel \
291 TARGET_ARCH=${arch} TARGET=${mach} \
289 TARGET=${target} \
292 KERNCONF=${kernel} \
293 __MAKE_CONF=/dev/null \
290 KERNCONF=${kernel} \
291 __MAKE_CONF=/dev/null \
294 > _.${mach}.${kernel} 2>&1
292 > _.${target}.${kernel} 2>&1
295.endfor
293.endfor
296 @echo ">> ${mach} completed on `LC_ALL=C date`"
294 @echo ">> ${target} completed on `LC_ALL=C date`"
297.endfor
295.endfor
298.endfor
299.endfor
300universe: universe_epilogue
301universe_epilogue:
302 @echo "--------------------------------------------------------------"
303 @echo ">>> make universe completed on `LC_ALL=C date`"
304 @echo " (started ${STARTTIME})"
305 @echo "--------------------------------------------------------------"
306.endif
296universe: universe_epilogue
297universe_epilogue:
298 @echo "--------------------------------------------------------------"
299 @echo ">>> make universe completed on `LC_ALL=C date`"
300 @echo " (started ${STARTTIME})"
301 @echo "--------------------------------------------------------------"
302.endif