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-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=835b5c1504d2edc415143e9bae981290e457d82a;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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] (From OE-Core rev: 8e971a457427ad3999ff3cf4c9be3c141d6bb7be) Signed-off-by: Richard Purdie --- diff --git a/meta-yocto/conf/local.conf.sample.extended b/meta-yocto/conf/local.conf.sample.extended index cff79e46281..06d7abc01b3 100644 --- a/meta-yocto/conf/local.conf.sample.extended +++ b/meta-yocto/conf/local.conf.sample.extended @@ -233,3 +233,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}"