summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc/gcc-runtime_4.3.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gcc/gcc-runtime_4.3.3.bb')
-rw-r--r--meta/packages/gcc/gcc-runtime_4.3.3.bb46
1 files changed, 46 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-runtime_4.3.3.bb b/meta/packages/gcc/gcc-runtime_4.3.3.bb
new file mode 100644
index 0000000000..080841ce8f
--- /dev/null
+++ b/meta/packages/gcc/gcc-runtime_4.3.3.bb
@@ -0,0 +1,46 @@
1PR = "r10"
2
3require gcc-${PV}.inc
4require gcc-configure-runtime.inc
5require gcc-package-runtime.inc
6
7SRC_URI_append = "file://fortran-cross-compile-hack.patch;patch=1"
8
9ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}"
10
11RUNTIMETARGET = "libgcc libssp libstdc++-v3"
12# ?
13# libiberty
14# libmudflap
15# libgfortran
16
17do_configure () {
18 cp ${CROSS_DIR}/include/gcc-build-internal/* ${S}/gcc
19 for d in ${RUNTIMETARGET}; do
20 echo "Configuring $d"
21 mkdir -p ${B}/$d/
22 cd ${B}/$d/
23 chmod a+x ${S}/$d/configure
24 ${S}/$d/configure ${CONFIGUREOPTS}
25 done
26}
27
28do_compile () {
29 for d in ${RUNTIMETARGET}; do
30 cd ${B}/$d/
31 oe_runmake
32 done
33}
34
35do_install () {
36 for d in ${RUNTIMETARGET}; do
37 cd ${B}/$d/
38 oe_runmake 'DESTDIR=${D}' install
39 done
40}
41
42INHIBIT_DEFAULT_DEPS = "1"
43DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
44PROVIDES = "virtual/${TARGET_PREFIX}compilerlibs"
45
46BBCLASSEXTEND = "nativesdk"