
The makedrv.sh script would be used along with the partial-source ESTR2 SHIM 
build module, which can be provided to customers, but there are several 
pre-built megasr.ko ESTR2 drivers for various RedHat EL and SLES kernels.

The makedrv.sh script assumes that a kernel development environment is 
present in order to build a Linux kernel driver.
For instance, kernel-devel or kernel-source rpms provide this, along with
their gcc and header dependencies.

This script should not be expected to work on a deployment media, where
the required drivers should already have been pre-built.

In general, for Linux 2.6 kernels, you can build driver modules with 
a make command similar to one of these, assuming that the running 
kernel matches the target kernel:

  make -C /usr/src/linux-`uname -r` M=`pwd` modules

  make -C /lib/modules/`uname -r`/build M=`pwd` modules

