[pve-devel] r6154 - pve-kernel-2.6.32-rh/trunk

svn-commits at proxmox.com svn-commits at proxmox.com
Fri Jun 24 11:37:22 CEST 2011


Author: dietmar
Date: 2011-06-24 11:37:22 +0200 (Fri, 24 Jun 2011)
New Revision: 6154

Added:
   pve-kernel-2.6.32-rh/trunk/aacraid_source_1.1.7-28000.tgz
Modified:
   pve-kernel-2.6.32-rh/trunk/Makefile
Log:


Modified: pve-kernel-2.6.32-rh/trunk/Makefile
===================================================================
--- pve-kernel-2.6.32-rh/trunk/Makefile	2011-06-24 09:18:36 UTC (rev 6153)
+++ pve-kernel-2.6.32-rh/trunk/Makefile	2011-06-24 09:37:22 UTC (rev 6154)
@@ -42,6 +42,9 @@
 #BNX2DIR=netxtreme2-6.2.23
 #BNX2SRC=${BNX2DIR}.tar.gz
 
+AACRAIDDIR=aacraid
+AACRAIDSRC=aacraid_source_1.1.7-28000.tgz
+
 ARECADIR=arcmsr.1.20.0X.15-110330
 ARECASRC=${ARECADIR}.zip
 
@@ -91,7 +94,7 @@
 	./find-firmware.pl data/lib/modules/${KVNAME} >fwlist.tmp
 	mv fwlist.tmp $@
 
-data: .compile_mark ${KERNEL_CFG} arcmsr.ko aoe.ko e1000e.ko igb.ko ixgbe.ko iscsi-scst.ko scst-modules.tar
+data: .compile_mark ${KERNEL_CFG} arcmsr.ko aoe.ko e1000e.ko igb.ko ixgbe.ko iscsi-scst.ko scst-modules.tar aacraid.ko
 	rm -rf data tmp; mkdir -p tmp/lib/modules/${KVNAME}
 	mkdir tmp/boot
 	install -m 644 ${KERNEL_CFG} tmp/boot/config-${KVNAME}
@@ -114,6 +117,8 @@
 	#install -m 644 cnic.ko tmp/lib/modules/${KVNAME}/kernel/drivers/net/
 	# install areca driver
 	install -m 644 arcmsr.ko tmp/lib/modules/${KVNAME}/kernel/drivers/scsi/arcmsr/
+	# install aacraid 
+	install -m 644 aacraid.ko tmp/lib/modules/${KVNAME}/kernel/drivers/scsi/aacraid
 	# install scst modules
 	install -m 644 -D iscsi-scst.ko tmp/lib/modules/${KVNAME}/extra/scst/iscsi-scst.ko
 	tar xf scst-modules.tar -C tmp/lib/modules/${KVNAME}/extra/scst
@@ -172,6 +177,14 @@
 	cd ${RHKERSRCDIR};rpm2cpio ../${KERNELSRCRPM} |cpio -i
 	touch $@
 
+aacraid.ko: ${AACRAIDSRC}
+	rm -rf ${AACRAIDDIR}
+	mkdir ${AACRAIDDIR}
+	cd ${AACRAIDDIR};tar xf ../${AACRAIDSRC}
+	mkdir -p /lib/modules/${KVNAME}
+	ln -sf ${TOP}/${KERNEL_SRC} /lib/modules/${KVNAME}/build
+	cd ${AACRAIDDIR}; make KVER=${KVNAME}
+	cp ${AACRAIDDIR}/aacraid.ko aacraid.ko
 
 aoe.ko aoe: .compile_mark ${AOESRC}
 	# aoe driver updates
@@ -321,6 +334,6 @@
 
 .PHONY: clean
 clean:
-	rm -rf *~ .compile_mark ${KERNEL_CFG} ${KERNEL_SRC} tmp data proxmox-ve/data *.deb ${AOEDIR} aoe.ko ${headers_tmp} scst-src ${ISCSIDIR} ${ISCSI_DEB} iscsi-scst.ko scst-modules.tar ${SCSTDIR} put_page_callback-2.6.32.patch fwdata fwlist.tmp iscsideb/*~ iscsi-scst_* *.ko ${IXGBEDIR} ${E1000EDIR} e1000e.ko ${IGBDIR} igb.ko fwlist-${KVNAME} ${ARECADIR} arcmsr.ko 
+	rm -rf *~ .compile_mark ${KERNEL_CFG} ${KERNEL_SRC} tmp data proxmox-ve/data *.deb ${AOEDIR} aoe.ko ${headers_tmp} scst-src ${ISCSIDIR} ${ISCSI_DEB} iscsi-scst.ko scst-modules.tar ${SCSTDIR} put_page_callback-2.6.32.patch fwdata fwlist.tmp iscsideb/*~ iscsi-scst_* *.ko ${IXGBEDIR} ${E1000EDIR} e1000e.ko ${IGBDIR} igb.ko fwlist-${KVNAME} ${ARECADIR} arcmsr.ko ${AACRAIDDIR} aacraid.ko
 
 

Added: pve-kernel-2.6.32-rh/trunk/aacraid_source_1.1.7-28000.tgz
===================================================================
(Binary files differ)


Property changes on: pve-kernel-2.6.32-rh/trunk/aacraid_source_1.1.7-28000.tgz
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream



More information about the pve-devel mailing list