forked from mirrors/nixpkgs
These changes to kernel builder are obviously needed. kQemu is built, but causes kernel oops
svn path=/nixpkgs/trunk/; revision=14213
This commit is contained in:
parent
1dba159995
commit
958a01ffa6
|
@ -125,6 +125,9 @@ installPhase() {
|
||||||
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 asm asm-$archDir $includeDir)
|
(cd include && cp -a acpi config linux math-emu media net pcmcia rxrpc scsi sound video asm-generic asm asm-$archDir $includeDir)
|
||||||
|
(cd arch/$archDir/include && cp -a * $includeDir || true)
|
||||||
|
(cd arch/$archDir/include && cp -a asm/* $includeDir/asm/ || true)
|
||||||
|
(cd arch/$archDir/include/asm/mach-generic && cp -a * $includeDir/ || true)
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue