summaryrefslogtreecommitdiffstats
path: root/update_kernel
diff options
context:
space:
mode:
Diffstat (limited to 'update_kernel')
-rwxr-xr-xupdate_kernel7
1 files changed, 4 insertions, 3 deletions
diff --git a/update_kernel b/update_kernel
index 74c86c322..8a22ca68c 100755
--- a/update_kernel
+++ b/update_kernel
@@ -16,9 +16,10 @@ function create_marfile() {
needed=`cat modules.dep | perl -ne "print "'$1'" if /^$j: (.*)/"`
for k in $needed
do
- [ -z "`echo $* | grep $k`" ] \
- && [ -z "`echo $PCMCIA_COREMODULES | grep $k`" ] \
- && echo "WARNING! in $marfile, $k is missing (required by $i)"
+ [ -z "`echo $* | grep $k`" ] \
+ && [ -z "`echo $PCMCIA_COREMODULES | grep $k`" ] \
+ && echo "ERROR: in $marfile, $k is missing (required by $i)" \
+ && exit 1
done
done
$GIBASEDIR/mdk-stage1/mar/mar -c $marfile $(ls $*)