aboutsummaryrefslogtreecommitdiff
path: root/recipes-devtools/gcc/gcc-configure-runtime.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools/gcc/gcc-configure-runtime.inc')
-rw-r--r--recipes-devtools/gcc/gcc-configure-runtime.inc52
1 files changed, 0 insertions, 52 deletions
diff --git a/recipes-devtools/gcc/gcc-configure-runtime.inc b/recipes-devtools/gcc/gcc-configure-runtime.inc
deleted file mode 100644
index 095d6c16..00000000
--- a/recipes-devtools/gcc/gcc-configure-runtime.inc
+++ /dev/null
@@ -1,52 +0,0 @@
-require gcc-configure-common.inc
-
-CXXFLAGS := "${@oe_filter_out('-fvisibility-inlines-hidden', '${CXXFLAGS}', d)}"
-
-EXTRA_OECONF_PATHS = " \
- --with-gxx-include-dir=${includedir}/c++/ \
- --with-sysroot=${STAGING_DIR_TARGET} \
- --with-build-sysroot=${STAGING_DIR_TARGET}"
-
-RUNTIMETARGET = "libssp libstdc++-v3"
-# ?
-# libiberty
-# libmudflap
-# libgfortran
-
-do_configure () {
- export CXX="${CXX} -nostdinc++ -nostdlib++"
- mtarget=`echo ${MULTIMACH_TARGET_SYS} | sed -e s#-nativesdk##`
- target=`echo ${TARGET_SYS} | sed -e s#-nativesdk##`
- cp -fpPR ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$mtarget/* ${B}
- for d in libgcc ${RUNTIMETARGET}; do
- echo "Configuring $d"
- rm -rf ${B}/$target/$d/
- mkdir -p ${B}/$target/$d/
- cd ${B}/$target/$d/
- chmod a+x ${S}/$d/configure
- ${S}/$d/configure ${CONFIGUREOPTS} ${EXTRA_OECONF}
- done
-}
-
-do_compile () {
- target=`echo ${TARGET_SYS} | sed -e s#-nativesdk##`
- for d in libgcc ${RUNTIMETARGET}; do
- cd ${B}/$target/$d/
- oe_runmake MULTIBUILDTOP=${B}/$target/$d/
- done
-}
-
-do_install () {
- target=`echo ${TARGET_SYS} | sed -e s#-nativesdk##`
- for d in ${RUNTIMETARGET}; do
- cd ${B}/$target/$d/
- oe_runmake 'DESTDIR=${D}' MULTIBUILDTOP=${B}/$target/$d/ install
- done
- chown -R root:root ${D}
-}
-
-INHIBIT_DEFAULT_DEPS = "1"
-DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++ libgcc"
-PROVIDES = "virtual/${TARGET_PREFIX}compilerlibs"
-
-BBCLASSEXTEND = "nativesdk"