]> code.ossystems Code Review - openembedded-core.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:01:49 +0000 (23:01 +0100)
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>
meta/conf/local.conf.sample.extended

index f1a91ae6c6713d33fb6bed72df3a6e80784306ee..23a79dcc264e9554c66bfbdd75a7c9d56bdb69b3 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}"