* Sync with the trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=14557
This commit is contained in:
@@ -20,9 +20,6 @@ stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [perl];
|
||||
|
||||
# !!! hacky
|
||||
fixupPhase = "ln -s $out/include/asm $out/include/asm-$platform";
|
||||
|
||||
extraIncludeDirs =
|
||||
if stdenv.system == "powerpc-linux" then ["ppc"] else [];
|
||||
|
||||
@@ -41,4 +38,12 @@ stdenv.mkDerivation {
|
||||
ensureDir $out/include/config
|
||||
echo "${version}-default" > $out/include/config/kernel.release
|
||||
'';
|
||||
|
||||
# !!! hacky
|
||||
fixupPhase = ''
|
||||
ln -s asm $out/include/asm-$platform
|
||||
if test "$platform" = "i386" -o "$platform" = "x86_64"; then
|
||||
ln -s asm $out/include/asm-x86
|
||||
fi
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user