mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Trying to fix the non-cross kernel build.
svn path=/nixpkgs/trunk/; revision=20090
This commit is contained in:
parent
f57a5d2273
commit
ee72c53378
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue