diff options
-rw-r--r-- | meta/classes/cross.bbclass | 13 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-intermediate.inc | 12 |
2 files changed, 12 insertions, 13 deletions
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass index 2564505d6a..f9fd07a9a2 100644 --- a/meta/classes/cross.bbclass +++ b/meta/classes/cross.bbclass | |||
@@ -62,16 +62,3 @@ do_install () { | |||
62 | oe_runmake 'DESTDIR=${D}' install | 62 | oe_runmake 'DESTDIR=${D}' install |
63 | } | 63 | } |
64 | 64 | ||
65 | # | ||
66 | # Override the default sysroot staging copy since this won't look like a target system | ||
67 | # | ||
68 | sysroot_stage_all() { | ||
69 | sysroot_stage_dir ${D} ${SYSROOT_DESTDIR} | ||
70 | install -d ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${target_base_libdir}/ | ||
71 | install -d ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${target_libdir}/ | ||
72 | mv ${SYSROOT_DESTDIR}${target_base_libdir}/* ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${target_base_libdir}/ || true | ||
73 | mv ${SYSROOT_DESTDIR}${target_libdir}/* ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${target_libdir}/ || true | ||
74 | } | ||
75 | |||
76 | |||
77 | |||
diff --git a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc index 01571a3202..2e5283d691 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc +++ b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc | |||
@@ -45,3 +45,15 @@ do_install () { | |||
45 | ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t $dest$t | 45 | ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t $dest$t |
46 | done | 46 | done |
47 | } | 47 | } |
48 | |||
49 | # | ||
50 | # Override the default sysroot staging copy since this won't look like a target system | ||
51 | # | ||
52 | sysroot_stage_all() { | ||
53 | sysroot_stage_dir ${D} ${SYSROOT_DESTDIR} | ||
54 | install -d ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${target_base_libdir}/ | ||
55 | install -d ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${target_libdir}/ | ||
56 | mv ${SYSROOT_DESTDIR}${target_base_libdir}/* ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${target_base_libdir}/ || true | ||
57 | mv ${SYSROOT_DESTDIR}${target_libdir}/* ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${target_libdir}/ || true | ||
58 | } | ||
59 | |||