#!/bin/sh

# use this script to do 'make dep' on the modules with a
# 2.2.x version kernel

if [ -z "$KERNEL_DIR" ]; then
	export KERNEL_DIR=/usr/src/linux
fi
MOD_DIR=`pwd`

echo "MOD_DIR - $MOD_DIR"
cd $KERNEL_DIR
make SUBDIRS=$MOD_DIR dep

