summaryrefslogtreecommitdiffstats
path: root/meta-yocto
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2013-12-05 00:49:12 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-05 14:25:23 +0000
commitcae2315266b704614fe1d7bdeef004ef67a01e8d (patch)
treed39be7fa92c09d56322177d2e8f385c98453ecce /meta-yocto
parent5bde5d9b39ea67f19a1a6aedd0c08c6cfedcbe5f (diff)
downloadpoky-cae2315266b704614fe1d7bdeef004ef67a01e8d.tar.gz
bitbake.conf/native.bbclass: Use FC instead of F77 for fortran
gcc tooling appears to be standardising around the FC variable naming. This patch changes the F77 namespace to FC instead and use the default gfortran compiler. If anyone needs the F77 variables or tools, those can still be made on a case by case basis. Also updates local.conf.sample.extended accordingly. (From OE-Core rev: ae8c17be2845eff2be8394a5d9a45e6aa321c33d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto')
-rw-r--r--meta-yocto/conf/local.conf.sample.extended7
1 files changed, 3 insertions, 4 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