Trying to fix the non-cross kernel build.

svn path=/nixpkgs/trunk/; revision=20090
This commit is contained in:
Lluís Batlle i Rossell 2010-02-18 08:02:16 +00:00
parent f57a5d2273
commit ee72c53378

View file

@ -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