build-kernel: Set USE=symlink as env var

Since this is the last vestige of the "host" Portage configuration
directory, we can remove it entirely by setting `USE=symlink` as an
environment variable.  This should be safe, since there are not many
other packages besides kernel sources that use this USE flag, and
they're not likely to be pulled in with this `emerge` invocation.
This commit is contained in:
2024-12-05 20:58:49 -06:00
parent d117207bd2
commit 1e8c7e7b85

View File

@@ -7,8 +7,8 @@ O="${1}"
. "${CONFIGDIR:=${PWD}}"/config
PORTAGE_CONFIGROOT="${CONFIGDIR}"/portage/host \
emerge -vnj ${kernel_pkg}
USE=symlink \
emerge -vnuUj ${kernel_pkg}
export ARCH=arm64 CROSS_COMPILE=${target}-
unset MAKEFLAGS MAKEOVERRIDES MAKELEVEL