[meta-intel] [PATCH 3/5] iwlwifi_git.bb: run make_scripts earlier

Saul Wold sgw at linux.intel.com
Thu Jul 27 14:56:50 PDT 2017


From: California Sullivan <california.l.sullivan at intel.com>

This out-of-tree module requires we create scripts before configuration
but module.bbclass runs make scripts sometime before do_compile. In
some builds this results in a failure, as it might not be soon enough.

Run make scripts again but earlier. Ideally we change module.bbclass
instead, but its currently frozen for M2 testing, so we need this
temporary local fix.

Signed-off-by: California Sullivan <california.l.sullivan at intel.com>
---
 common/recipes-kernel/iwlwifi/iwlwifi_git.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/common/recipes-kernel/iwlwifi/iwlwifi_git.bb b/common/recipes-kernel/iwlwifi/iwlwifi_git.bb
index a88eabe..53568e9 100644
--- a/common/recipes-kernel/iwlwifi/iwlwifi_git.bb
+++ b/common/recipes-kernel/iwlwifi/iwlwifi_git.bb
@@ -39,3 +39,5 @@ RDEPENDS_${PN} = "linux-firmware-iwlwifi"
 
 KERNEL_MODULE_AUTOLOAD_append_core2-32-intel-common = " iwlwifi"
 KERNEL_MODULE_AUTOLOAD_append_corei7-64-intel-common = " iwlwifi"
+
+addtask make_scripts after do_prepare_recipe_sysroot before do_configure
-- 
2.7.5



More information about the meta-intel mailing list