Changeset View
Changeset View
Standalone View
Standalone View
tools/build/Makefile
Show First 20 Lines • Show All 259 Lines • ▼ Show 20 Lines | |||||
# output. On those platforms we only symlink the tools known to be compatible | # output. On those platforms we only symlink the tools known to be compatible | ||||
# (e.g. basic utilities such as mkdir) into ${WORLDTMP} and build all others | # (e.g. basic utilities such as mkdir) into ${WORLDTMP} and build all others | ||||
# from the FreeBSD sources during the bootstrap-tools stage. | # from the FreeBSD sources during the bootstrap-tools stage. | ||||
# basic commands: It is fine to use the host version for all of these even on | # basic commands: It is fine to use the host version for all of these even on | ||||
# Linux/MacOS since we only use flags that are supported by all of them. | # Linux/MacOS since we only use flags that are supported by all of them. | ||||
_host_tools_to_symlink= basename bzip2 bunzip2 chmod chown cmp comm cp date dd \ | _host_tools_to_symlink= basename bzip2 bunzip2 chmod chown cmp comm cp date dd \ | ||||
dirname echo env false find fmt gzip gunzip head hostname id ln ls \ | dirname echo env false find fmt gzip gunzip head hostname id ln ls \ | ||||
mkdir mv nice patch rm realpath sh sleep stat tee touch tr true uname \ | mkdir mv nice patch rm sh sleep stat tee touch tr true uname \ | ||||
uniq wc which | uniq unxz wc which xz | ||||
# We also need a symlink to the absolute path to the make binary used for | # We also need a symlink to the absolute path to the make binary used for | ||||
# the toplevel makefile. This is not necessarily the same as `which make` | # the toplevel makefile. This is not necessarily the same as `which make` | ||||
# since e.g. on Linux and MacOS that will be GNU make. | # since e.g. on Linux and MacOS that will be GNU make. | ||||
_make_abs!= which "${MAKE}" | _make_abs!= which "${MAKE}" | ||||
_host_abs_tools_to_symlink= ${_make_abs}:make ${_make_abs}:bmake | _host_abs_tools_to_symlink= ${_make_abs}:make ${_make_abs}:bmake | ||||
.if ${.MAKE.OS} != "FreeBSD" | .if ${.MAKE.OS} != "FreeBSD" | ||||
▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines |