1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

Fixing in general the module construction (there were wrong paths in modules/build). Now kqemu works well for me, for instance. I will take the commit back, if it annoys anyone.

svn path=/nixpkgs/trunk/; revision=14192
This commit is contained in:
Lluís Batlle i Rossell 2009-02-22 20:49:35 +00:00
parent 5c3c2d9860
commit f9b79d752a

View file

@ -124,12 +124,7 @@ installPhase() {
# copy include files
includeDir=$out/lib/modules/$version/build/include
mkdir -p $includeDir
(cd include && cp -a acpi config linux math-emu media net pcmcia rxrpc scsi sound video asm-generic $includeDir)
if test -e arch/$archDir/include/asm; then
cp -a arch/$archDir/include/asm $includeDir
else
cp -a include/asm-$archDir $includeDir/asm
fi
(cd include && cp -a acpi config linux math-emu media net pcmcia rxrpc scsi sound video asm-generic asm asm-$archDir $includeDir)
fi
}