[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 22:00:02 UTC 2013
Module: openembedded-core.git
Branch: master-next-1.6
Commit: e9172b1c3c8644a3d57b8b917d6a38cc08e017ce
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e9172b1c3c8644a3d57b8b917d6a38cc08e017ce
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