13540f0e1SJordan K. Hubbard# 297d92980SPeter Wemm# $FreeBSD$ 3cf763a57SJohn Birrell# 411fb97daSJohn Birrell# The user-driven targets are: 5cf763a57SJohn Birrell# 61f4f7670SRuslan Ermilov# universe - *Really* build *everything* (buildworld and 71f4f7670SRuslan Ermilov# all kernels on all architectures). 811fb97daSJohn Birrell# buildworld - Rebuild *everything*, including glue to help do 911fb97daSJohn Birrell# upgrades. 1011fb97daSJohn Birrell# installworld - Install everything built by "buildworld". 11fb55e855STom Rhodes# world - buildworld + installworld, no kernel. 1200eb8cbdSAlexander Langer# buildkernel - Rebuild the kernel and the kernel-modules. 1300eb8cbdSAlexander Langer# installkernel - Install the kernel and the kernel-modules. 140147d2aaSHidetoshi Shimokawa# installkernel.debug 15737ffab7SMark Murray# reinstallkernel - Reinstall the kernel and the kernel-modules. 160147d2aaSHidetoshi Shimokawa# reinstallkernel.debug 17bc4311beSDavid E. O'Brien# kernel - buildkernel + installkernel. 18becc5c62SAlexander Leidinger# doxygen - Build API documentation of the kernel, needs doxygen. 1911fb97daSJohn Birrell# update - Convenient way to update your source tree (cvs). 2032cd239bSDag-Erling Smørgrav# check-old - List obsolete directories/files/libraries. 2132cd239bSDag-Erling Smørgrav# check-old-dirs - List obsolete directories. 2232cd239bSDag-Erling Smørgrav# check-old-files - List obsolete files. 2332cd239bSDag-Erling Smørgrav# check-old-libs - List obsolete libraries. 2432cd239bSDag-Erling Smørgrav# delete-old - Delete obsolete directories/files/libraries. 2532cd239bSDag-Erling Smørgrav# delete-old-dirs - Delete obsolete directories. 2632cd239bSDag-Erling Smørgrav# delete-old-files - Delete obsolete files. 2732cd239bSDag-Erling Smørgrav# delete-old-libs - Delete obsolete libraries. 283540f0e1SJordan K. Hubbard# 2911fb97daSJohn Birrell# This makefile is simple by design. The FreeBSD make automatically reads 3011fb97daSJohn Birrell# the /usr/share/mk/sys.mk unless the -m argument is specified on the 3111fb97daSJohn Birrell# command line. By keeping this makefile simple, it doesn't matter too 3211fb97daSJohn Birrell# much how different the installed mk files are from those in the source 3311fb97daSJohn Birrell# tree. This makefile executes a child make process, forcing it to use 3411fb97daSJohn Birrell# the mk files from the source tree which are supposed to DTRT. 3511fb97daSJohn Birrell# 36912422f0SGiorgos Keramidas# The user-driven targets (as listed above) are implemented in Makefile.inc1. 3711fb97daSJohn Birrell# 3876fdd728SJohn W. De Boskey# If you want to build your system from source be sure that /usr/obj has 39753eda06SPav Lucistnik# at least 800MB of diskspace available. 4011fb97daSJohn Birrell# 4176fdd728SJohn W. De Boskey# For individuals wanting to build from the sources currently on their 4276fdd728SJohn W. De Boskey# system, the simple instructions are: 4311fb97daSJohn Birrell# 4476fdd728SJohn W. De Boskey# 1. `cd /usr/src' (or to the directory containing your source tree). 45fb55e855STom Rhodes# 2. Define `HISTORICAL_MAKE_WORLD' variable (see README). 46fb55e855STom Rhodes# 3. `make world' 4711fb97daSJohn Birrell# 4876fdd728SJohn W. De Boskey# For individuals wanting to upgrade their sources (even if only a 4976fdd728SJohn W. De Boskey# delta of a few days): 5076fdd728SJohn W. De Boskey# 5176fdd728SJohn W. De Boskey# 1. `cd /usr/src' (or to the directory containing your source tree). 5276fdd728SJohn W. De Boskey# 2. `make buildworld' 5376fdd728SJohn W. De Boskey# 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). 5476fdd728SJohn W. De Boskey# 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). 552c5e89c2SDavid E. O'Brien# [steps 3. & 4. can be combined by using the "kernel" target] 5676fdd728SJohn W. De Boskey# 5. `reboot' (in single user mode: boot -s from the loader prompt). 5776fdd728SJohn W. De Boskey# 6. `mergemaster -p' 5876fdd728SJohn W. De Boskey# 7. `make installworld' 59e2a36081SAlexander Leidinger# 8. `make delete-old' 60fbf4979aSRobert Watson# 9. `mergemaster' (you may wish to use -U or -ai). 61e2a36081SAlexander Leidinger# 10. `reboot' 62e2a36081SAlexander Leidinger# 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) 6376fdd728SJohn W. De Boskey# 6476fdd728SJohn W. De Boskey# See src/UPDATING `COMMON ITEMS' for more complete information. 6511fb97daSJohn Birrell# 661fde59f3SRuslan Ermilov# If TARGET=machine (e.g. ia64, sparc64, ...) is specified you can 671fde59f3SRuslan Ermilov# cross build world for other machine types using the buildworld target, 68dbc3719dSMatthew Dillon# and once the world is built you can cross build a kernel using the 69dbc3719dSMatthew Dillon# buildkernel target. 70dbc3719dSMatthew Dillon# 7111fb97daSJohn Birrell# Define the user-driven targets. These are listed here in alphabetical 7211fb97daSJohn Birrell# order, but that's not important. 7311fb97daSJohn Birrell# 74ef7af95aSPeter Wemm# Targets that begin with underscore are internal targets intended for 75ef7af95aSPeter Wemm# developer convenience only. They are intentionally not documented and 76ef7af95aSPeter Wemm# completely subject to change without notice. 77ef7af95aSPeter Wemm# 7879e19f08SJohn Baldwin# For more information, see the build(7) manual page. 7979e19f08SJohn Baldwin# 8032cd239bSDag-Erling SmørgravTGTS= all all-man buildenv buildenvvars buildkernel buildworld \ 8132cd239bSDag-Erling Smørgrav check-old check-old-dirs check-old-files check-old-libs \ 8232cd239bSDag-Erling Smørgrav checkdpadd clean cleandepend cleandir \ 8332cd239bSDag-Erling Smørgrav delete-old delete-old-dirs delete-old-files delete-old-libs \ 84621e4ae1SWarner Losh depend distribute distributeworld distrib-dirs distribution doxygen \ 85becc5c62SAlexander Leidinger everything hierarchy install installcheck installkernel \ 86becc5c62SAlexander Leidinger installkernel.debug reinstallkernel reinstallkernel.debug \ 87becc5c62SAlexander Leidinger installworld kernel-toolchain libraries lint maninstall \ 88c3ed02cfSRuslan Ermilov obj objlink regress rerelease showconfig tags toolchain update \ 89ef7af95aSPeter Wemm _worldtmp _legacy _bootstrap-tools _cleanobj _obj \ 901d9468eeSPeter Wemm _build-tools _cross-tools _includes _libraries _depend \ 91ece6831dSRuslan Ermilov build32 distribute32 install32 92902f7c5bSRuslan ErmilovTGTS+= ${SUBDIR_TARGETS} 936e59a256SMarcel Moolenaar 94af2dc868SRuslan ErmilovBITGTS= files includes 9528d2080aSRuslan ErmilovBITGTS:=${BITGTS} ${BITGTS:S/^/build/} ${BITGTS:S/^/install/} 96b797df80SRuslan ErmilovTGTS+= ${BITGTS} 9728d2080aSRuslan Ermilov 98d672a609SRuslan Ermilov.ORDER: buildworld installworld 998f1f55e9SRuslan Ermilov.ORDER: buildworld distributeworld 10020902bd3SRuslan Ermilov.ORDER: buildworld buildkernel 101d672a609SRuslan Ermilov.ORDER: buildkernel installkernel 1020147d2aaSHidetoshi Shimokawa.ORDER: buildkernel installkernel.debug 103d672a609SRuslan Ermilov.ORDER: buildkernel reinstallkernel 1040147d2aaSHidetoshi Shimokawa.ORDER: buildkernel reinstallkernel.debug 105d672a609SRuslan Ermilov 10676499f15SRuslan ErmilovPATH= /sbin:/bin:/usr/sbin:/usr/bin 1072e84ab94SRuslan ErmilovMAKEOBJDIRPREFIX?= /usr/obj 108e9bddef1SRuslan Ermilov_MAKEOBJDIRPREFIX!= /usr/bin/env -i PATH=${PATH} ${MAKE} \ 109f1fb2096SYaroslav Tykhiy ${.MAKEFLAGS:MMAKEOBJDIRPREFIX=*} __MAKE_CONF=${__MAKE_CONF} \ 1100ec443a0SRuslan Ermilov -f /dev/null -V MAKEOBJDIRPREFIX dummy 1110ec443a0SRuslan Ermilov.if !empty(_MAKEOBJDIRPREFIX) 1120ec443a0SRuslan Ermilov.error MAKEOBJDIRPREFIX can only be set in environment, not as a global\ 113f1fb2096SYaroslav Tykhiy (in make.conf(5)) or command-line variable. 1140ec443a0SRuslan Ermilov.endif 11576499f15SRuslan ErmilovMAKEPATH= ${MAKEOBJDIRPREFIX}${.CURDIR}/make.${MACHINE} 116ead4296eSRuslan ErmilovBINMAKE= \ 11776499f15SRuslan Ermilov `if [ -x ${MAKEPATH}/make ]; then echo ${MAKEPATH}/make; else echo ${MAKE}; fi` \ 1185dc63117SRuslan Ermilov -m ${.CURDIR}/share/mk 119ead4296eSRuslan Ermilov_MAKE= PATH=${PATH} ${BINMAKE} -f Makefile.inc1 120a962de47SPeter Wemm 121a962de47SPeter Wemm# 122d911f786SMarcel Moolenaar# Make sure we have an up-to-date make(1). Only world and buildworld 123d911f786SMarcel Moolenaar# should do this as those are the initial targets used for upgrades. 124d911f786SMarcel Moolenaar# The user can define ALWAYS_CHECK_MAKE to have this check performed 125d911f786SMarcel Moolenaar# for all targets. 126d911f786SMarcel Moolenaar# 127d911f786SMarcel Moolenaar.if defined(ALWAYS_CHECK_MAKE) 128b797df80SRuslan Ermilov${TGTS}: upgrade_checks 129d911f786SMarcel Moolenaar.else 130d911f786SMarcel Moolenaarbuildworld: upgrade_checks 131d911f786SMarcel Moolenaar.endif 132d911f786SMarcel Moolenaar 133d911f786SMarcel Moolenaar# 134224f0698SGarance A Drosehn# This 'cleanworld' target is not included in TGTS, because it is not a 1351a974787SGarance A Drosehn# recursive target. All of the work for it is done right here. It is 1361a974787SGarance A Drosehn# expected that BW_CANONICALOBJDIR == the CANONICALOBJDIR as would be 1371a974787SGarance A Drosehn# created by bsd.obj.mk, except that we don't want to .include that file 1381a974787SGarance A Drosehn# in this makefile. 1391a974787SGarance A Drosehn# 1401a974787SGarance A Drosehn# In the following, the first 'rm' in a series will usually remove all 1411a974787SGarance A Drosehn# files and directories. If it does not, then there are probably some 1421a974787SGarance A Drosehn# files with chflags set, so this unsets them and tries the 'rm' a 1431a974787SGarance A Drosehn# second time. There are situations where this target will be cleaning 1441a974787SGarance A Drosehn# some directories via more than one method, but that duplication is 1451a974787SGarance A Drosehn# needed to correctly handle all the possible situations. 1461a974787SGarance A Drosehn# 1471a974787SGarance A DrosehnBW_CANONICALOBJDIR:=${MAKEOBJDIRPREFIX}${.CURDIR} 148224f0698SGarance A Drosehncleanworld: 1491a974787SGarance A Drosehn.if ${.CURDIR} == ${.OBJDIR} || ${.CURDIR}/obj == ${.OBJDIR} 1501a974787SGarance A Drosehn.if exists(${BW_CANONICALOBJDIR}/) 1511a974787SGarance A Drosehn -rm -rf ${BW_CANONICALOBJDIR}/* 15261858771SXin LI -chflags -R 0 ${BW_CANONICALOBJDIR} 1531a974787SGarance A Drosehn rm -rf ${BW_CANONICALOBJDIR}/* 1541a974787SGarance A Drosehn.endif 1551a974787SGarance A Drosehn # To be safe in this case, fall back to a 'make cleandir' 156088cf0fbSHartmut Brandt ${_+_}@cd ${.CURDIR}; ${_MAKE} cleandir 1571a974787SGarance A Drosehn.else 1581a974787SGarance A Drosehn -rm -rf ${.OBJDIR}/* 15961858771SXin LI -chflags -R 0 ${.OBJDIR} 1601a974787SGarance A Drosehn rm -rf ${.OBJDIR}/* 1611a974787SGarance A Drosehn.endif 1622047c5d3SGarance A Drosehn 1632047c5d3SGarance A Drosehn# 16411fb97daSJohn Birrell# Handle the user-driven targets, using the source relative mk files. 165f3c4dd0dSBruce Evans# 166d911f786SMarcel Moolenaar 167b797df80SRuslan Ermilov${TGTS}: 168088cf0fbSHartmut Brandt ${_+_}@cd ${.CURDIR}; \ 16976499f15SRuslan Ermilov ${_MAKE} ${.TARGET} 170c3d9b0f0SRodney W. Grimes 171ce53af53SJordan K. Hubbard# Set a reasonable default 172ce53af53SJordan K. Hubbard.MAIN: all 173ce53af53SJordan K. Hubbard 174afcf05e4SRuslan ErmilovSTARTTIME!= LC_ALL=C date 175ec51d61fSRuslan ErmilovCHECK_TIME!= find ${.CURDIR}/sys/sys/param.h -mtime -0 176ec51d61fSRuslan Ermilov.if !empty(CHECK_TIME) 177ec51d61fSRuslan Ermilov.error check your date/time: ${STARTTIME} 178ec51d61fSRuslan Ermilov.endif 179d18c9906SRuslan Ermilov 180d18c9906SRuslan Ermilov.if defined(HISTORICAL_MAKE_WORLD) || defined(DESTDIR) 1816e59a256SMarcel Moolenaar# 1826e59a256SMarcel Moolenaar# world 1836e59a256SMarcel Moolenaar# 1840a945825SMarcel Moolenaar# Attempt to rebuild and reinstall everything. This target is not to be 1850a945825SMarcel Moolenaar# used for upgrading an existing FreeBSD system, because the kernel is 1860a945825SMarcel Moolenaar# not included. One can argue that this target doesn't build everything 1870a945825SMarcel Moolenaar# then. 1886e59a256SMarcel Moolenaar# 1896e59a256SMarcel Moolenaarworld: upgrade_checks 1906e59a256SMarcel Moolenaar @echo "--------------------------------------------------------------" 1915ab77811SRuslan Ermilov @echo ">>> make world started on ${STARTTIME}" 1926e59a256SMarcel Moolenaar @echo "--------------------------------------------------------------" 1936e59a256SMarcel Moolenaar.if target(pre-world) 1946e59a256SMarcel Moolenaar @echo 1956e59a256SMarcel Moolenaar @echo "--------------------------------------------------------------" 1966e59a256SMarcel Moolenaar @echo ">>> Making 'pre-world' target" 1976e59a256SMarcel Moolenaar @echo "--------------------------------------------------------------" 198088cf0fbSHartmut Brandt ${_+_}@cd ${.CURDIR}; ${_MAKE} pre-world 1996e59a256SMarcel Moolenaar.endif 200088cf0fbSHartmut Brandt ${_+_}@cd ${.CURDIR}; ${_MAKE} buildworld 201088cf0fbSHartmut Brandt ${_+_}@cd ${.CURDIR}; ${_MAKE} -B installworld 2026e59a256SMarcel Moolenaar.if target(post-world) 2036e59a256SMarcel Moolenaar @echo 2046e59a256SMarcel Moolenaar @echo "--------------------------------------------------------------" 2056e59a256SMarcel Moolenaar @echo ">>> Making 'post-world' target" 2066e59a256SMarcel Moolenaar @echo "--------------------------------------------------------------" 207088cf0fbSHartmut Brandt ${_+_}@cd ${.CURDIR}; ${_MAKE} post-world 2086e59a256SMarcel Moolenaar.endif 2096e59a256SMarcel Moolenaar @echo 2106e59a256SMarcel Moolenaar @echo "--------------------------------------------------------------" 2115ab77811SRuslan Ermilov @echo ">>> make world completed on `LC_ALL=C date`" 2125ab77811SRuslan Ermilov @echo " (started ${STARTTIME})" 2136e59a256SMarcel Moolenaar @echo "--------------------------------------------------------------" 2140a945825SMarcel Moolenaar.else 2150a945825SMarcel Moolenaarworld: 2160a945825SMarcel Moolenaar @echo "WARNING: make world will overwrite your existing FreeBSD" 2170a945825SMarcel Moolenaar @echo "installation without also building and installing a new" 2180a945825SMarcel Moolenaar @echo "kernel. This can be dangerous. Please read the handbook," 2191f6483e4SKen Smith @echo "'Rebuilding world', for how to upgrade your system." 220954c5b43SMark Murray @echo "Define DESTDIR to where you want to install FreeBSD," 2210a945825SMarcel Moolenaar @echo "including /, to override this warning and proceed as usual." 222954c5b43SMark Murray @echo "" 2230a945825SMarcel Moolenaar @echo "Bailing out now..." 2240a945825SMarcel Moolenaar @false 2250a945825SMarcel Moolenaar.endif 2266e59a256SMarcel Moolenaar 227cf94fb21SBruce Evans# 228d672a609SRuslan Ermilov# kernel 229d672a609SRuslan Ermilov# 230d672a609SRuslan Ermilov# Short hand for `make buildkernel installkernel' 231d672a609SRuslan Ermilov# 232d672a609SRuslan Ermilovkernel: buildkernel installkernel 233d672a609SRuslan Ermilov 234d672a609SRuslan Ermilov# 23511fb97daSJohn Birrell# Perform a few tests to determine if the installed tools are adequate 236113cf9e6SRuslan Ermilov# for building the world. 23711fb97daSJohn Birrell# 23811fb97daSJohn Birrellupgrade_checks: 239012a8b3fSHartmut Brandt @if ! (cd ${.CURDIR}/tools/build/make_check && \ 24089f087e8SHartmut Brandt PATH=${PATH} ${BINMAKE} obj >/dev/null 2>&1 && \ 241ef2c779bSRuslan Ermilov PATH=${PATH} ${BINMAKE} >/dev/null 2>&1); \ 24276499f15SRuslan Ermilov then \ 243e2be0fd0SWarner Losh (cd ${.CURDIR} && ${MAKE} make); \ 24476499f15SRuslan Ermilov fi 2456a8d432dSMark Murray 246a962de47SPeter Wemm# 2472e84ab94SRuslan Ermilov# Upgrade make(1) to the current version using the installed 2486029ad99SWarner Losh# headers, libraries and tools. Also, allow the location of 2496029ad99SWarner Losh# the system bsdmake-like utility to be overridden. 250549f978aSMarcel Moolenaar# 2512e84ab94SRuslan ErmilovMMAKEENV= MAKEOBJDIRPREFIX=${MAKEPATH} \ 2522e84ab94SRuslan Ermilov DESTDIR= \ 2532e84ab94SRuslan Ermilov INSTALL="sh ${.CURDIR}/tools/install.sh" 254e2be0fd0SWarner LoshMMAKE= ${MMAKEENV} ${MAKE} \ 2552e84ab94SRuslan Ermilov -D_UPGRADING \ 25683c7ade9SRuslan Ermilov -DNOMAN -DNO_MAN -DNOSHARED -DNO_SHARED \ 257ba70462cSJohn Birrell -DNO_CPU_CFLAGS -DNO_WERROR 2582e84ab94SRuslan Ermilov 2592a6e9f88SKris Kennawaymake: .PHONY 260549f978aSMarcel Moolenaar @echo 261549f978aSMarcel Moolenaar @echo "--------------------------------------------------------------" 262b31745f5SRuslan Ermilov @echo ">>> Building an up-to-date make(1)" 263549f978aSMarcel Moolenaar @echo "--------------------------------------------------------------" 264088cf0fbSHartmut Brandt ${_+_}@cd ${.CURDIR}/usr.bin/make; \ 2652e84ab94SRuslan Ermilov ${MMAKE} obj && \ 2662e84ab94SRuslan Ermilov ${MMAKE} depend && \ 2672e84ab94SRuslan Ermilov ${MMAKE} all && \ 2682e84ab94SRuslan Ermilov ${MMAKE} install DESTDIR=${MAKEPATH} BINDIR= 269549f978aSMarcel Moolenaar 270549f978aSMarcel Moolenaar# 2711f4f7670SRuslan Ermilov# universe 2721f4f7670SRuslan Ermilov# 2731f4f7670SRuslan Ermilov# Attempt to rebuild *everything* for all supported architectures, 274d18c9906SRuslan Ermilov# with a reasonable chance of success, regardless of how old your 2751f4f7670SRuslan Ermilov# existing system is. 2761f4f7670SRuslan Ermilov# 277dd0f3923SRuslan Ermilov.if make(universe) 27812ed81c0SJohn BirrellTARGETS?=amd64 arm i386 ia64 pc98 powerpc sparc64 sun4v 2791bdb3fb9SMarcel Moolenaar 280d18c9906SRuslan Ermilovuniverse: universe_prologue 281d18c9906SRuslan Ermilovuniverse_prologue: 28277c1699fSPoul-Henning Kamp @echo "--------------------------------------------------------------" 28377c1699fSPoul-Henning Kamp @echo ">>> make universe started on ${STARTTIME}" 28477c1699fSPoul-Henning Kamp @echo "--------------------------------------------------------------" 2851bdb3fb9SMarcel Moolenaar.for target in ${TARGETS} 2861fde59f3SRuslan ErmilovKERNCONFS!= cd ${.CURDIR}/sys/${target}/conf && \ 287d72ae1eaSRuslan Ermilov find [A-Z]*[A-Z] -type f -maxdepth 0 \ 288e9729318SRuslan Ermilov ! -name DEFAULTS ! -name LINT 289dd0f3923SRuslan ErmilovKERNCONFS:= ${KERNCONFS:S/^NOTES$/LINT/} 2901fde59f3SRuslan Ermilovuniverse: universe_${target} 2911fde59f3SRuslan Ermilov.ORDER: universe_prologue universe_${target} universe_epilogue 2921fde59f3SRuslan Ermilovuniverse_${target}: 293139fb43dSJohn Birrell.if !defined(MAKE_JUST_KERNELS) 2941fde59f3SRuslan Ermilov @echo ">> ${target} started on `LC_ALL=C date`" 29533367c7fSDag-Erling Smørgrav @(cd ${.CURDIR} && env __MAKE_CONF=/dev/null \ 29633367c7fSDag-Erling Smørgrav ${MAKE} ${JFLAG} buildworld \ 2971fde59f3SRuslan Ermilov TARGET=${target} \ 29833367c7fSDag-Erling Smørgrav > _.${target}.buildworld 2>&1 || \ 29933367c7fSDag-Erling Smørgrav echo "${target} world failed," \ 30033367c7fSDag-Erling Smørgrav "check _.${target}.buildworld for details") 3011fde59f3SRuslan Ermilov @echo ">> ${target} buildworld completed on `LC_ALL=C date`" 302139fb43dSJohn Birrell.endif 3031fde59f3SRuslan Ermilov.if exists(${.CURDIR}/sys/${target}/conf/NOTES) 30433367c7fSDag-Erling Smørgrav @(cd ${.CURDIR}/sys/${target}/conf && env __MAKE_CONF=/dev/null \ 30533367c7fSDag-Erling Smørgrav ${MAKE} LINT > ${.CURDIR}/_.${target}.makeLINT 2>&1 || \ 30633367c7fSDag-Erling Smørgrav echo "${target} 'make LINT' failed," \ 30733367c7fSDag-Erling Smørgrav "check _.${target}.makeLINT for details") 30877c1699fSPoul-Henning Kamp.endif 309dd0f3923SRuslan Ermilov.for kernel in ${KERNCONFS} 31033367c7fSDag-Erling Smørgrav @(cd ${.CURDIR} && env __MAKE_CONF=/dev/null \ 31133367c7fSDag-Erling Smørgrav ${MAKE} ${JFLAG} buildkernel \ 3121fde59f3SRuslan Ermilov TARGET=${target} \ 313dd0f3923SRuslan Ermilov KERNCONF=${kernel} \ 31433367c7fSDag-Erling Smørgrav > _.${target}.${kernel} 2>&1 || \ 31533367c7fSDag-Erling Smørgrav echo "${target} ${kernel} kernel failed," \ 31633367c7fSDag-Erling Smørgrav "check _.${target}.${kernel} for details") 317dd0f3923SRuslan Ermilov.endfor 3181fde59f3SRuslan Ermilov @echo ">> ${target} completed on `LC_ALL=C date`" 319d18c9906SRuslan Ermilov.endfor 320d18c9906SRuslan Ermilovuniverse: universe_epilogue 321d18c9906SRuslan Ermilovuniverse_epilogue: 32277c1699fSPoul-Henning Kamp @echo "--------------------------------------------------------------" 3235ab77811SRuslan Ermilov @echo ">>> make universe completed on `LC_ALL=C date`" 3245ab77811SRuslan Ermilov @echo " (started ${STARTTIME})" 32577c1699fSPoul-Henning Kamp @echo "--------------------------------------------------------------" 326d18c9906SRuslan Ermilov.endif 327