[meta-freescale] [meta-fsl-ppc][PATCH 4/6] asf: export KERNEL_PATH	as it is needed by all tasks
    b28495 at freescale.com 
    b28495 at freescale.com
       
    Wed Oct  9 00:33:09 PDT 2013
    
    
  
From: Ting Liu <b28495 at freescale.com>
Avoid the below error:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| Makefile:12: /.config: No such file or directory
| asfconfig.mk:15: *** ASF is Disabled in Kernel. Try to fix.  Stop.
| ERROR: Function failed: do_configure
Signed-off-by: Ting Liu <b28495 at freescale.com>
---
 recipes-kernel/asf/asf_git.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/recipes-kernel/asf/asf_git.bb b/recipes-kernel/asf/asf_git.bb
index e3fa896..7cc23cd 100644
--- a/recipes-kernel/asf/asf_git.bb
+++ b/recipes-kernel/asf/asf_git.bb
@@ -12,7 +12,8 @@ inherit module
 
 S = "${WORKDIR}/git/asfmodule"
 
-EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} KERNEL_PATH=${STAGING_KERNEL_DIR}"
+EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
+export KERNEL_PATH = "${STAGING_KERNEL_DIR}"
 
 python () {
     ma = d.getVar("DISTRO_FEATURES", True)
-- 
1.7.3.4
    
    
More information about the meta-freescale
mailing list