Lines Matching defs:TARGET

38 # targets             - Print a list of supported TARGET/TARGET_ARCH pairs
44 # specified with TARGET and TARGET_ARCH.
49 # for use in qemu user-mode jails. TARGET and
106 # If TARGET=machine (e.g. powerpc, arm64, ...) is specified you can
186 # These targets require a TARGET and TARGET_ARCH be defined.
282 TARGET=${_TARGET} TARGET_ARCH=${_TARGET_ARCH} ${_MAKEARGS}
312 # historic FreeBSD practice of tending to have TARGET == TARGET_ARCH
313 # expanding to TARGET == TARGET_CPUARCH in recent times, with known
315 .if !defined(TARGET_ARCH) && defined(TARGET)
316 # T->TA mapping is usually TARGET with arm64 the odd man out
317 _TARGET_ARCH= ${TARGET:S/arm64/aarch64/:S/riscv/riscv64/:S/arm/armv7/}
318 .elif !defined(TARGET) && defined(TARGET_ARCH) && \
323 .if defined(TARGET) && !defined(_TARGET)
324 _TARGET=${TARGET}
336 # Some targets require a set TARGET/TARGET_ARCH, check before the default
361 @echo "*** Error: Both TARGET and TARGET_ARCH must be defined for \"${_tgt}\" target"
385 ${_+_}@cd ${.CURDIR}; ${_MAKE} ${.TARGET}
491 @echo ">>> Building an up-to-date ${.TARGET}(1)"
493 ${_+_}@cd ${.CURDIR}/usr.bin/${.TARGET}; \
590 @echo "Supported TARGET/TARGET_ARCH pairs for world and kernel targets"
620 TARGET=${UNIVERSE_TOOLCHAIN_TARGET} \
628 > _.${.TARGET} 2>&1 || \
629 (echo "${.TARGET} failed," \
630 "check _.${.TARGET} for details" | \
656 env TARGET=${target} TARGET_ARCH=${target_arch} \
664 env TARGET=${target} TARGET_ARCH=${target_arch} \
711 TARGET=${target} \
726 @cd ${.CURDIR}; ${SUB_MAKE} ${.MAKEFLAGS} TARGET=${target} \
736 .if !defined(TARGET)
737 TARGET!= uname -m
740 @echo ">> ${TARGET} kernels started on `LC_ALL=C date`"
742 @echo ">> ${TARGET} kernels completed on `LC_ALL=C date`"
750 KERNCONFS!= cd ${KERNSRCDIR}/${TARGET}/conf && \
757 TARGET_ARCH_${kernel}!= cd ${KERNSRCDIR}/${TARGET}/conf && \
759 config -m ${KERNSRCDIR}/${TARGET}/conf/${kernel} 2> /dev/null | \
762 .error Target architecture for ${TARGET}/conf/${kernel} unknown. config(8) likely too old.
764 universe_kernconfs_${TARGET_ARCH_${kernel}}: universe_kernconf_${TARGET}_${kernel}
765 universe_kernconf_${TARGET}_${kernel}: .MAKE
766 @echo ">> ${TARGET}.${TARGET_ARCH_${kernel}} ${kernel} kernel started on `LC_ALL=C date`"
769 TARGET=${TARGET} \
773 > _.${TARGET}.${kernel} 2>&1 || \
774 (echo "${TARGET} ${kernel} kernel failed," \
775 "check _.${TARGET}.${kernel} for details"| ${MAKEFAIL}))
776 @echo ">> ${TARGET}.${TARGET_ARCH_${kernel}} ${kernel} kernel completed on `LC_ALL=C date`"
778 .for target_arch in ${TARGET_ARCHES_${TARGET}}