summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2009-02-22 20:49:35 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2009-02-22 20:49:35 +0000
commitf9b79d752aa06de059d4f5fa4483dd4a23ee392e (patch)
tree34de8bd7dfec0352ef665a19f798a10d8635a275 /pkgs
parent5c3c2d98608dfba1d1115fcf389ade120b86c96d (diff)
downloadnixpkgs-f9b79d752aa06de059d4f5fa4483dd4a23ee392e.tar
nixpkgs-f9b79d752aa06de059d4f5fa4483dd4a23ee392e.tar.gz
nixpkgs-f9b79d752aa06de059d4f5fa4483dd4a23ee392e.tar.bz2
nixpkgs-f9b79d752aa06de059d4f5fa4483dd4a23ee392e.tar.lz
nixpkgs-f9b79d752aa06de059d4f5fa4483dd4a23ee392e.tar.xz
nixpkgs-f9b79d752aa06de059d4f5fa4483dd4a23ee392e.tar.zst
nixpkgs-f9b79d752aa06de059d4f5fa4483dd4a23ee392e.zip
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
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/os-specific/linux/kernel/builder.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/pkgs/os-specific/linux/kernel/builder.sh b/pkgs/os-specific/linux/kernel/builder.sh
index 4e3461cc25a..46c30f3f3af 100644
--- a/pkgs/os-specific/linux/kernel/builder.sh
+++ b/pkgs/os-specific/linux/kernel/builder.sh
@@ -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
 }