From e9cb731f0d4afa5e33bc9f475e32368e059db4d1 Mon Sep 17 00:00:00 2001 From: Ting Liu Date: Wed, 9 Oct 2013 07:33:09 +0000 Subject: [PATCH] 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 --- meta-fsl-ppc/recipes-kernel/asf/asf_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.40.1