RPMBUILD := @rpmbuild@
RPM := @rpm@
esos_kernels.chroot: hio_src = $(chroot_build)/hio
esos_kernels.chroot: vsl_src = $(chroot_build)/vsl
$(MKDIR) $(chroot_build)/hio
$(WGET) -P $(hio_src) $(custom_repo)/hio/hio.c; \
$(WGET) -P $(hio_src) $(custom_repo)/hio/hio.h; \
$(WGET) -P $(hio_src) $(custom_repo)/hio/Makefile; \
$(WGET) -P $(hio_src) $(custom_repo)/hio/Makefile; \
$(MKDIR) $(chroot_build)/vsl
$(WGET) -P $(vsl_src) $(custom_repo)/vsl/fio-common-3.2.15.1699-1.0.noarch.rpm; \
$(WGET) -P $(vsl_src) $(custom_repo)/vsl/fio-preinstall-3.2.15.1699-1.0.noarch.rpm; \
$(WGET) -P $(vsl_src) $(custom_repo)/vsl/fio-sysvinit-3.2.15.1699-1.0.noarch.rpm; \
$(WGET) -P $(vsl_src) $(custom_repo)/vsl/fio-util-3.2.15.1699-1.0.noarch.rpm; \
$(WGET) -P $(vsl_src) $(custom_repo)/vsl/lib32vsl-3.2.15.1699-1.i686.rpm; \
$(MAKE) --directory=$(hio_src) KDIR=$(linux_src) \
KERNEL_SOURCE_VERSION=$(kernel_ver)$$i; \
$(MKDIR) /lib/modules/$(kernel_ver)$$i/kernel/drivers/hio; \
$(INSTALL) -m 0644 $(hio_src)/*.ko
$(DEPMOD) -a; \
$(RPMBUILD) --rebuild --define 'rpm_kernel_version $(kernel_ver)$$i' \
$(vsl_src)/iomemory-vsl-3.2.15.scr.rpm; \
$(RPM) -Uvh $(vsl_src)/iomemory-vsl*.rpm; \
$(RPM) -Uvh $(vsl_src)/lib*.rpm; \
$(RPM) -Uvh $(vsl_src)/fio*.rpm; \
Not sure if it's going to work, but I'm going to try now.
Also, attached are the files and documents for the ioDrive2. I downloaded the drivers for RHLE5 since I wasn't sure which linux flavor to choose and found a reference to RHLE5 in the MakeFile.in