summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-yocto/conf/local.conf.sample.extended8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-yocto/conf/local.conf.sample.extended b/meta-yocto/conf/local.conf.sample.extended
index cff79e4628..06d7abc01b 100644
--- a/meta-yocto/conf/local.conf.sample.extended
+++ b/meta-yocto/conf/local.conf.sample.extended
@@ -233,3 +233,11 @@
233#groupmod -g 1020 developers; \ 233#groupmod -g 1020 developers; \
234#usermod -s /bin/sh tester; \ 234#usermod -s /bin/sh tester; \
235#" 235#"
236
237# Enabling FORTRAN
238# Note this is not officially supported and is just illustrated here to
239# show an example of how it can be done
240FORTRAN_forcevariable = ",fortran"
241RUNTIMETARGET_append_pn-gcc-runtime = " libquadmath libgfortran"
242export BUILD_FC = "${CCACHE}${BUILD_PREFIX}gfortran ${BUILD_CC_ARCH}"
243export FC = "${CCACHE}${HOST_PREFIX}gfortran ${HOST_CC_ARCH}"