summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-yocto/conf/local.conf.sample.extended7
-rw-r--r--meta/classes/native.bbclass2
-rw-r--r--meta/conf/bitbake.conf4
3 files changed, 6 insertions, 7 deletions
diff --git a/meta-yocto/conf/local.conf.sample.extended b/meta-yocto/conf/local.conf.sample.extended
index f85310e813..628f14dbb0 100644
--- a/meta-yocto/conf/local.conf.sample.extended
+++ b/meta-yocto/conf/local.conf.sample.extended
@@ -245,10 +245,9 @@
245# Enabling FORTRAN 245# Enabling FORTRAN
246# Note this is not officially supported and is just illustrated here to 246# Note this is not officially supported and is just illustrated here to
247# show an example of how it can be done 247# show an example of how it can be done
248FORTRAN_forcevariable = ",fortran" 248# You'll also need your fortran recipe to depend on libgfortran
249RUNTIMETARGET_append_pn-gcc-runtime = " libquadmath libgfortran" 249#FORTRAN_forcevariable = ",fortran"
250export BUILD_FC = "${CCACHE}${BUILD_PREFIX}gfortran ${BUILD_CC_ARCH}" 250#RUNTIMETARGET_append_pn-gcc-runtime = " libquadmath"
251export FC = "${CCACHE}${HOST_PREFIX}gfortran ${HOST_CC_ARCH}"
252 251
253# 252#
254# Kernel image features 253# Kernel image features
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass
index 7c4e8c35c6..b2d85efd21 100644
--- a/meta/classes/native.bbclass
+++ b/meta/classes/native.bbclass
@@ -59,7 +59,7 @@ export CONFIG_SITE = "${COREBASE}/meta/site/native"
59# set the compiler as well. It could have been set to something else 59# set the compiler as well. It could have been set to something else
60export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}" 60export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}"
61export CXX = "${CCACHE}${HOST_PREFIX}g++ ${HOST_CC_ARCH}" 61export CXX = "${CCACHE}${HOST_PREFIX}g++ ${HOST_CC_ARCH}"
62export F77 = "${CCACHE}${HOST_PREFIX}g77 ${HOST_CC_ARCH}" 62export FC = "${CCACHE}${HOST_PREFIX}gfortran ${HOST_CC_ARCH}"
63export CPP = "${HOST_PREFIX}gcc ${HOST_CC_ARCH} -E" 63export CPP = "${HOST_PREFIX}gcc ${HOST_CC_ARCH} -E"
64export LD = "${HOST_PREFIX}ld ${HOST_LD_ARCH} " 64export LD = "${HOST_PREFIX}ld ${HOST_LD_ARCH} "
65export CCLD = "${CC}" 65export CCLD = "${CC}"
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index bbb1df677e..386c935492 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -446,7 +446,7 @@ TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TARGET}"
446 446
447export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" 447export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
448export CXX = "${CCACHE}${HOST_PREFIX}g++ ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" 448export CXX = "${CCACHE}${HOST_PREFIX}g++ ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
449export F77 = "${CCACHE}${HOST_PREFIX}g77 ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" 449export FC = "${CCACHE}${HOST_PREFIX}gfortran ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
450export CPP = "${HOST_PREFIX}gcc -E${TOOLCHAIN_OPTIONS} ${HOST_CC_ARCH}" 450export CPP = "${HOST_PREFIX}gcc -E${TOOLCHAIN_OPTIONS} ${HOST_CC_ARCH}"
451export LD = "${HOST_PREFIX}ld${TOOLCHAIN_OPTIONS} ${HOST_LD_ARCH}" 451export LD = "${HOST_PREFIX}ld${TOOLCHAIN_OPTIONS} ${HOST_LD_ARCH}"
452export CCLD = "${CC}" 452export CCLD = "${CC}"
@@ -462,7 +462,7 @@ PYTHON = "${@sys.executable}"
462 462
463export BUILD_CC = "${CCACHE}${BUILD_PREFIX}gcc ${BUILD_CC_ARCH}" 463export BUILD_CC = "${CCACHE}${BUILD_PREFIX}gcc ${BUILD_CC_ARCH}"
464export BUILD_CXX = "${CCACHE}${BUILD_PREFIX}g++ ${BUILD_CC_ARCH}" 464export BUILD_CXX = "${CCACHE}${BUILD_PREFIX}g++ ${BUILD_CC_ARCH}"
465export BUILD_F77 = "${CCACHE}${BUILD_PREFIX}g77 ${BUILD_CC_ARCH}" 465export BUILD_FC = "${CCACHE}${BUILD_PREFIX}gfortran ${BUILD_CC_ARCH}"
466export BUILD_CPP = "${BUILD_PREFIX}cpp ${BUILD_CC_ARCH}" 466export BUILD_CPP = "${BUILD_PREFIX}cpp ${BUILD_CC_ARCH}"
467export BUILD_LD = "${BUILD_PREFIX}ld ${BUILD_LD_ARCH}" 467export BUILD_LD = "${BUILD_PREFIX}ld ${BUILD_LD_ARCH}"
468export BUILD_CCLD = "${BUILD_PREFIX}gcc ${BUILD_CC_ARCH}" 468export BUILD_CCLD = "${BUILD_PREFIX}gcc ${BUILD_CC_ARCH}"