Makefile (291777) | Makefile (291976) |
---|---|
1# | 1# |
2# $FreeBSD: stable/10/Makefile 291777 2015-12-04 17:56:10Z bdrewery $ | 2# $FreeBSD: stable/10/Makefile 291976 2015-12-08 00:27:35Z bdrewery $ |
3# 4# The user-driven targets are: 5# 6# universe - *Really* build *everything* (buildworld and 7# all kernels on all architectures). 8# tinderbox - Same as universe, but presents a list of failed build 9# targets and exits with an error if there were any. 10# buildworld - Rebuild *everything*, including glue to help do --- 350 unchanged lines hidden (view full) --- 361 DESTDIR= MK_TESTS=no PROGNAME=${MYMAKE:T} 362 363make bmake: .PHONY 364 @echo 365 @echo "--------------------------------------------------------------" 366 @echo ">>> Building an up-to-date make(1)" 367 @echo "--------------------------------------------------------------" 368 ${_+_}@cd ${.CURDIR}/usr.bin/${.TARGET}; \ | 3# 4# The user-driven targets are: 5# 6# universe - *Really* build *everything* (buildworld and 7# all kernels on all architectures). 8# tinderbox - Same as universe, but presents a list of failed build 9# targets and exits with an error if there were any. 10# buildworld - Rebuild *everything*, including glue to help do --- 350 unchanged lines hidden (view full) --- 361 DESTDIR= MK_TESTS=no PROGNAME=${MYMAKE:T} 362 363make bmake: .PHONY 364 @echo 365 @echo "--------------------------------------------------------------" 366 @echo ">>> Building an up-to-date make(1)" 367 @echo "--------------------------------------------------------------" 368 ${_+_}@cd ${.CURDIR}/usr.bin/${.TARGET}; \ |
369 ${MMAKE} obj && \ 370 ${MMAKE} depend && \ 371 ${MMAKE} all && \ | 369 ${MMAKE} obj; \ 370 ${MMAKE} depend; \ 371 ${MMAKE} all; \ |
372 ${MMAKE} install DESTDIR=${MYMAKE:H} BINDIR= 373 374tinderbox toolchains kernel-toolchains: upgrade_checks 375 376tinderbox: | 372 ${MMAKE} install DESTDIR=${MYMAKE:H} BINDIR= 373 374tinderbox toolchains kernel-toolchains: upgrade_checks 375 376tinderbox: |
377 @cd ${.CURDIR} && ${SUB_MAKE} DOING_TINDERBOX=YES universe | 377 @cd ${.CURDIR}; ${SUB_MAKE} DOING_TINDERBOX=YES universe |
378 379toolchains: | 378 379toolchains: |
380 @cd ${.CURDIR} && ${SUB_MAKE} UNIVERSE_TARGET=toolchain universe | 380 @cd ${.CURDIR}; ${SUB_MAKE} UNIVERSE_TARGET=toolchain universe |
381 382kernel-toolchains: | 381 382kernel-toolchains: |
383 @cd ${.CURDIR} && ${SUB_MAKE} UNIVERSE_TARGET=kernel-toolchain universe | 383 @cd ${.CURDIR}; ${SUB_MAKE} UNIVERSE_TARGET=kernel-toolchain universe |
384 385# 386# universe 387# 388# Attempt to rebuild *everything* for all supported architectures, 389# with a reasonable chance of success, regardless of how old your 390# existing system is. 391# --- 70 unchanged lines hidden (view full) --- 462universe_${target}: universe_${target}_kernels 463universe_${target}_kernels: universe_${target}_prologue .MAKE 464.if exists(${KERNSRCDIR}/${target}/conf/NOTES) 465 @(cd ${KERNSRCDIR}/${target}/conf && env __MAKE_CONF=/dev/null \ 466 ${SUB_MAKE} LINT > ${.CURDIR}/_.${target}.makeLINT 2>&1 || \ 467 (echo "${target} 'make LINT' failed," \ 468 "check _.${target}.makeLINT for details"| ${MAKEFAIL})) 469.endif | 384 385# 386# universe 387# 388# Attempt to rebuild *everything* for all supported architectures, 389# with a reasonable chance of success, regardless of how old your 390# existing system is. 391# --- 70 unchanged lines hidden (view full) --- 462universe_${target}: universe_${target}_kernels 463universe_${target}_kernels: universe_${target}_prologue .MAKE 464.if exists(${KERNSRCDIR}/${target}/conf/NOTES) 465 @(cd ${KERNSRCDIR}/${target}/conf && env __MAKE_CONF=/dev/null \ 466 ${SUB_MAKE} LINT > ${.CURDIR}/_.${target}.makeLINT 2>&1 || \ 467 (echo "${target} 'make LINT' failed," \ 468 "check _.${target}.makeLINT for details"| ${MAKEFAIL})) 469.endif |
470 @cd ${.CURDIR} && ${SUB_MAKE} ${.MAKEFLAGS} TARGET=${target} \ | 470 @cd ${.CURDIR}; ${SUB_MAKE} ${.MAKEFLAGS} TARGET=${target} \ |
471 universe_kernels 472.endif 473 @echo ">> ${target} completed on `LC_ALL=C date`" 474.endfor 475universe_kernels: universe_kernconfs 476.if !defined(TARGET) 477TARGET!= uname -m 478.endif --- 53 unchanged lines hidden --- | 471 universe_kernels 472.endif 473 @echo ">> ${target} completed on `LC_ALL=C date`" 474.endfor 475universe_kernels: universe_kernconfs 476.if !defined(TARGET) 477TARGET!= uname -m 478.endif --- 53 unchanged lines hidden --- |