removing in-tree ixgbe and ixgbevf kernel module to enable out-of-tree ixgbe 
and ixgbevf module from linux-yocto 4.4

Signed-off-by: Syed Mohamad Fauzi, Syed Johan Arif 
<syed.johan.arif.syed.mohamad.fa...@intel.com>
---
 common/recipes-kernel/linux/linux-yocto_4.4.bbappend | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/common/recipes-kernel/linux/linux-yocto_4.4.bbappend 
b/common/recipes-kernel/linux/linux-yocto_4.4.bbappend
index c20f748..92233b0 100644
--- a/common/recipes-kernel/linux/linux-yocto_4.4.bbappend
+++ b/common/recipes-kernel/linux/linux-yocto_4.4.bbappend
@@ -33,7 +33,6 @@ SRCREV_meta_i586-nlp-32-intel-common ?= 
"${SRCREV_META_INTEL_COMMON}"
 SRCREV_machine_i586-nlp-32-intel-common ?= "${SRCREV_MACHINE_INTEL_COMMON}"
 KERNEL_FEATURES_append_i586-nlp-32-intel-common = ""
 
-
 # For Crystalforest and Romley
 KERNEL_MODULE_AUTOLOAD_append_core2-32-intel-common = " uio"
 KERNEL_MODULE_AUTOLOAD_append_corei7-64-intel-common = " uio"
@@ -41,3 +40,9 @@ KERNEL_MODULE_AUTOLOAD_append_corei7-64-intel-common = " uio"
 # For FRI2, NUC
 KERNEL_MODULE_AUTOLOAD_append_core2-32-intel-common = " iwlwifi"
 KERNEL_MODULE_AUTOLOAD_append_corei7-64-intel-common = " iwlwifi"
+
+do_compile_kernelmodules_append() {
+       rm -rf ${B}/drivers/net/ethernet/intel/ixgbe
+       rm -rf ${B}/drivers/net/ethernet/intel/ixgbevf
+       rm -rf ${B}/net/ethernet
+}
-- 
1.9.1

-- 
_______________________________________________
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel

Reply via email to