summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc/gcc3-build-sdk.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gcc/gcc3-build-sdk.inc')
-rw-r--r--meta/packages/gcc/gcc3-build-sdk.inc27
1 files changed, 0 insertions, 27 deletions
diff --git a/meta/packages/gcc/gcc3-build-sdk.inc b/meta/packages/gcc/gcc3-build-sdk.inc
deleted file mode 100644
index e2ec9565a7..0000000000
--- a/meta/packages/gcc/gcc3-build-sdk.inc
+++ /dev/null
@@ -1,27 +0,0 @@
1USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibc", "no", "", d )}'
2
3SRC_URI += 'file://sdk-libstdc++-includes.patch;patch=1'
4
5STAGING_TARGET_INCDIR = "${STAGING_DIR}/${TARGET_SYS}/include"
6STAGING_TARGET_LIBDIR = "${STAGING_DIR}/${TARGET_SYS}/lib"
7
8do_configure () {
9 (cd ${S} && gnu-configize) || die "failure running gnu-configize"
10 (cd ${S}/libstdc++-v3 && autoreconf)
11 oe_runconf
12 mkdir -p gcc
13 ln -sf ${CROSS_DIR}/bin/${TARGET_PREFIX}as gcc/as
14 ln -sf ${CROSS_DIR}/bin/${TARGET_PREFIX}ld gcc/ld
15 ln -sf ${STAGING_TARGET_INCDIR}/* ${S}/include
16 ln -sf ${STAGING_TARGET_LIBDIR}/crt*.o gcc/
17}
18
19do_compile () {
20 export CC="${BUILD_CC}"
21 export AR_FOR_TARGET="${TARGET_SYS}-ar"
22 export RANLIB_FOR_TARGET="${TARGET_SYS}-ranlib"
23 export LD_FOR_TARGET="${TARGET_SYS}-ld"
24 export NM_FOR_TARGET="${TARGET_SYS}-nm"
25 export CC_FOR_TARGET="${CCACHE} ${TARGET_SYS}-gcc ${TARGET_CC_ARCH}"
26 oe_runmake CFLAGS_FOR_TARGET="-I${STAGING_TARGET_INCDIR}"
27}