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:03:53 +0100 |
commit | 835b5c1504d2edc415143e9bae981290e457d82a (patch) | |
tree | 374a61dcecca584bd23aac243683e70d76031854 | |
parent | faed110e665628aeb0582259b3a1a6606b031c87 (diff) | |
download | poky-835b5c1504d2edc415143e9bae981290e457d82a.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]
(From OE-Core rev: 8e971a457427ad3999ff3cf4c9be3c141d6bb7be)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta-yocto/conf/local.conf.sample.extended | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-yocto/conf/local.conf.sample.extended b/meta-yocto/conf/local.conf.sample.extended index cff79e4628..06d7abc01b 100644 --- a/meta-yocto/conf/local.conf.sample.extended +++ b/meta-yocto/conf/local.conf.sample.extended | |||
@@ -233,3 +233,11 @@ | |||
233 | #groupmod -g 1020 developers; \ | 233 | #groupmod -g 1020 developers; \ |
234 | #usermod -s /bin/sh tester; \ | 234 | #usermod -s /bin/sh tester; \ |
235 | #" | 235 | #" |
236 | |||
237 | # Enabling FORTRAN | ||
238 | # Note this is not officially supported and is just illustrated here to | ||
239 | # show an example of how it can be done | ||
240 | FORTRAN_forcevariable = ",fortran" | ||
241 | RUNTIMETARGET_append_pn-gcc-runtime = " libquadmath libgfortran" | ||
242 | export BUILD_FC = "${CCACHE}${BUILD_PREFIX}gfortran ${BUILD_CC_ARCH}" | ||
243 | export FC = "${CCACHE}${HOST_PREFIX}gfortran ${HOST_CC_ARCH}" | ||