diff options
Diffstat (limited to 'recipes-devtools/gcc/gcc-configure-runtime.inc')
-rw-r--r-- | recipes-devtools/gcc/gcc-configure-runtime.inc | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/recipes-devtools/gcc/gcc-configure-runtime.inc b/recipes-devtools/gcc/gcc-configure-runtime.inc deleted file mode 100644 index 6cc11e2ffe..0000000000 --- a/recipes-devtools/gcc/gcc-configure-runtime.inc +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | require gcc-configure-common.inc | ||
2 | |||
3 | EXTRA_OECONF_PATHS = " \ | ||
4 | --with-local-prefix=${STAGING_DIR_TARGET}${prefix} \ | ||
5 | --with-gxx-include-dir=${includedir}/c++/ \ | ||
6 | --with-sysroot=${STAGING_DIR_TARGET} \ | ||
7 | --with-build-sysroot=${STAGING_DIR_TARGET}" | ||
8 | |||
9 | RUNTIMETARGET = "libssp libstdc++-v3" | ||
10 | # ? | ||
11 | # libiberty | ||
12 | # libmudflap | ||
13 | # libgfortran | ||
14 | |||
15 | do_configure () { | ||
16 | export CXX="${CXX} -nostdinc++ -nostdlib++" | ||
17 | for d in ${RUNTIMETARGET}; do | ||
18 | echo "Configuring $d" | ||
19 | mkdir -p ${B}/$d/ | ||
20 | cd ${B}/$d/ | ||
21 | chmod a+x ${S}/$d/configure | ||
22 | ${S}/$d/configure ${CONFIGUREOPTS} ${EXTRA_OECONF} | ||
23 | done | ||
24 | } | ||
25 | |||
26 | do_compile () { | ||
27 | for d in ${RUNTIMETARGET}; do | ||
28 | cd ${B}/$d/ | ||
29 | oe_runmake | ||
30 | done | ||
31 | } | ||
32 | |||
33 | do_install () { | ||
34 | for d in ${RUNTIMETARGET}; do | ||
35 | cd ${B}/$d/ | ||
36 | oe_runmake 'DESTDIR=${D}' install | ||
37 | done | ||
38 | } | ||
39 | |||
40 | INHIBIT_DEFAULT_DEPS = "1" | ||
41 | DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++ libgcc" | ||
42 | PROVIDES = "virtual/${TARGET_PREFIX}compilerlibs" | ||
43 | |||
44 | BBCLASSEXTEND = "nativesdk" | ||
45 | |||