summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing Liu <b28495@freescale.com>2013-10-09 07:33:09 +0000
committerZhenhua Luo <zhenhua.luo@freescale.com>2013-10-10 10:27:02 +0800
commite9cb731f0d4afa5e33bc9f475e32368e059db4d1 (patch)
tree45022298945d44f3ba19e7e195db5cf3d7be9667
parent893acbf19588ab35d6969d37069f74903fbf9f05 (diff)
downloadmeta-freescale-e9cb731f0d4afa5e33bc9f475e32368e059db4d1.tar.gz
asf: export KERNEL_PATH as it is needed by all tasks
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>
-rw-r--r--meta-fsl-ppc/recipes-kernel/asf/asf_git.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-fsl-ppc/recipes-kernel/asf/asf_git.bb b/meta-fsl-ppc/recipes-kernel/asf/asf_git.bb
index e3fa8962..7cc23cdc 100644
--- a/meta-fsl-ppc/recipes-kernel/asf/asf_git.bb
+++ b/meta-fsl-ppc/recipes-kernel/asf/asf_git.bb
@@ -12,7 +12,8 @@ inherit module
12 12
13S = "${WORKDIR}/git/asfmodule" 13S = "${WORKDIR}/git/asfmodule"
14 14
15EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} KERNEL_PATH=${STAGING_KERNEL_DIR}" 15EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
16export KERNEL_PATH = "${STAGING_KERNEL_DIR}"
16 17
17python () { 18python () {
18 ma = d.getVar("DISTRO_FEATURES", True) 19 ma = d.getVar("DISTRO_FEATURES", True)