Changeset View
Changeset View
Standalone View
Standalone View
tools/build/Makefile
Show First 20 Lines • Show All 311 Lines • ▼ Show 20 Lines | |||||
# programs used during the build accept different flags or generate different | # programs used during the build accept different flags or generate different | ||||
# 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 \ | diff dirname echo env false find fmt gzip gunzip head hostname id ln ls \ | ||||
mkdir mv nice patch rm sh sleep stat tee time touch tr true uname uniq \ | mkdir mv nice objdump patch rm sh sleep stat tee time touch tr true uname uniq \ | ||||
unxz wc which xz | 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 | ||||
▲ Show 20 Lines • Show All 121 Lines • Show Last 20 Lines |