Don't strip Linux modules in the SystemTap variant.
svn path=/nixpkgs/trunk/; revision=21619
This commit is contained in:
parent
588be9d6db
commit
96f2d289bc
@ -76,12 +76,14 @@ installPhase() {
|
|||||||
$makeFlags "${makeFlagsArray[@]}" \
|
$makeFlags "${makeFlagsArray[@]}" \
|
||||||
$installFlags "${installFlagsArray[@]}"
|
$installFlags "${installFlagsArray[@]}"
|
||||||
|
|
||||||
# Strip the kernel modules.
|
if test -z "$dontStrip"; then
|
||||||
echo "Stripping kernel modules..."
|
# Strip the kernel modules.
|
||||||
if [ -z "$crossConfig" ]; then
|
echo "Stripping kernel modules..."
|
||||||
find $out -name "*.ko" -print0 | xargs -0 strip -S
|
if [ -z "$crossConfig" ]; then
|
||||||
else
|
find $out -name "*.ko" -print0 | xargs -0 strip -S
|
||||||
find $out -name "*.ko" -print0 | xargs -0 $crossConfig-strip -S
|
else
|
||||||
|
find $out -name "*.ko" -print0 | xargs -0 $crossConfig-strip -S
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# move this to install later on
|
# move this to install later on
|
||||||
|
@ -6146,6 +6146,7 @@ let
|
|||||||
linux_2_6_32_systemtap = makeOverridable (import ../os-specific/linux/kernel/linux-2.6.32.nix) {
|
linux_2_6_32_systemtap = makeOverridable (import ../os-specific/linux/kernel/linux-2.6.32.nix) {
|
||||||
inherit fetchurl stdenv perl mktemp module_init_tools ubootChooser;
|
inherit fetchurl stdenv perl mktemp module_init_tools ubootChooser;
|
||||||
systemtap = true;
|
systemtap = true;
|
||||||
|
dontStrip = true;
|
||||||
kernelPatches =
|
kernelPatches =
|
||||||
[ kernelPatches.fbcondecor_2_6_31
|
[ kernelPatches.fbcondecor_2_6_31
|
||||||
kernelPatches.sec_perm_2_6_24
|
kernelPatches.sec_perm_2_6_24
|
||||||
|
Loading…
x
Reference in New Issue
Block a user