mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 21:21:06 +00:00
* "ppc" -> "powerpc", but do copy the "ppc" directory as well.
svn path=/nixpkgs/trunk/; revision=6844
This commit is contained in:
parent
26a11fbf54
commit
31f2316454
|
@ -14,6 +14,9 @@ installPhase() {
|
|||
cp -prvd include/linux include/asm-generic $out/include
|
||||
cp -prvd include/asm-$platform $out/include
|
||||
ln -s asm-$platform $out/include/asm
|
||||
for i in $extraIncludeDirs; do
|
||||
cp -prvd include/asm-$i $out/include
|
||||
done
|
||||
echo -n > $out/include/linux/autoconf.h
|
||||
}
|
||||
|
||||
|
|
|
@ -13,6 +13,9 @@ stdenv.mkDerivation {
|
|||
platform =
|
||||
if stdenv.system == "i686-linux" then "i386" else
|
||||
if stdenv.system == "x86_64-linux" then "x86_64" else
|
||||
if stdenv.system == "powerpc-linux" then "ppc" else
|
||||
if stdenv.system == "powerpc-linux" then "powerpc" else
|
||||
abort "don't know what the kernel include directory is called for this platform";
|
||||
|
||||
extraIncludeDirs =
|
||||
if stdenv.system == "powerpc-linux" then ["ppc"] else [];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue