summaryrefslogtreecommitdiffstats
path: root/kernel/update_kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/update_kernel')
-rwxr-xr-xkernel/update_kernel10
1 files changed, 6 insertions, 4 deletions
diff --git a/kernel/update_kernel b/kernel/update_kernel
index 601aeb15f..9a15d04d7 100755
--- a/kernel/update_kernel
+++ b/kernel/update_kernel
@@ -40,10 +40,12 @@ function create_modules_mar() {
$GIBASEDIR/kernel/strip_modules *.o 2>/dev/null
echo "done"
- echo -n "packdrake $kern: "
- ls *.o | packdrake -b9s "modules.cz" 400000
- echo "done"
- mv modules.cz ../modules.cz-$kern
+ if [ -z "$MOVE" ]; then
+ echo -n "packdrake $kern: "
+ ls *.o | packdrake -b9s "modules.cz" 400000
+ echo "done"
+ mv modules.cz ../modules.cz-$kern
+ fi
for i in network network_gigabit_usb network_gigabit network_usb cdrom hd hdcdrom_usb pcmcia all; do
eval "modules=\$${i}_modules_raw"
modules_with_deps=`perl -I $GIBASEDIR/kernel $GIBASEDIR/kernel/dependencies.pl modules.dep $modules`