diff options
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-initial.inc | 5 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/libgcc-initial.inc | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-initial.inc b/meta/recipes-devtools/gcc/gcc-cross-initial.inc index dcf22710ae..d47f42e4c3 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-initial.inc +++ b/meta/recipes-devtools/gcc/gcc-cross-initial.inc | |||
@@ -47,6 +47,7 @@ do_configure_prepend () { | |||
47 | do_compile () { | 47 | do_compile () { |
48 | oe_runmake all-gcc configure-target-libgcc | 48 | oe_runmake all-gcc configure-target-libgcc |
49 | } | 49 | } |
50 | |||
50 | do_install () { | 51 | do_install () { |
51 | ( cd ${B}/${TARGET_SYS}/libgcc; oe_runmake 'DESTDIR=${D}' install-unwind_h ) | 52 | ( cd ${B}/${TARGET_SYS}/libgcc; oe_runmake 'DESTDIR=${D}' install-unwind_h ) |
52 | oe_runmake 'DESTDIR=${D}' install-gcc | 53 | oe_runmake 'DESTDIR=${D}' install-gcc |
@@ -94,7 +95,7 @@ sysroot_stage_all() { | |||
94 | mv ${SYSROOT_DESTDIR}${target_libdir}/* ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${target_libdir}/ || true | 95 | mv ${SYSROOT_DESTDIR}${target_libdir}/* ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${target_libdir}/ || true |
95 | } | 96 | } |
96 | 97 | ||
97 | do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_HOST}/ ${SYSROOT_DESTDIR}/${STAGING_DIR_TARGET}/${target_base_libdir}/" | 98 | do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_HOST}/" |
98 | do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_HOST}/ ${STAGING_DIR_TCBOOTSTRAP}/${target_base_libdir}/" | 99 | do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR}-components/${PACKAGE_ARCH}/${PN}" |
99 | 100 | ||
100 | inherit nopackages | 101 | inherit nopackages |
diff --git a/meta/recipes-devtools/gcc/libgcc-initial.inc b/meta/recipes-devtools/gcc/libgcc-initial.inc index 687a8a0b09..aa32185ec0 100644 --- a/meta/recipes-devtools/gcc/libgcc-initial.inc +++ b/meta/recipes-devtools/gcc/libgcc-initial.inc | |||
@@ -14,6 +14,4 @@ EXTRA_OECONF += "--disable-shared" | |||
14 | 14 | ||
15 | LIBGCCBUILDTREENAME = "gcc-build-internal-initial-" | 15 | LIBGCCBUILDTREENAME = "gcc-build-internal-initial-" |
16 | 16 | ||
17 | do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_TCBOOTSTRAP}/" | ||
18 | |||
19 | inherit nopackages | 17 | inherit nopackages |