kernel derivation: add output for module support

This commit is contained in:
Daniel Barlow 2023-02-22 18:33:17 +00:00
parent e89fcfbf09
commit 891db9edc5

View file

@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
dontStrip = true;
dontPatchELF = true;
outputs = ["out" "headers"];
outputs = ["out" "headers" "modulesupport"];
phases = [
"unpackPhase"
"butcherPkgconfig"
@ -89,6 +89,8 @@ stdenv.mkDerivation rec {
cp vmlinux $out
mkdir -p $headers
cp -a include .config $headers/
make clean modules_prepare
cp -a . $modulesupport
'';
}