]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
local.conf.sample.extended: Add an example of how to enable fortran
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Sep 2013 21:14:01 +0000 (22:14 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Sep 2013 22:03:53 +0000 (23:03 +0100)
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 <richard.purdie@linuxfoundation.org>
meta-yocto/conf/local.conf.sample.extended

index cff79e46281f1eea638de9685924da74336f30eb..06d7abc01b32e53ceff3ed2a63bf9b07e908c732 100644 (file)
 #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}"