Trying to fix the non-cross kernel build.
svn path=/nixpkgs/trunk/; revision=20090
This commit is contained in:
parent
f57a5d2273
commit
ee72c53378
@ -78,7 +78,11 @@ installPhase() {
|
|||||||
|
|
||||||
# Strip the kernel modules.
|
# Strip the kernel modules.
|
||||||
echo "Stripping 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
|
# move this to install later on
|
||||||
# largely copied from early FC3 kernel spec files
|
# largely copied from early FC3 kernel spec files
|
||||||
|
Loading…
x
Reference in New Issue
Block a user