diff options
Diffstat (limited to 'meta/packages/gcc/gcc-runtime_4.3.3.bb')
-rw-r--r-- | meta/packages/gcc/gcc-runtime_4.3.3.bb | 46 |
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 @@ | |||
1 | PR = "r10" | ||
2 | |||
3 | require gcc-${PV}.inc | ||
4 | require gcc-configure-runtime.inc | ||
5 | require gcc-package-runtime.inc | ||
6 | |||
7 | SRC_URI_append = "file://fortran-cross-compile-hack.patch;patch=1" | ||
8 | |||
9 | ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}" | ||
10 | |||
11 | RUNTIMETARGET = "libgcc libssp libstdc++-v3" | ||
12 | # ? | ||
13 | # libiberty | ||
14 | # libmudflap | ||
15 | # libgfortran | ||
16 | |||
17 | do_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 | |||
28 | do_compile () { | ||
29 | for d in ${RUNTIMETARGET}; do | ||
30 | cd ${B}/$d/ | ||
31 | oe_runmake | ||
32 | done | ||
33 | } | ||
34 | |||
35 | do_install () { | ||
36 | for d in ${RUNTIMETARGET}; do | ||
37 | cd ${B}/$d/ | ||
38 | oe_runmake 'DESTDIR=${D}' install | ||
39 | done | ||
40 | } | ||
41 | |||
42 | INHIBIT_DEFAULT_DEPS = "1" | ||
43 | DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" | ||
44 | PROVIDES = "virtual/${TARGET_PREFIX}compilerlibs" | ||
45 | |||
46 | BBCLASSEXTEND = "nativesdk" | ||