common-license.bbclass will set LIC_FILES_CHKSUM to a common license file
based on LICENSE, which is appropriate for a case where we have no sources to
refer to.
external-toolchain.bbclass, among other things, handles extraction of files in
the external toolchain sysroot, based on patterns in the FILES variables,
checking alternate locations to better support any arbitrary toolchain, and
has basic mirror handling for checking multiple paths within the sysroots.
Under normal circumstances, I'd want this to use highly granular commits, but
this branch has been extremely long lived (>1yr) and is such an invasive
refactoring that attempting to break it down now would be of limited
usefulness.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
There's no need for the crosssdk and nativesdk gcc bits to be the same version
as the external toolchain.
JIRA: SB-3919
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This is needed to avoid the real libgcc being pulled in by
packagegroup-core-standalone-sdk-target when building an SDK.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
external toolchain shouldn't be shipping lttng stuff unless a
preference is explicitly set indicating it should be used
instead. Drop bits conflicting with those being provided
by lttng-tools.
Signed-off-by: Yasir-Khan <yasir_khan@mentor.com>
The sourcery toolchain writes temporary files to /tmp, and includes the
username. If multiple users are doing builds with pseudo enabled, it'll try to
write to the other user's file, since both will use 'root', and the build will
fail as a result.
We don't want to wrap all the toolcahin binaries, as they don't all call the
tools which write these lockfiles, and objcopy has to be excluded, as it
modifies installed binaries when the packaging process splits out the debug
info. If that operation occurs outside of pseudo's knowledge, Bad Things will
happen.
JIRA: MEIP-393, SB-1905
Signed-off-by: Christopher Larson <kergoth@gmail.com>
This reverts commit f901bfd098, reversing
changes made to 69d2f98eda.
cs-license & friends don't obey TMPDIR, so this workaround had no useful
effect for our builds.
Basing this check off "arch == x86" is not strictly correct.
This option should be used on any toolchain where it is a valid
option to ensure that the build host libraries are ignored.
Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
* origin/release/2014.05:
tcmode: obey MGLS_LICENSE_FILE, not MGLS
testfloat: obey LDFLAGS
ossp-uuid: obey LDFLAGS
boot-format: obey LDFLAGS
tcmode: don't use BB_HASHBASE_WHITELIST_append
tcmode: use /tmp/sourcery-$LOGNAME for TMPDIR
external-sourcery-toolchain: Error out if libc.so does not exist
external-sourcery-toolchain: Package libinproctrace library.
external-sourcery-toolchain: Fix installation of lib/locale.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Conflicts:
conf/distro/include/tcmode-external-sourcery.inc