When CONFIG_DEBUG_INFO_SPLIT and/or CONFIG_DEBUG_INFO_DWARF4 are set,
the kernel build system tries to create a null.dwo file in the root of
the kernel source directory. This adds an addpredict to prevent this
from failing due to a sandbox failure.
Acked-by: Thomas Deutschmann <whissi@gentoo.org>
Closes: https://bugs.gentoo.org/653286
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
set_arch_to_kernel
ABI="${KERNEL_ABI}"
+ [[ -n ${KERNEL_DIR} ]] && addpredict "${KERNEL_DIR}/null.dwo"
+
BUILD_TARGETS=${BUILD_TARGETS:-clean module}
strip_modulenames;
cd "${S}"
local modulename libdir srcdir objdir i n
+ [[ -n ${KERNEL_DIR} ]] && addpredict "${KERNEL_DIR}/null.dwo"
+
strip_modulenames;
for i in ${MODULE_NAMES}
do