From 958a01ffa64efaec07f0e5f4fab207894f175a59 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Tue, 24 Feb 2009 05:10:36 +0000 Subject: [PATCH] These changes to kernel builder are obviously needed. kQemu is built, but causes kernel oops svn path=/nixpkgs/trunk/; revision=14213 --- pkgs/os-specific/linux/kernel/builder.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/builder.sh b/pkgs/os-specific/linux/kernel/builder.sh index 46c30f3f3af..246bafb748d 100644 --- a/pkgs/os-specific/linux/kernel/builder.sh +++ b/pkgs/os-specific/linux/kernel/builder.sh @@ -125,6 +125,9 @@ installPhase() { 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 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 }