[meta-freescale] [PATCH 3/3] hypervisor: Pass HOSTCC in EXTRA_OEMAKE

Fabio Berton fabio.berton at ossystems.com.br
Fri Apr 28 05:16:55 PDT 2017


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

Signed-off-by: Fabio Berton <fabio.berton at 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



More information about the meta-freescale mailing list