diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-05 12:28:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-05 12:28:41 +0100 |
commit | 5d93bae2c1576ab817f482024a6d47592829407b (patch) | |
tree | 1fd9619473e6cdba4c004554cb1743ec16654102 /eclass | |
parent | 518b45bffd19d0b75715f338985f96c459f9d129 (diff) |
gentoo auto-resync : 05:09:2024 - 12:28:40
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/Manifest.gz | bin | 39872 -> 39877 bytes | |||
-rw-r--r-- | eclass/kernel-build.eclass | 8 |
2 files changed, 7 insertions, 1 deletions
diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz Binary files differindex e26725b85606..b0bfd7e96a4e 100644 --- a/eclass/Manifest.gz +++ b/eclass/Manifest.gz diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass index 3836bef1276b..91c962d671ab 100644 --- a/eclass/kernel-build.eclass +++ b/eclass/kernel-build.eclass @@ -312,6 +312,12 @@ kernel-build_src_compile() { kernel-build_src_test() { debug-print-function ${FUNCNAME} "${@}" + local targets=( modules_install ) + + if grep -q "CONFIG_CTF=y" "${WORKDIR}/modprep/.config"; then + targets+=( ctf_install ) + fi + # Use the kernel build system to strip, this ensures the modules # are stripped *before* they are signed or compressed. local strip_args @@ -321,7 +327,7 @@ kernel-build_src_test() { emake O="${WORKDIR}"/build "${MAKEARGS[@]}" \ INSTALL_MOD_PATH="${T}" INSTALL_MOD_STRIP="${strip_args}" \ - modules_install ctf_install + "${targets[@]}" kernel-install_test "${KV_FULL}" \ "${WORKDIR}/build/$(dist-kernel_get_image_path)" \ |