From 3517639ec3af9a6480137c3b54bbc99cf6cbccad Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Wed, 29 Oct 2003 17:01:02 +0000 Subject: fix --- kernel/update_kernel | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kernel/update_kernel b/kernel/update_kernel index 1131e5d0d..fb3103019 100755 --- a/kernel/update_kernel +++ b/kernel/update_kernel @@ -45,9 +45,10 @@ function create_modules_mar() { echo "done" mv modules.cz ../modules.cz-$kern for i in network network_gigabit_usb network_gigabit network_usb cdrom hd hdcdrom_usb pcmcia all; do - modules_with_deps=`perl $GIBASEDIR/kernel/dependencies.pl $GIBASEDIR/kernel/all.modules/$kern/modules.pl ${i}_modules` + eval "modules=\$${i}_modules_raw" + modules_with_deps=`perl -I $GIBASEDIR/kernel $GIBASEDIR/kernel/dependencies.pl modules.dep $modules` if [ -n "$MOVE" ]; then modules_with_deps="$modules_with_deps loop.o gzloop.o isofs.o zlib_inflate.o"; fi - eval "create_marfile ${i}_modules.mar \$$modules_with_deps" + eval "create_marfile ${i}_modules.mar $modules_with_deps" done echo } -- cgit v1.2.1