[oe-commits] Richard Purdie : local.conf.sample.extended: Add an example of how to enable fortran

git at git.openembedded.org git at git.openembedded.org
Fri Sep 6 21:59:29 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 8e971a457427ad3999ff3cf4c9be3c141d6bb7be
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8e971a457427ad3999ff3cf4c9be3c141d6bb7be

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Thu Sep  5 22:14:01 2013 +0100

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 at linuxfoundation.org>

---

 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 f1a91ae..23a79dc 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}"



More information about the Openembedded-commits mailing list