211 Commits

Author SHA1 Message Date
Christopher Larson
bc420731df tcmode: improve error when no compatible toolchain is found
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2022-06-16 20:42:20 +05:00
Christopher Larson
d6a67eed49 Updates for inclusive language
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2022-04-06 16:06:07 +00:00
Christopher Larson
19d849555e tcmode-external-oe-sdk: default to locale-utf8-is-default
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2022-04-05 21:50:51 +00:00
Christopher Larson
bf05861401 tcmode: add intermediate EXTERNAL_TOOLCHAIN_FEATURES_DEFAULT variable
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2022-04-05 21:50:49 +00:00
Christopher Larson
cc511c3357 tcmode: fix toolchain-clang override
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2022-04-01 22:56:30 +00:00
Christopher Larson
9ac6c348e7 tcmode-external: don't pass --no-sysroot-suffix for clang
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2022-04-01 19:05:41 +00:00
Christopher Larson
7e7d894cbe Update from honister to kirkstone
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2022-02-23 17:45:47 +00:00
Christopher Larson
a81f04f908 Convert to new overrides syntax for honister
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2021-09-01 16:38:22 +00:00
Christopher Larson
dcab4f5860 layer.conf: set LAYERSERIES_COMPAT to honister
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2021-08-17 16:43:47 +00:00
Christopher Larson
aa42b62d31 layer.conf: add hardknott
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2021-04-13 23:30:47 +05:00
Christopher Larson
98a8faaf76 layer.conf: add gatesgarth
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2021-04-13 23:29:39 +05:00
Christopher Larson
9c95786088 tcmode: use EXTERNAL_CC for consistency
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2021-04-07 15:30:08 -07:00
Christopher Larson
d64bf83447 tcmode: set EXTERNAL_ENABLED
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2021-04-01 12:17:36 -07:00
Christopher Larson
9c83ef365c tcmode: avoid the implicit tcmode-${TCMODE} in OVERRIDES
This avoids duplicate entries and simplifies.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2021-04-01 11:27:13 -07:00
Christopher Larson
d158f72d6a Rename external-common to external_global
This aligns with upstream conventions, i.e. multilib vs multilib_global.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2021-04-01 11:15:54 -07:00
Christopher Larson
e7609144a4 tcmode: drop inherit of external-common
This is currently being pulled in by layer.conf already.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2021-04-01 11:15:38 -07:00
Christopher Larson
e03f39023f tcmode-external-oe-sdk: drop the --build-id=
An oe-built toolchain has this already.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-12-30 00:31:17 +05:00
Christopher Larson
361301fcb6 tcmode-external: pass --build-id=sha1 to align with internal
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-12-30 00:30:49 +05:00
Christopher Larson
3ede376df2 tcmode-external-oe-sdk: fix the multiple candidate setup scripts error
This was causing a traceback, as the error handling wasn't updated when
the candidates were changed to a list of tuples.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-09-24 17:13:39 +00:00
Christopher Larson
e25fcba931 tcmode: default EXTERNAL_TOOLCHAIN to UNKNOWN, not UNDEFINED
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-08-27 00:56:08 +05:00
Christopher Larson
bb754cb0a1 tcmode-external-oe-sdk: support EXTERNAL_TOOLCHAINS
This variable lists multiple toolchain roots to check. As we already support processing multiple available environment-setup scripts, checking additional paths for them was trivial, and eases Sourcery toolchain support handling.

JIRA: SB-15406

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-08-25 21:46:21 +05:00
Christopher Larson
ab5628f07e tcmode-external-oe-sdk: stop setting EXTERNAL_TOOLCHAIN_SETUP_SCRIPT
As the script checks for this and obeys it, setting it resulted in the
base configuration script also being used for all multilibs in
preference to the search, so stop setting it.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2020-08-21 13:59:44 -07:00
Christopher Larson
734311e012 tcmode-external-oe-sdk: handle non-exported vars when parsing setup scripts
JIRA: SB-15362

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-08-07 01:05:42 +05:00
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
838a8e6f6b layer.conf: add dunfell
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-04-27 22:38:16 +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
41fcc88f41 layer.conf: add zeus
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2019-10-16 04:32:16 +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
4483b36915 layer.conf: add warrior to supported series
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2019-04-16 18:52:36 +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