summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc/gcc-cross-initial.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gcc/gcc-cross-initial.inc')
-rw-r--r--meta/packages/gcc/gcc-cross-initial.inc8
1 files changed, 1 insertions, 7 deletions
diff --git a/meta/packages/gcc/gcc-cross-initial.inc b/meta/packages/gcc/gcc-cross-initial.inc
index e0675263ea..15e5fa62fc 100644
--- a/meta/packages/gcc/gcc-cross-initial.inc
+++ b/meta/packages/gcc/gcc-cross-initial.inc
@@ -1,6 +1,4 @@
1DEPENDS = "virtual/${TARGET_PREFIX}binutils" 1DEPENDS = "virtual/${TARGET_PREFIX}binutils"
2# @todo Please add comment on why this is (still?) needed?
3DEPENDS += "${@['virtual/${TARGET_PREFIX}libc-initial',''][bb.data.getVar('TARGET_ARCH', d, 1) in ['arm', 'armeb', 'mips', 'mipsel', 'powerpc']]}"
4PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial" 2PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial"
5PACKAGES = "" 3PACKAGES = ""
6 4
@@ -8,6 +6,7 @@ PACKAGES = ""
8# sysroot is needed in case we use libc-initial 6# sysroot is needed in case we use libc-initial
9EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${layout_prefix} \ 7EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${layout_prefix} \
10 --with-newlib \ 8 --with-newlib \
9 --without-headers \
11 --disable-shared \ 10 --disable-shared \
12 --disable-threads \ 11 --disable-threads \
13 --disable-multilib \ 12 --disable-multilib \
@@ -19,11 +18,6 @@ EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${layout_prefix} \
19 --with-build-sysroot=${STAGING_DIR_TARGET} \ 18 --with-build-sysroot=${STAGING_DIR_TARGET} \
20 ${@get_gcc_fpu_setting(bb, d)}" 19 ${@get_gcc_fpu_setting(bb, d)}"
21 20
22do_stage_prepend () {
23 mkdir -p ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}
24 ln -sf libgcc.a ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/libgcc_eh.a
25}
26
27do_install () { 21do_install () {
28 : 22 :
29} 23}