From 2e4ae929e4c2d4096e80c04d14d57d5be868c0ec Mon Sep 17 00:00:00 2001 From: Ting Liu Date: Wed, 9 Oct 2013 07:33:09 +0000 Subject: 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 --- recipes-kernel/asf/asf_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3-54-g00ecf