mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
kernel-build.eclass: pass INSTALL_MOD_STRIP in src_test
Thanks-to: Andrew Ammerlaan <andrewammerlaan@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -224,8 +224,16 @@ kernel-build_src_test() {
|
||||
targets+=( dtbs_install )
|
||||
fi
|
||||
|
||||
# Use the kernel build system to strip, this ensures the modules
|
||||
# are stripped *before* they are signed or compressed.
|
||||
local strip_args
|
||||
if use strip; then
|
||||
strip_args="--strip-unneeded"
|
||||
fi
|
||||
|
||||
emake O="${WORKDIR}"/build "${MAKEARGS[@]}" \
|
||||
INSTALL_MOD_PATH="${T}" "${targets[@]}"
|
||||
INSTALL_MOD_PATH="${T}" INSTALL_MOD_STRIP="${strip_args}" \
|
||||
"${targets[@]}"
|
||||
|
||||
local dir_ver=${PV}${KV_LOCALVERSION}
|
||||
local relfile=${WORKDIR}/build/include/config/kernel.release
|
||||
|
||||
Reference in New Issue
Block a user