mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
linux: In case of an ARM kernel build, add extra include directories
They are required in order to build some modules, like that of cryptodev.
This commit is contained in:
parent
37418b3f70
commit
22e050f8c6
|
@ -140,6 +140,10 @@ installPhase() {
|
|||
(cd arch/$archDir/include && cp -a asm/* $includeDir/asm/ || true)
|
||||
(cd arch/$archDir/include && cp -a generated/asm/* $includeDir/asm/ || true)
|
||||
(cd arch/$archDir/include/asm/mach-generic && cp -a * $includeDir/ || true)
|
||||
# include files for special arm architectures
|
||||
if [ "$archDir" == "arm" ]; then
|
||||
cp -a --parents arch/arm/mach-*/include $out/lib/modules/$version/build
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue