Patchwork [meta-fsl-ppc,dylan,08/12] asf: export KERNEL_PATH as it is needed by all tasks

login
register
mail settings
Submitter Ting Liu
Date Jan. 7, 2014, 1:06 p.m.
Message ID <1389100023-19005-9-git-send-email-b28495@freescale.com>
Download mbox | patch
Permalink /patch/64227/
State Accepted
Headers show

Comments

Ting Liu - Jan. 7, 2014, 1:06 p.m.
From: Ting Liu <b28495@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@freescale.com>
---
 recipes-kernel/asf/asf_git.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Patch

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)