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:
parent
5c3c2d9860
commit
f9b79d752a
|
@ -124,12 +124,7 @@ installPhase() {
|
||||||
# copy include files
|
# copy include files
|
||||||
includeDir=$out/lib/modules/$version/build/include
|
includeDir=$out/lib/modules/$version/build/include
|
||||||
mkdir -p $includeDir
|
mkdir -p $includeDir
|
||||||
(cd include && cp -a acpi config linux math-emu media net pcmcia rxrpc scsi sound video asm-generic $includeDir)
|
(cd include && cp -a acpi config linux math-emu media net pcmcia rxrpc scsi sound video asm-generic asm asm-$archDir $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
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue