diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-02-18 08:02:16 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-02-18 08:02:16 +0000 |
commit | ee72c533789c37866104f2f2fd7d6aaf9d922b5d (patch) | |
tree | 97d836c9622dbc6c206abe8b7fd56a27ad2646b3 /pkgs/os-specific | |
parent | f57a5d227349906d4d85f7d6fd976374d9492be7 (diff) |
Trying to fix the non-cross kernel build.
svn path=/nixpkgs/trunk/; revision=20090
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/kernel/builder.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/kernel/builder.sh b/pkgs/os-specific/linux/kernel/builder.sh index aaf2e8d966057..75283e835de5a 100644 --- a/pkgs/os-specific/linux/kernel/builder.sh +++ b/pkgs/os-specific/linux/kernel/builder.sh @@ -78,7 +78,11 @@ installPhase() { # Strip the kernel modules. echo "Stripping kernel modules..." - find $out -name "*.ko" -print0 | xargs -0 $crossConfig-strip -S + if [ -z "$crossConfig" ]; then + find $out -name "*.ko" -print0 | xargs -0 strip -S + else + find $out -name "*.ko" -print0 | xargs -0 $crossConfig-strip -S + fi # move this to install later on # largely copied from early FC3 kernel spec files |