diff options
Diffstat (limited to 'meta/packages/gcc/gcc-cross-initial.inc')
-rw-r--r-- | meta/packages/gcc/gcc-cross-initial.inc | 8 |
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 @@ | |||
1 | DEPENDS = "virtual/${TARGET_PREFIX}binutils" | 1 | DEPENDS = "virtual/${TARGET_PREFIX}binutils" |
2 | # @todo Please add comment on why this is (still?) needed? | ||
3 | DEPENDS += "${@['virtual/${TARGET_PREFIX}libc-initial',''][bb.data.getVar('TARGET_ARCH', d, 1) in ['arm', 'armeb', 'mips', 'mipsel', 'powerpc']]}" | ||
4 | PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial" | 2 | PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial" |
5 | PACKAGES = "" | 3 | PACKAGES = "" |
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 |
9 | EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${layout_prefix} \ | 7 | EXTRA_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 | ||
22 | do_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 | |||
27 | do_install () { | 21 | do_install () { |
28 | : | 22 | : |
29 | } | 23 | } |