This includes locale, mtrace, and scripts. Rather than letting the glibc
recipe extract them, place them in the sysroot, and the other glibc
recipes pull the files from there, we extract them directly from the
external toolchain.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
* external-cross-canadian: (21 commits)
tcmode-external: prefer gdb-external-cross
gdb-external-cross: add recipe
tcmode-external: default to external-cross-canadian recipes
tcmode-external: blacklist cross-canadian recipes
external-toolchain-cross-canadian: append to PN in the recipes
gcc-external-cross-canadian: also include libcc1*
gcc-external-cross-canadian: also check the external libroot
gcc-external-cross-canadian: only grab the BINV dir, not all of lib/gcc
gcc-external-cross-canadian: skip dev-so/staticdev qa tests
gcc-external-cross-canadian: add recipe
gdb-external-cross-canadian: use FILES_MIRRORS for alternate share/gdb path
gdb-external-cross-canadian: skip dev-so, staticdev checks
gdb-external-cross-canadian: split out and use gdb-external.inc
gdb-external-cross-canadian: add recipe
binutils-external-cross{,canadian}: include ld.bfd, ld.gold
binutils-external-cross-canadian: add recipe
binutils-external-cross: split out binutils-external.inc
external-toolchain-cross-canadian.bbclass: drop the binutils-cross dep
external-toolchain-cross-canadian.bbclass: use host strip/objcopy
external-toolchain-cross-canadian: ship TARGET_PREFIX symlinks
...
When EXTERNAL_TARGET_SYS != TARGET_PREFIX, which is generally the case,
we should ship symlinks with the other prefix. This is largely for
compatibility with existing scripts, but also means we don't need to
alter the variables in environment-setup, i.e. CC.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This class will be used by the binutils and gcc cross-canadian recipes
which package and install the external toolchain binaries into the host
sysroot in the sdk.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
* general-fixes:
gcc-external{.inc,-cross}: use non-prefixed gcc_binaries
gcc-external.inc: drop unnecessary external-toolchain inherit
layer.conf: add fallback default for GCC_VERSION
gcc: Use globally set GCC_VERSION in recipes
tcmode-external: also blacklist libgfortran
tcmode-external: add prefs for gcc-runtime, libgcc-initial, libgfortran
meta-environment{,-extsdk}: don't include -B${gcc_bindir} in emitted TUNE_CC_ARCH
external-toolchain.bbclass: expand permissions beyond user
libgcc-external: drop the static files that won't be found anyway
libgfortran-external: don't package the static lib and headers
external-toolchain-cross.bbclass: drop sourcery-specific nopseudo handling
oe.external: obey EXTERNAL_FILES over FILES
oe.external: drop unneeded ,True from getVars
external-toolchain.bbclass: stop disabling strip
external-toolchain.bbclass: use PACKAGE_DEPENDS
binutils-external-cross: only link ld.bfd if necessary
This is pulled in already via external-toolchain-cross and
external-toolchain-cross-canadian.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This is used in recipe PV variables, but is only defined when the tcmode
is loaded, so define a default for the case where it isn't sourced.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Don't dump the -B${gcc_bindir} appended to TUNE_CCARGS and subsequently
to TARGET_CC_ARCH, since it consists of local machine toolchain paths.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This lets one add files to be packaged beyond those being extracted from
the external toolchain, i.e. for files coming from elsewhere, or created
by do_install/do_install_extra.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>