build: move intel NIC patches
This commit is contained in:
parent
b9e76370ab
commit
2f7beffd96
18
Makefile
18
Makefile
@ -244,9 +244,9 @@ e1000e.ko e1000e: .compile_mark ${E1000ESRC}
|
||||
rm -rf ${E1000EDIR}
|
||||
tar xf ${E1000ESRC}
|
||||
[ ! -e /lib/modules/${KVNAME}/build ] || (echo "please remove /lib/modules/${KVNAME}/build" && false)
|
||||
cd ${E1000EDIR}; patch -p1 < ../intel-module-gcc6-compat.patch
|
||||
cd ${E1000EDIR}; patch -p1 < ../e1000e_4.10_compat.patch
|
||||
cd ${E1000EDIR}; patch -p1 < ../e1000e_4.10_max-mtu.patch
|
||||
cd ${E1000EDIR}; patch -p1 < ../patches/intel/intel-module-gcc6-compat.patch
|
||||
cd ${E1000EDIR}; patch -p1 < ../patches/intel/e1000e/e1000e_4.10_compat.patch
|
||||
cd ${E1000EDIR}; patch -p1 < ../patches/intel/e1000e/e1000e_4.10_max-mtu.patch
|
||||
cd ${E1000EDIR}/src; make BUILD_KERNEL=${KVNAME} KSRC=${TOP}/${KERNEL_SRC}
|
||||
cp ${E1000EDIR}/src/e1000e.ko e1000e.ko
|
||||
|
||||
@ -254,10 +254,10 @@ igb.ko igb: .compile_mark ${IGBSRC}
|
||||
rm -rf ${IGBDIR}
|
||||
tar xf ${IGBSRC}
|
||||
[ ! -e /lib/modules/${KVNAME}/build ] || (echo "please remove /lib/modules/${KVNAME}/build" && false)
|
||||
cd ${IGBDIR}; patch -p1 < ../intel-module-gcc6-compat.patch
|
||||
cd ${IGBDIR}; patch -p1 < ../igb_4.9_compat.patch
|
||||
cd ${IGBDIR}; patch -p1 < ../igb_4.10_compat.patch
|
||||
cd ${IGBDIR}; patch -p1 < ../igb_4.10_max-mtu.patch
|
||||
cd ${IGBDIR}; patch -p1 < ../patches/intel/intel-module-gcc6-compat.patch
|
||||
cd ${IGBDIR}; patch -p1 < ../patches/intel/igb/igb_4.9_compat.patch
|
||||
cd ${IGBDIR}; patch -p1 < ../patches/intel/igb/igb_4.10_compat.patch
|
||||
cd ${IGBDIR}; patch -p1 < ../patches/intel/igb/igb_4.10_max-mtu.patch
|
||||
cd ${IGBDIR}/src; make BUILD_KERNEL=${KVNAME} KSRC=${TOP}/${KERNEL_SRC}
|
||||
cp ${IGBDIR}/src/igb.ko igb.ko
|
||||
|
||||
@ -265,8 +265,8 @@ ixgbe.ko ixgbe: .compile_mark ${IXGBESRC}
|
||||
rm -rf ${IXGBEDIR}
|
||||
tar xf ${IXGBESRC}
|
||||
[ ! -e /lib/modules/${KVNAME}/build ] || (echo "please remove /lib/modules/${KVNAME}/build" && false)
|
||||
cd ${IXGBEDIR}; patch -p1 < ../ixgbe_4.10_compat.patch
|
||||
cd ${IXGBEDIR}; patch -p1 < ../ixgbe_4.10_max-mtu.patch
|
||||
cd ${IXGBEDIR}; patch -p1 < ../patches/intel/ixgbe/ixgbe_4.10_compat.patch
|
||||
cd ${IXGBEDIR}; patch -p1 < ../patches/intel/ixgbe/ixgbe_4.10_max-mtu.patch
|
||||
cd ${IXGBEDIR}/src; make CFLAGS_EXTRA="-DIXGBE_NO_LRO" BUILD_KERNEL=${KVNAME} KSRC=${TOP}/${KERNEL_SRC}
|
||||
cp ${IXGBEDIR}/src/ixgbe.ko ixgbe.ko
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user