summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-08 15:00:50 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-09 10:52:03 +0000
commit48527d4ff3a41c16eafebd87620469f341ff981a (patch)
tree3ea8d0d0aee6faf7b50c0e1e72428a8b08602377 /meta
parent5e68071c6f802f46a965f08ede8d1aa6770d97fe (diff)
downloadpoky-48527d4ff3a41c16eafebd87620469f341ff981a.tar.gz
gcc-cross-initial: Remove unneeded temporary sysroot
We used to need to build gcc-cross-initial against a bare sysroot to avoid contamination. With RSS, we no longer need to do this since the recipe sysroot is already bare. We can therefore simply point at that and drop this code. (From OE-Core rev: f70603887f823c14030bb738c4951d7aa3f022db) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-initial.inc13
1 files changed, 1 insertions, 12 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-initial.inc b/meta/recipes-devtools/gcc/gcc-cross-initial.inc
index dd35681c98..5c0208a3fa 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-initial.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-initial.inc
@@ -24,7 +24,7 @@ EXTRA_OECONF = "\
24 --enable-languages=c \ 24 --enable-languages=c \
25 --program-prefix=${TARGET_PREFIX} \ 25 --program-prefix=${TARGET_PREFIX} \
26 --with-sysroot=/not/exist \ 26 --with-sysroot=/not/exist \
27 --with-build-sysroot=${GCCCROSS_BUILDSYSROOT} \ 27 --with-build-sysroot=${STAGING_DIR_TARGET} \
28 ${EXTRA_OECONF_INITIAL} \ 28 ${EXTRA_OECONF_INITIAL} \
29 ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--with-ld=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}ld.bfd', '', d)} \ 29 ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--with-ld=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}ld.bfd', '', d)} \
30 ${EXTRA_OECONF_GCC_FLOAT} \ 30 ${EXTRA_OECONF_GCC_FLOAT} \
@@ -33,17 +33,6 @@ EXTRA_OECONF = "\
33 33
34EXTRA_OECONF += "--with-native-system-header-dir=${SYSTEMHEADERS}" 34EXTRA_OECONF += "--with-native-system-header-dir=${SYSTEMHEADERS}"
35 35
36GCCCROSS_BUILDSYSROOT = "${B}/tmpsysroot"
37
38do_configure_prepend () {
39 sysr=${GCCCROSS_BUILDSYSROOT}${target_includedir}
40 mkdir -p $sysr
41 for t in linux asm asm-generic; do
42 rm -f $sysr/$t
43 ln -s ${STAGING_DIR_TARGET}${target_includedir}/$t $sysr/
44 done
45}
46
47do_compile () { 36do_compile () {
48 oe_runmake all-gcc configure-target-libgcc 37 oe_runmake all-gcc configure-target-libgcc
49} 38}