[meta-lsi] [PATCH 81/86] gcc: Add Fortran support for lsi-image-large
Daniel Dragomir
daniel.dragomir at windriver.com
Wed Oct 29 08:36:29 PDT 2014
For lsi-image-large add by default Fortran support to gcc compiler.
Enable Fortran for axxiaarm and axxiapowerpc machine, add packages
for Fortran support and append gcc-runtime_4.8 receipe to add
Fortrun lib as RUNTIMETARGET.
Signed-off-by: Daniel Dragomir <daniel.dragomir at windriver.com>
---
conf/machine/axxiaarm.conf | 2 ++
conf/machine/axxiapowerpc.conf | 2 ++
recipes-core/images/lsi-image-large.bb | 4 ++++
recipes-devtools/gcc/gcc-runtime_4.8.bbappend | 1 +
4 files changed, 9 insertions(+)
create mode 100644 recipes-devtools/gcc/gcc-runtime_4.8.bbappend
diff --git a/conf/machine/axxiaarm.conf b/conf/machine/axxiaarm.conf
index d1928f2..e8d32ac 100644
--- a/conf/machine/axxiaarm.conf
+++ b/conf/machine/axxiaarm.conf
@@ -21,3 +21,5 @@ UBOOT_ENTRYPOINT = "0x400000"
KEEPUIMAGE = "no"
SERIAL_CONSOLE = "9600 ttyAMA0"
+
+FORTRAN_forcevariable = ",fortran"
diff --git a/conf/machine/axxiapowerpc.conf b/conf/machine/axxiapowerpc.conf
index a729546..be44c45 100644
--- a/conf/machine/axxiapowerpc.conf
+++ b/conf/machine/axxiapowerpc.conf
@@ -18,3 +18,5 @@ UBOOT_ENTRYPOINT = "0x400000"
KEEPUIMAGE = "no"
SERIAL_CONSOLE = "115200 ttyS0"
+
+FORTRAN_forcevariable = ",fortran"
diff --git a/recipes-core/images/lsi-image-large.bb b/recipes-core/images/lsi-image-large.bb
index 9923f9f..9dbeee0 100644
--- a/recipes-core/images/lsi-image-large.bb
+++ b/recipes-core/images/lsi-image-large.bb
@@ -185,6 +185,10 @@ ypbind-mt \
yp-tools \
zip \
zlib \
+gfortran \
+gfortran-symlinks \
+libgfortran \
+libgfortran-dev \
"
DESCRIPTION = ""
diff --git a/recipes-devtools/gcc/gcc-runtime_4.8.bbappend b/recipes-devtools/gcc/gcc-runtime_4.8.bbappend
new file mode 100644
index 0000000..06ef0e4
--- /dev/null
+++ b/recipes-devtools/gcc/gcc-runtime_4.8.bbappend
@@ -0,0 +1 @@
+RUNTIMETARGET += "libgfortran"
--
1.8.1.4
More information about the meta-lsi
mailing list