Commit Graph

679 Commits

Author SHA1 Message Date
Christopher Larson
e20c37b5b5 glibc: update libc.headers
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2021-09-30 16:08:26 +00:00
Christopher Larson
194956ff9e glibc: update SUPPORTED
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2021-09-30 16:08:16 +00:00
Christopher Larson
162c152822 libgcc-external: don't package includes that gcc-runtime does
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2021-09-30 16:08:05 +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
0c9a9a9eae common-license: set for -only variants
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2021-04-14 02:53:13 +05: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
4329c00b73 buildtools-tarball: obey EXTERNAL_ENABLED
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2021-04-01 12:17:36 -07:00
Christopher Larson
39a546d78d gcc: obey EXTERNAL_ENABLED in the bbappend
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2021-04-01 12:17:36 -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
e93ba6ff5d meta-environment{,-extsdk}: obey the tcmode override
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2021-04-01 12:17:36 -07:00
Christopher Larson
33b2728ac6 glibc-locale: obey the tcmode override
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
cd6b55cf65 external-toolchain-cross.bbclass: add debug output
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2021-04-01 11:23:39 -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
217f6de212 libgcc-external: fix the resolved relative path
This was using the relpath between the sysroot and the libroot, but only
resolved one of the two, which would result in a wildly incorrect
relative path, breaking the build in some contexts.

JIRA: SB-15645

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-10-16 01:31:57 +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
ddd87efb3b libgcc-external: avoid blowing up for a non-external tcmode
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-08-03 20:27:17 +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
113c0c3e9c libgcc-external: fix for an external multilib
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-29 07:44:14 +05:00
Christopher Larson
4d2501fb40 libgcc-external: resolve the paths when adding links
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-28 21:37:41 +05:00
Christopher Larson
84cddaa96b glibc-external: also grab multilib headers for oe sdk
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-28 21:34:53 +05:00
Christopher Larson
6c1721c0ed external-common.bbclass: prefer /usr/${baselib}/bin to ${bindir}
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-28 21:34:53 +05:00
Christopher Larson
be4fae984d Add support for FILES_PREMIRRORS
This lets us prefer certain alternative paths to the default in
particular cases, such as use of ${libdir}/bin in the case of a multilib
build to avoid bindir conflicts.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-28 21:34:53 +05:00
Christopher Larson
f3292e8843 glibc-external: don't include crypt.h
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-10 03:37:42 +05:00
Christopher Larson
6f3e5144c5 libxcrypt: include header, .pc
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-10 03:37:42 +05:00
Christopher Larson
6d7bb28cf2 libgcc-external: also PROVIDES libgcc-initial
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-09 21:07:04 +05:00
Christopher Larson
bc41a26b28 glibc-external: skip license for non-external builds
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-08 22:16:30 +05:00
Christopher Larson
e7fef5b9bd glibc-external-version.inc: skip version for non-external builds
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-08 22:10:23 +05:00
Christopher Larson
83856ec0dd external-common.bbclass: skip kernel version for non-external builds
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-08 22:10:03 +05:00
Christopher Larson
fd66753707 oe.external: add/improve debug messages
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2020-07-07 13:42:28 -07:00
Christopher Larson
fa97c0babd external-common.bbclass: add msg on kernel version failure
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2020-07-07 13:42:19 -07:00
Christopher Larson
24c559fcdd external-common.bbclass: obey EXTERNAL_CC
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-07 13:41:45 -07:00
Christopher Larson
14fa5f8079 oe.external.run: let cmd already start with the prefix
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-07 13:41:44 -07:00
Christopher Larson
7d2c754318 Revert "oe.external: use EXTERNAL_CC for gcc"
This reverts commit 2a3cffd458.
2020-07-07 13:40:39 -07: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