From: Richard Purdie Date: Thu, 5 Sep 2013 21:14:01 +0000 (+0100) Subject: local.conf.sample.extended: Add an example of how to enable fortran X-Git-Tag: 2015-4~5271 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=8e971a457427ad3999ff3cf4c9be3c141d6bb7be;p=openembedded-core.git local.conf.sample.extended: Add an example of how to enable fortran Add an example of how to enable FORTRAN from local.conf. Make it clear this is not officially supported. [YOCTO #5091] Signed-off-by: Richard Purdie --- diff --git a/meta/conf/local.conf.sample.extended b/meta/conf/local.conf.sample.extended index f1a91ae6c6..23a79dcc26 100644 --- a/meta/conf/local.conf.sample.extended +++ b/meta/conf/local.conf.sample.extended @@ -229,3 +229,11 @@ #groupmod -g 1020 developers; \ #usermod -s /bin/sh tester; \ #" + +# Enabling FORTRAN +# Note this is not officially supported and is just illustrated here to +# show an example of how it can be done +FORTRAN_forcevariable = ",fortran" +RUNTIMETARGET_append_pn-gcc-runtime = " libquadmath libgfortran" +export BUILD_FC = "${CCACHE}${BUILD_PREFIX}gfortran ${BUILD_CC_ARCH}" +export FC = "${CCACHE}${HOST_PREFIX}gfortran ${HOST_CC_ARCH}"