diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-05 22:14:01 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-06 23:01:49 +0100 |
commit | 8e971a457427ad3999ff3cf4c9be3c141d6bb7be (patch) | |
tree | 2788c193d04cbb18af0c377cd00e61222fad7d6b /meta | |
parent | 6ac48ffbab29a37b0eada533191878aeae3c91f0 (diff) | |
download | openembedded-core-contrib-8e971a457427ad3999ff3cf4c9be3c141d6bb7be.tar.gz |
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/conf/local.conf.sample.extended | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/conf/local.conf.sample.extended b/meta/conf/local.conf.sample.extended index f1a91ae6c67..23a79dcc264 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}" |