From: Ting Liu Date: Wed, 9 Oct 2013 07:33:09 +0000 (+0000) Subject: asf: export KERNEL_PATH as it is needed by all tasks X-Git-Tag: 2.1~534^2~226 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=e9cb731f0d4afa5e33bc9f475e32368e059db4d1;p=meta-freescale.git 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 --- 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 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)