[meta-fsl-ppc,4/6] asf: export KERNEL_PATH as it is needed by all tasks

Submitted by Ting Liu on Oct. 9, 2013, 7:33 a.m.

Details

Message ID 1381303991-11600-5-git-send-email-b28495@freescale.com
State Accepted, archived
Headers show

Commit Message

Ting Liu Oct. 9, 2013, 7:33 a.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 hide | download patch | download mbox

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)