1#
2# $FreeBSD: head/Makefile 111089 2003-02-18 17:35:20Z phk $
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".
11# world - buildworld + installworld.
12# buildkernel - Rebuild the kernel and the kernel-modules.
13# installkernel - Install the kernel and the kernel-modules.
14# reinstallkernel - Reinstall the kernel and the kernel-modules.
15# kernel - buildkernel + installkernel.
--- 188 unchanged lines hidden (view full) ---
204#
205
206upgrade: aout-to-elf
207
208${UPGRADE} : upgrade_checks
209 @cd ${.CURDIR}; \
210 ${_MAKE} -f Makefile.upgrade -m ${.CURDIR}/share/mk ${.TARGET}
211
212
213universe:
214 @echo "--------------------------------------------------------------"
215 @echo ">>> make universe started on ${STARTTIME}"
216 @echo "--------------------------------------------------------------"
217.for arch in i386 sparc64 alpha ia64
218 @printf ">> ${arch} started on `LC_ALL=C date`\n"
219 -cd ${.CURDIR} && make ${JFLAG} buildworld TARGET_ARCH=${arch} \
220 __MAKE_CONF=/dev/null \
221 > _.${arch}.buildworld 2>&1
222 @printf ">> ${arch} buildworld ended on `LC_ALL=C date`\n"
223.if exists(${.CURDIR}/sys/${arch}/conf/NOTES)
224 -cd ${.CURDIR}/sys/${arch}/conf && make LINT \
225 > _.${arch}.makeLINT 2>&1
226.endif
227 cd ${.CURDIR} && make buildkernels ARCH=${arch} TARGET_ARCH=${arch} JFLAG="${JFLAG}"
228 @printf ">> ${arch} ended on `LC_ALL=C date`\n"
229.endfor
230 @printf ">> pc98 started on `LC_ALL=C date`\n"
231 -cd ${.CURDIR} && make buildworld TARGET=pc98 TARGET_ARCH=i386 \
232 __MAKE_CONF=/dev/null \
233 > _.pc98.buildworld 2>&1
234 @printf ">> pc98 buildworld ended on `LC_ALL=C date`\n"
235.if exists(${.CURDIR}/sys/pc98/conf/NOTES)
236 -cd ${.CURDIR}/sys/pc98/conf && make LINT \
237 > _.pc98.makeLINT 2>&1
238.endif
239 cd ${.CURDIR} && make buildkernels ARCH=pc98 TARGET_ARCH=i386 \
240 JFLAG="${JFLAG}"
241 @printf ">> pc98 ended on `LC_ALL=C date`\n"
242 @echo "--------------------------------------------------------------"
243 @printf ">>> make universe completed on `LC_ALL=C date`\n (started ${STARTTIME})\n"
244 @echo "--------------------------------------------------------------"
245
246KERNCONFS != echo ${.CURDIR}/sys/${ARCH}/conf/[A-Z]*
247KERNCONF2 = ${KERNCONFS:T:N*[a-z]*:NCVS:NNOTES}
248
249buildkernels:
250.for kernel in ${KERNCONF2}
251.if exists(${.CURDIR}/sys/${ARCH}/conf/${kernel})
252 -cd ${.CURDIR} && make ${JFLAG} buildkernel \
253 ARCH=${ARCH} TARGET_ARCH=${TARGET_ARCH} KERNCONF=${kernel} \
254 __MAKE_CONF=/dev/null \
255 > _.${ARCH}.${kernel} 2>&1
256.endif
257.endfor
2# $FreeBSD: head/Makefile 111089 2003-02-18 17:35:20Z phk $
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".
11# world - buildworld + installworld.
12# buildkernel - Rebuild the kernel and the kernel-modules.
13# installkernel - Install the kernel and the kernel-modules.
14# reinstallkernel - Reinstall the kernel and the kernel-modules.
15# kernel - buildkernel + installkernel.
--- 188 unchanged lines hidden (view full) ---
204#
205
206upgrade: aout-to-elf
207
208${UPGRADE} : upgrade_checks
209 @cd ${.CURDIR}; \
210 ${_MAKE} -f Makefile.upgrade -m ${.CURDIR}/share/mk ${.TARGET}
211
212
213universe:
214 @echo "--------------------------------------------------------------"
215 @echo ">>> make universe started on ${STARTTIME}"
216 @echo "--------------------------------------------------------------"
217.for arch in i386 sparc64 alpha ia64
218 @printf ">> ${arch} started on `LC_ALL=C date`\n"
219 -cd ${.CURDIR} && make ${JFLAG} buildworld TARGET_ARCH=${arch} \
220 __MAKE_CONF=/dev/null \
221 > _.${arch}.buildworld 2>&1
222 @printf ">> ${arch} buildworld ended on `LC_ALL=C date`\n"
223.if exists(${.CURDIR}/sys/${arch}/conf/NOTES)
224 -cd ${.CURDIR}/sys/${arch}/conf && make LINT \
225 > _.${arch}.makeLINT 2>&1
226.endif
227 cd ${.CURDIR} && make buildkernels ARCH=${arch} TARGET_ARCH=${arch} JFLAG="${JFLAG}"
228 @printf ">> ${arch} ended on `LC_ALL=C date`\n"
229.endfor
230 @printf ">> pc98 started on `LC_ALL=C date`\n"
231 -cd ${.CURDIR} && make buildworld TARGET=pc98 TARGET_ARCH=i386 \
232 __MAKE_CONF=/dev/null \
233 > _.pc98.buildworld 2>&1
234 @printf ">> pc98 buildworld ended on `LC_ALL=C date`\n"
235.if exists(${.CURDIR}/sys/pc98/conf/NOTES)
236 -cd ${.CURDIR}/sys/pc98/conf && make LINT \
237 > _.pc98.makeLINT 2>&1
238.endif
239 cd ${.CURDIR} && make buildkernels ARCH=pc98 TARGET_ARCH=i386 \
240 JFLAG="${JFLAG}"
241 @printf ">> pc98 ended on `LC_ALL=C date`\n"
242 @echo "--------------------------------------------------------------"
243 @printf ">>> make universe completed on `LC_ALL=C date`\n (started ${STARTTIME})\n"
244 @echo "--------------------------------------------------------------"
245
246KERNCONFS != echo ${.CURDIR}/sys/${ARCH}/conf/[A-Z]*
247KERNCONF2 = ${KERNCONFS:T:N*[a-z]*:NCVS:NNOTES}
248
249buildkernels:
250.for kernel in ${KERNCONF2}
251.if exists(${.CURDIR}/sys/${ARCH}/conf/${kernel})
252 -cd ${.CURDIR} && make ${JFLAG} buildkernel \
253 ARCH=${ARCH} TARGET_ARCH=${TARGET_ARCH} KERNCONF=${kernel} \
254 __MAKE_CONF=/dev/null \
255 > _.${ARCH}.${kernel} 2>&1
256.endif
257.endfor