kconfig/Makefile needs to use HOSTCC from host to build.

Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br>
---
 recipes-virtualization/hypervisor/hypervisor_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-virtualization/hypervisor/hypervisor_git.bb 
b/recipes-virtualization/hypervisor/hypervisor_git.bb
index 08419387..90cdf2bc 100644
--- a/recipes-virtualization/hypervisor/hypervisor_git.bb
+++ b/recipes-virtualization/hypervisor/hypervisor_git.bb
@@ -31,7 +31,7 @@ S = "${WORKDIR}/git"
 OUTPUT ?= "output32"
 OUTPUT_powerpc64 = "output64"
 
-EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc 
${TOOLCHAIN_OPTIONS}" O="${OUTPUT}"'
+EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc 
${TOOLCHAIN_OPTIONS}" HOSTCC="${BUILD_CC}" O="${OUTPUT}"'
 
 DEFCONFIG = "defconfig"
 DEFCONFIG_powerpc64 = "64bit_defconfig"
-- 
2.11.0

-- 
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to