]> code.ossystems Code Review - meta-freescale.git/commitdiff
asf: export KERNEL_PATH as it is needed by all tasks
authorTing Liu <b28495@freescale.com>
Wed, 9 Oct 2013 07:33:09 +0000 (07:33 +0000)
committerZhenhua Luo <zhenhua.luo@freescale.com>
Thu, 10 Oct 2013 02:27:02 +0000 (10:27 +0800)
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>
meta-fsl-ppc/recipes-kernel/asf/asf_git.bb

index e3fa8962192db0330cba3f1e0414977b0074116e..7cc23cdc0103cc66cdfb5b625633c29184793ff7 100644 (file)
@@ -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)