kernel derivation: add output for module support
This commit is contained in:
parent
e89fcfbf09
commit
891db9edc5
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
'';
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue