Lines Matching full:tools

14 #	-DWITHOUT_CTF do not run the DTrace CTF conversion tools on built objects
16 # LOCAL_ITOOLS="list of tools" to add additional tools to the ITOOLS list
23 # bootstrap-tools target
24 # LOCAL_TOOL_DIRS="list of dirs" to add additional dirs to the build-tools
27 # cross-tools target
37 # All libraries and includes, and some build tools will still build.
62 .include "share/mk/src.tools.mk"
360 make(toolchain) || make(_cross-tools))
644 # When building we want to find the cross tools before the host tools in ${BPATH}.
648 # We should not be using tools from /usr/bin accidentally since this could cause
657 # When building on non-FreeBSD we can't rely on the tools in /usr/bin being compatible
658 # with what FreeBSD expects. Therefore we only use tools from STRICTTMPPATH
659 # during the world build stage. We build most tools during the bootstrap-tools
660 # phase but symlink host tools that are known to work instead of building them
686 # When building on FreeBSD we always copy the host tools instead of linking
692 # tools to another directory with cp results in AMFI Launch Constraint
708 # shims that are needed by the bootstrap-tools,
709 # build-tools and cross-tools stages. These are generally
710 # APIs that tools from one of those three stages need to
712 # 1. bootstrap-tools stage [BMAKE]
715 # are not built as cross-tools.
716 # 2. build-tools stage [TMAKE]
718 # tree and building any tools that are needed during
722 # builds the 'build-tools' target rather than 'all'.
723 # 3. cross-tools stage [XMAKE]
724 # This stage is responsible for creating any tools that
726 # of them. This differs from build tools in two ways:
727 # 1. the 'all' target is built rather than 'build-tools'
728 # 2. these tools are installed into TMPPATH for stage 4.
746 # Don't rebuild build-tools targets during normal build.
759 # bootstrap-tools stage
760 BMAKEENV= INSTALL="sh ${.CURDIR}/tools/install.sh" \
764 MAKEFLAGS="-m ${.CURDIR}/tools/build/mk ${.MAKEFLAGS}"
765 # need to keep this in sync with targets/pseudo/bootstrap-tools/Makefile
767 OBJTOP='${WORLDTMP}/obj-tools' \
798 # build-tools stage
818 # cross-tools stage
827 # kernel-tools stage
828 KTMAKEENV= INSTALL="sh ${.CURDIR}/tools/install.sh" \
831 MAKEFLAGS="-m ${.CURDIR}/tools/build/mk ${.MAKEFLAGS}"
837 OBJTOP='${WORLDTMP}/obj-kernel-tools' \
872 # In the case of xdev-build tools, CROSS_BINUTILS_PREFIX won't be a
874 # tools so we don't need to tell it where to look.
916 # to get updated host tools.
944 .info META_MODE: Rebuilding host tools due to ABI breakage in __FreeBSD_version ${_meta_mode_need_r…
1072 # Using ':' leaks into PATH and breaks finding cross-tools.
1086 sh ${.CURDIR}/tools/build/depend-cleanup.sh ${OBJTOP}
1128 ${_+_}cd ${.CURDIR}/tools/build; \
1129 ${MAKE} DIRPRFX=tools/build/ DESTDIR=${WORLDTMP}/legacy installdirs
1131 # tools in $WORLDTMP for the tools that we don't build during bootstrap-tools
1132 ${_+_}cd ${.CURDIR}/tools/build; \
1133 ${MAKE} DIRPRFX=tools/build/ DESTDIR=${WORLDTMP}/legacy host-symlinks
1141 _bootstrap-tools:
1144 @echo ">>> stage 1.2: bootstrap tools"
1149 ${_+_}cd ${.CURDIR}; ${BMAKE} bootstrap-tools
1187 _build-tools:
1190 @echo ">>> stage 2.3: build tools"
1192 ${_+_}cd ${.CURDIR}; ${TMAKE} build-tools
1193 _cross-tools:
1196 @echo ">>> stage 3: cross tools"
1199 ${_+_}cd ${.CURDIR}; ${XMAKE} cross-tools
1200 ${_+_}cd ${.CURDIR}; ${XMAKE} kernel-tools
1241 WMAKE_TGTS+= _bootstrap-tools
1247 WMAKE_TGTS+= _build-tools _cross-tools
1314 # Some scripts in tools rely on this behavior to report build errors.
1412 # Required install tools to be saved in a scratch dir for safety.
1586 ${_+_}cd ${.CURDIR}/tools/build/options; sh makeman > \
1591 ${_+_}cd ${.CURDIR}/tools/build/test-includes; \
1605 sys/tools/syscalls/examples/cpp
1676 ${_+_}cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 _bootstrap-tools \
1831 @echo ">>> stage 2.3: build tools"
1833 ${_+_}cd ${.CURDIR}; ${KTMAKE} kernel-tools
2370 ${_+_}cd ${.CURDIR}/tools/kerneldoc/subsys; ${MAKE} obj all
2385 # minimal set of tools and shims necessary to compensate for older systems
2386 # which don't have the APIs required by the targets built in bootstrap-tools,
2387 # build-tools or cross-tools.
2396 tools/build \
2408 # bootstrap-tools: Build tools needed for compatibility. These are binaries that
2410 # binaries is usually quite narrow. Bootstrap tools use the host's compiler and
2412 # bootstrap-tools.
2414 _bt= _bootstrap-tools
2417 # accidentally run tools that are incompatible but happen to be in $PATH.
2420 # output. On those platforms we only symlink the tools known to be compatible
2422 # from the FreeBSD sources during the bootstrap-tools stage.
2423 # We want to build without the user's $PATH starting in the bootstrap-tools
2424 # phase so the tools used in that phase (ln, cp, etc) must have already been
2425 # linked to $WORLDTMP. The tools are listed in the _host_tools_to_symlink
2426 # variable in tools/build/Makefile and are linked during the legacy phase.
2430 # If BOOTSTRAP_ALL_TOOLS is set we will build all the required tools from the
2432 # $PATH during the bootstrap-tools stage.
2474 _m4= tools/build/bootstrap-m4 usr.bin/m4
2475 ${_bt}-tools/build/bootstrap-m4: ${_bt}-usr.bin/lex ${_bt}-lib/libopenbsd ${_bt}-usr.bin/yacc
2476 ${_bt}-usr.bin/m4: ${_bt}-lib/libopenbsd ${_bt}-usr.bin/yacc ${_bt}-usr.bin/lex ${_bt}-tools/build/…
2483 # ELF Tool Chain libraries are needed for ELF tools and dtrace tools.
2588 # bootstrap tools, or as the part of the normal build.
2626 krb5/util/build-tools \
2639 kerberos5/tools/make-roken \
2642 kerberos5/tools/asn1_compile \
2643 kerberos5/tools/slc \
2655 # The tools listed in _basic_bootstrap_tools will generally not be
2664 # bootstrap tools needed by buildworld:
2698 _other_bootstrap_tools+=tools/build/cross-build/fake_chflags
2742 # All tools in _basic_bootstrap_tools have the same name as the subdirectory
2750 # Link the tools that we need for building but don't need to bootstrap because
2752 # We do this before building any of the bootstrap tools in case they depend on
2767 bootstrap-tools: ${_bt}-links .PHONY
2769 # Please document (add comment) why something is in 'bootstrap-tools'.
2817 bootstrap-tools: ${_bt}-${_tool}
2829 # build-tools: Build special purpose build tools
2836 # rescue includes programs that have build-tools targets
2852 # build-tools directories if needed.
2869 ${_+_}@${ECHODIR} "===> ${_tool} (${_bt_clean:D${_bt_clean},}obj,build-tools)"; \
2873 ${MAKE} DIRPRFX=${_tool}/ build-tools
2874 build-tools: build-tools_${_tool}
2878 # kernel-tools: Build kernel-building tools
2880 kernel-tools: .PHONY
2886 # cross-tools: All the tools needed to build the rest of the system after
2887 # we get done with the earlier stages. It is the last set of tools needed
2904 # Some bespoke tools from or based on ELF Tool Chain. elfcopy is included
2933 _usb_tools= stand/usb/tools
2940 cross-tools: .MAKE .PHONY
2961 # This target merely builds a toolchan/sysroot, then builds the tools it wants
2963 # already built. It then installs the static tools to NXBDESTDIR for Poudriere
2974 # This is the list of tools to be built/installed as static and where
3115 # Build the bootstrap/host/cross tools that produce native binaries
3122 # needed build tools are built.
3156 # ${.CURDIR}/tools/make_libdeps.sh script.
3448 _krb5_util_build_tools= krb5/util/build-tools
3784 sh ${.CURDIR}/sys/tools/fdt/make_dtb.sh ${.CURDIR}/sys \
3850 INSTALL="sh ${.CURDIR}/tools/install.sh"
3884 # Don't rebuild build-tools targets during normal build.
3892 .ORDER: _xb-worldtmp _xb-bootstrap-tools _xb-build-tools _xb-cross-tools
3893 xdev-build: _xb-worldtmp _xb-bootstrap-tools _xb-build-tools _xb-cross-tools .PHONY
3900 _xb-bootstrap-tools: .PHONY
3911 _xb-build-tools: .PHONY
3913 ${CDBENV} ${MAKE} ${CDMAKEARGS} -f Makefile.inc1 ${NOFUN} build-tools
3922 _xb-cross-tools: .PHONY
3952 .ORDER: xdev-build _xi-mtree _xi-cross-tools _xi-includes _xi-libraries
3953 xdev-install: xdev-build _xi-mtree _xi-cross-tools _xi-includes _xi-libraries .PHONY
3955 _xi-cross-tools: .PHONY
3956 @echo "_xi-cross-tools"