Changeset View
Changeset View
Standalone View
Standalone View
tools/build/Makefile
Show First 20 Lines • Show All 115 Lines • ▼ Show 20 Lines | if [ ! -e "$${target_path}" ] ; then \ | ||||
ln -sfnv "$${source_path}" "$${target_path}"; \ | ln -sfnv "$${source_path}" "$${target_path}"; \ | ||||
fi | fi | ||||
.endfor | .endfor | ||||
# Create all the directories that are needed during the legacy, bootstrap-tools | # Create all the directories that are needed during the legacy, bootstrap-tools | ||||
# and cross-tools stages. We do this here using mkdir since mtree may not exist | # and cross-tools stages. We do this here using mkdir since mtree may not exist | ||||
# yet (this happens if we are crossbuilding from Linux/Mac). | # yet (this happens if we are crossbuilding from Linux/Mac). | ||||
installdirs: | installdirs: | ||||
.for _dir in bin usr/lib usr/include usr/include/casper lib/geom lib/casper | .for _dir in bin usr/lib usr/libexec usr/include usr/include/casper lib/geom \ | ||||
lib/casper | |||||
mkdir -p "${DESTDIR}/${_dir}" | mkdir -p "${DESTDIR}/${_dir}" | ||||
.endfor | .endfor | ||||
# Link usr/bin, sbin, and usr/sbin to bin so that it doesn't matter whether a | # Link usr/bin, sbin, and usr/sbin to bin so that it doesn't matter whether a | ||||
# bootstrap tool was added to WORLTMP with a symlink or by building it in the | # bootstrap tool was added to WORLTMP with a symlink or by building it in the | ||||
# bootstrap-tools phase. We could also overrride BINDIR when building bootstrap | # bootstrap-tools phase. We could also overrride BINDIR when building bootstrap | ||||
# tools but adding the symlinks is easier and means all tools are also | # tools but adding the symlinks is easier and means all tools are also | ||||
# in the directory that they are installed to normally. | # in the directory that they are installed to normally. | ||||
Show All 15 Lines |