]> code.ossystems Code Review - meta-freescale.git/commitdiff
hypervisor: Pass HOSTCC in EXTRA_OEMAKE
authorFabio Berton <fabio.berton@ossystems.com.br>
Fri, 28 Apr 2017 12:16:55 +0000 (09:16 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Sun, 30 Apr 2017 19:50:39 +0000 (16:50 -0300)
kconfig/Makefile needs to use HOSTCC from host to build.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-virtualization/hypervisor/hypervisor_git.bb

index 0841938709f64448341a74ebf80718bc2845c684..90cdf2bc8e0b0eb73e25aa1307b4526960153ae3 100644 (file)
@@ -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"