Christopher Larson
7f0040db11
tcmode: support EXTERNAL_SETUP_SCRIPT_VARS
...
JIRA: SB-15362
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2020-08-06 23:43:33 +05:00
Christopher Larson
ef17919a17
tcmode: fix the debug messages to use the right name
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2020-08-06 23:43:33 +05:00
Christopher Larson
c6be292f36
tcmode: fix setup_external_vars
...
This was failing to set the variables needed.
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2020-08-06 23:42:12 +05:00
Christopher Larson
01653f3c09
tcmode-external-oe-sdk: clean up old commented lines
...
Signed-off-by: Christopher Larson <kergoth@gmail.com >
2020-07-31 09:08:44 -07:00
Christopher Larson
eef5cf7ecb
tcmode-external-oe-sdk: integrate combined handling, support multilibs
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2020-07-30 04:14:22 +05:00
Christopher Larson
994ec34562
tcmode-external-oe-sdk: fix EXTERNAL_TOOLCHAIN_SETUP_SCRIPT usage
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2020-07-29 07:44:44 +05:00
Christopher Larson
da4d8d7578
tcmode: prefer glibc-external for linux-libc-headers
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2020-07-07 13:35:49 -07:00
Christopher Larson
784f04848e
Revert "glibc-external: provide linux-libc-headers"
...
This reverts commit 6d7d0b4adc .
2020-07-07 12:51:40 -07:00
Christopher Larson
6d7d0b4adc
glibc-external: provide linux-libc-headers
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2020-07-07 21:00:28 +05:00
Christopher Larson
cdd217e9dd
tcmode-external-oe-sdk: add tcmode for an oe sdk
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2020-07-02 02:45:11 +05:00
Christopher Larson
9f90c8e04f
tcmode: add EXTERNAL_TOOLCHAIN_FEATURES
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2020-07-02 02:45:11 +05:00
Christopher Larson
01e3b73e6d
tcmode: use libtirpc-external
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2020-07-01 07:41:23 +05:00
Christopher Larson
1271166a88
Split out libxcrypt
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2020-07-01 07:41:23 +05:00
Christopher Larson
6e6a1a60d5
tcmode: handle GCC_VERSION=UNKNOWN for debug_prefix_map
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2020-03-10 16:53:05 +00:00
Christopher Larson
4856d9dc75
tcmode: only remove debug-prefix-map for target recipes
...
These are the only ones using the external toolchain, so they're the
only ones that would break due to an older external toolchain.
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2020-03-10 16:43:10 +00:00
Christopher Larson
6d927006cd
Don't hardcode ${EXTERNAL_TOOLCHAIN}/bin as bindir
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2019-10-24 22:17:12 +05:00
Christopher Larson
380bb328a5
tcmode: don't bother adding -B when not rebuilding binutils
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2019-10-23 22:16:29 +05:00
Christopher Larson
340e2e8895
Split out libnsl2-external
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2019-09-17 21:38:08 +00:00
Christopher Larson
2f38497513
Merge remote-tracking branch 'origin/sumo' into public-layer-upstream-test
...
* origin/sumo:
Silence gdbserver preference warnings in multilib builds
gdb: fix missing mlprefix for gdbserver pref
tcmode: work around mlprefix preference bug wrt gdbserver
gdbserver-external: add missing MLPREFIX in dep on compilerlibs
{glibc,gcc-runtime}: fix warnings about libssp for builds with security flags
meta-environment{,-extsdk}: don't include -B${gcc_bindir} in emitted TUNE_CC_ARCH
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2019-08-12 18:56:35 +00:00
Christopher Larson
8964172347
Silence gdbserver preference warnings in multilib builds
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2019-05-10 16:32:06 +00:00
Christopher Larson
e90fb8fd9a
tcmode: work around mlprefix preference bug wrt gdbserver
...
There's a bug where the implicitly created
`PREFERRED_PROVIDER_${MLPREFIX}<provider>` isn't being obeyed for
runtime package installation in a multilib image, so work around it by
explicitly specifying mlprefix.
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2019-04-24 23:03:04 +00:00
Christopher Larson
40e434977a
tcmode: drop macro-prefix-map for gcc < 8.0
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2019-03-04 17:53:55 +00:00
Christopher Larson
4cf843cc7e
glibc-external: restore crypt bits
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2019-02-22 18:17:53 +00:00
Christopher Larson
794183f1e4
Drop glibc-initial and gcc-initial references
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2019-01-11 00:38:04 +05:00
Christopher Larson
6f88a9f81b
Drop libc-for-gcc references
...
This no longer exists in oe-core.
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2019-01-10 22:48:07 +05:00
Serge Semin
bf87474ced
tcmode-external: prefer gdb-external-cross
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2018-08-03 07:06:20 +05:00
Christopher Larson
b79784e494
tcmode-external: default to external-cross-canadian recipes
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2018-08-03 07:06:20 +05:00
Serge Semin
90fab24dff
tcmode-external: blacklist cross-canadian recipes
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2018-08-03 07:06:20 +05:00
Serge Semin
6788664c5c
tcmode-external: also blacklist libgfortran
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2018-08-03 03:05:03 +05:00
Serge Semin
eaa1d0d483
tcmode-external: add prefs for gcc-runtime, libgcc-initial, libgfortran
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2018-08-03 03:05:03 +05:00
Christopher Larson
2c8f1363ed
tcmode: drop as-needed.inc inclusion
...
This file no longer exists in oe-core, as it's now default.
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2018-06-04 22:32:46 +05:00
Christopher Larson
c308682978
tcmode: add tcmode- bits to OVERRIDES
...
This eases the many checks against TCMODE we need to do for yocto
compliance.
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2018-03-15 01:53:50 +05:00
Christopher Larson
3cceb0317d
tcmode: drop pnblacklist of linux-libc-headers
...
The blacklist isn't necessary. We already provide the virtual, but if
someone wants the real thing, it shouldn't be harmful to allow it to
build.
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2018-03-14 22:42:20 +05:00
Christopher Larson
340868ceda
tcmode: default to gdb, not gdbserver-external
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2018-03-14 22:41:52 +05:00
Christopher Larson
52e9e14cb4
tcmode: add to gcc compiler component search path
...
This lets the cross gcc locate the binaries produced by binutils-cross.
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2018-03-03 01:22:26 +05:00
Christopher Larson
7e59a345f5
tcmode: drop binutils-cross from PNBLACKLIST_DYNAMIC
...
We need this to allow the user to specify PREFERRED_PROVIDER for
binutils-cross.
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2018-03-03 01:21:53 +05:00
Christopher Larson
f7ea27eaf3
linux-libc-headers: merge back into glibc
...
We don't want to encourage use of alternate versions of this recipe, there are
better ways to add additional headers.
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2017-06-21 02:57:40 +05:00
Christopher Larson
6160b16947
Update for sourcery -> external-toolchain layer name
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2017-06-16 10:09:17 +05:00
Christopher Larson
066a0e04ca
Merge remote-tracking branch 'origin/morty' into master
...
* origin/morty:
tcmode: use SOURCERY_TOOLCHAIN_VERSION for the build cfg summary
sourcery-tuning.inc: make assembler flags e6500-64b specific
2017-02-16 11:00:13 -07:00
Christopher Larson
95c616770e
tcmode: use SOURCERY_TOOLCHAIN_VERSION for the build cfg summary
...
This makes it clear that this refers to the toolchain, not the CodeBench IDE.
JIRA: SB-8699
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2017-01-27 12:52:08 -07:00
Fahad Arslan
d66483680e
sourcery-tuning.inc: make assembler flags e6500-64b specific
...
-a64 and -me6500 are PowerPC architecture-specific assembler flags
only intended for 64bit mode of e6500 core.
-a64 - generates ELF64 or XCOFF64.
-me6500 - generates code for Freescale e6500 core complex.
Jira ID: http://jira.alm.mentorg.com:8080/browse/SIEJIR-3452
Signed-off-by: Fahad Arslan <Fahad_Arslan@mentor.com >
2017-01-23 21:44:32 +05:00
Christopher Larson
455bf111e5
Merge remote-tracking branch 'origin/morty' into master
...
* origin/morty:
Revert "Drop now-unnecessary <pkg>-dbg bits"
external-toolchain: also inhibit debug split
gcc-runtime-external: fix inclusion of {omp,openacc}.h
glibc-external: keep libmvec
glibc-external: also remove ${base_libdir}/*_nonshared.a
glibc-external: fix libm* fixup
Don't alter GLIBC_GENERATE_LOCALES for nativesdk
buildtools-tarball: ignore TOOLCHAIN_TARGET_TASK_append
tcmode: change gdbserver default to gdbserver-external
gdbserver-external: update SUMMARY for gdbserver, not gdb
gdbserver-external: drop bits that belong with gdb, not gdbserver
perl-ptest: remove runtime dep on libssp
tcmode: fix x32 BASELIB
tcmode: fix x32 LDEMULATION
2017-01-12 12:39:15 -07:00
Christopher Larson
1507b72191
Merge pull request #149 from kergoth/x32
...
Fix two issues with x32 builds
2016-12-22 09:40:50 -07:00
Christopher Larson
b034153aac
Don't alter GLIBC_GENERATE_LOCALES for nativesdk
...
We only want this to take effect for the locales for the external toolchain,
not those generated and used for nativesdk, otherwise we break the
buildtools-tarball build.
JIRA: SB-8391
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2016-12-15 21:58:44 -07:00
Christopher Larson
2082315ed0
Drop the change of TARGET_PREFIX
...
Since the external-cross recipes link/wrap the binaries already, there's no
actual need to override TARGET_PREFIX anymore.
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2016-12-14 20:16:06 -07:00
Christopher Larson
87616f2b20
tcmode: change gdbserver default to gdbserver-external
...
Using the one already available with our toolchain makes a great deal of
sense, as it's a known quantity. The only reason we switched to gdb was due to
conflicts between gdb and gdbserver-external, but that issue has been
resolved.
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2016-12-06 20:03:31 -07:00
Christopher Larson
6a9eaae40b
tcmode: fix x32 BASELIB
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2016-11-29 14:44:50 -07:00
Christopher Larson
5afc50391f
tcmode: fix x32 LDEMULATION
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2016-11-29 14:42:12 -07:00
Christopher Larson
2a0a55d61a
tcmode: add compilation toolchain sanity test
...
It's not ideal to do this for every build, but it's not terrible, either, and
is worth the cost to get an error up front if there's a configuration or
licensing problem. master deals with this more cleanly.
JIRA: SB-8257
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2016-11-04 11:10:14 -07:00
Christopher Larson
275b4f5c3a
Revamp the sanity testing
...
- Reworked to function the way sanity.bbclass does, rather than running it
every time we do a build
- Add sanity check to test trivial compilation
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2016-11-03 13:48:18 -07:00