diff --git a/pkgs/os-specific/linux/kernel/builder.sh b/pkgs/os-specific/linux/kernel/builder.sh index 38d437f3375..8c20688aa2b 100644 --- a/pkgs/os-specific/linux/kernel/builder.sh +++ b/pkgs/os-specific/linux/kernel/builder.sh @@ -128,7 +128,7 @@ installPhase() { if test -e arch/$archDir/include/asm; then cp -a arch/$archDir/include/asm $includeDir else - cp -a include/$archDir $includeDir + cp -a include/asm-$archDir $includeDir fi fi }