diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/libgcc-initial.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/libgcc-initial.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-devtools/gcc/libgcc-initial.inc b/meta/recipes-devtools/gcc/libgcc-initial.inc index 06bf224f73..ce100d7ddc 100644 --- a/meta/recipes-devtools/gcc/libgcc-initial.inc +++ b/meta/recipes-devtools/gcc/libgcc-initial.inc | |||
@@ -29,7 +29,7 @@ | |||
29 | 29 | ||
30 | require libgcc-common.inc | 30 | require libgcc-common.inc |
31 | 31 | ||
32 | DEPENDS = "virtual/${TARGET_PREFIX}gcc" | 32 | DEPENDS = "virtual/cross-cc" |
33 | 33 | ||
34 | LICENSE = "GPL-3.0-with-GCC-exception" | 34 | LICENSE = "GPL-3.0-with-GCC-exception" |
35 | 35 | ||
@@ -42,17 +42,17 @@ inherit nopackages | |||
42 | # We really only want this built by things that need it, not any recrdeptask | 42 | # We really only want this built by things that need it, not any recrdeptask |
43 | deltask do_build | 43 | deltask do_build |
44 | 44 | ||
45 | do_configure_prepend () { | 45 | do_configure:prepend () { |
46 | install -d ${STAGING_INCDIR} | 46 | install -d ${STAGING_INCDIR} |
47 | touch ${STAGING_INCDIR}/limits.h | 47 | touch ${STAGING_INCDIR}/limits.h |
48 | sed -i -e 's#INHIBIT_LIBC_CFLAGS =.*#INHIBIT_LIBC_CFLAGS = -Dinhibit_libc#' ${B}/gcc/libgcc.mvars | 48 | sed -i -e 's#INHIBIT_LIBC_CFLAGS =.*#INHIBIT_LIBC_CFLAGS = -Dinhibit_libc#' ${B}/gcc/libgcc.mvars |
49 | sed -i -e 's#inhibit_libc = false#inhibit_libc = true#' ${B}/gcc/Makefile | 49 | sed -i -e 's#inhibit_libc = false#inhibit_libc = true#' ${B}/gcc/Makefile |
50 | } | 50 | } |
51 | 51 | ||
52 | do_configure_append () { | 52 | do_configure:append () { |
53 | sed -i -e 's#thread_header = .*#thread_header = gthr-single.h#' ${B}/${BPN}/Makefile | 53 | sed -i -e 's#thread_header = .*#thread_header = gthr-single.h#' ${B}/${BPN}/Makefile |
54 | } | 54 | } |
55 | 55 | ||
56 | do_install_append () { | 56 | do_install:append () { |
57 | ln -s libgcc.a ${D}${libdir}/${TARGET_SYS}/${BINV}/libgcc_eh.a | 57 | ln -s libgcc.a ${D}${libdir}/${TARGET_SYS}/${BINV}/libgcc_eh.a |
58 | } | 58 | } |