Commit Graph

639 Commits

Author SHA1 Message Date
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
Christopher Larson
601aedb28a Move HEADERS_MULTILIB_SUFFIX into external-common
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2020-07-07 13:34:53 -07:00
Christopher Larson
68268179eb glibc-external: provide linux-libc-headers
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-07 13:20:12 -07:00
Christopher Larson
f584899fe6 glibc-external: stop pulling in linux-libc-headers
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-07 13:20:12 -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
fdc6a24643 bash: use tcmode override
This ensures we pass yocto-check-layers.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-07 12:51:40 -07:00
Christopher Larson
2cb87790ab glibc-external-version.inc: use tcmode override
This ensures we pass yocto-check-layers.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-07 12:51:40 -07:00
Christopher Larson
2fdd749af5 glibc-locale: add a var default for localedef_depends
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
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
b3b2b7fbf5 libgcc-external: correctly handle oe sdk multilib symlinks
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-07 00:44:09 +05:00
Christopher Larson
6c2188d491 libgcc-external: add TARGET_SYS symlink under libdir for compat
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-07 00:44:02 +05:00
Christopher Larson
e52ff6135d gcc-runtime-external: symlink TARGET_SYS, not move
There are two cases where TARGET_SYS might not match
EXTERNAL_TARGET_SYS. In one case, the external toolchain simply used
a different one than we did, and we need to align expectations, but in
another, they may not match due to multilib usage, and in such a case we
likely need both available.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-07 00:31:11 +05:00
Christopher Larson
58be27d80b gcc-runtime-external: handle links already existing
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-07 00:30:59 +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
6b29ed97ea glibc-external: obey a locale-utf8-is-default external toolchain feature
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
8f2bbee75f gcc-runtime-external: handle toolchains without header multilib suffix
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-02 02:45:11 +05:00
Christopher Larson
e77b6d4ecc glibc-external: only sed files that exist
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-02 02:45:11 +05:00
Christopher Larson
f758d228c4 sanity-external-toolchain.bbclass: use EXTERNAL_CC
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-02 02:45:11 +05:00
Christopher Larson
2a3cffd458 oe.external: use EXTERNAL_CC for gcc
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-02 02:45:11 +05:00
Christopher Larson
e74531c5ec external-common.bbclass: define a default EXTERNAL_CC variable
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-02 02:45:11 +05:00
Christopher Larson
4010c28d61 sanity-external-toolchain.bbclass: pass HOST_CC_ARCH
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-02 02:45:11 +05:00
Christopher Larson
c5630c2341 sanity-external-toolchain.bbclass: handle FileNotFoundError
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-02 02:45:11 +05:00
Christopher Larson
ae9ad2e7f9 glibc-locale: quiet the same checks as external-toolchain.bbclass
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-02 02:45:11 +05:00
Christopher Larson
224bac7c2b oe.external: obey EXTERNAL_TOOLCHAIN_BIN
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-02 02:45:11 +05:00
Christopher Larson
4a3209d606 external-toolchain.bbclass: fix already-stripped warning removal
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-02 02:45:11 +05:00
Christopher Larson
f155ecc572 glibc-external: update SUPPORTED from current oe-core builds
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-01 07:41:23 +05:00
Christopher Larson
5810bebac5 glibc-external: avoid recursion with libnsl2/tirpc
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-01 07:41:23 +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
6bafe0a723 libtirpc-external: add recipe
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-01 07:41:23 +05:00
Christopher Larson
2d5738a7e5 libnsl2: depend on libtirpc
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
6411230fa6 glibc-external: fix do_install_append processing
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-02-10 20:19:51 +05:00
Christopher Larson
a8684e7ee1 glibc-sysroot-setup.inc: create /usr/lib after stash_locale_cleanup
stash_locale_cleanup removes the empty /usr/lib after stashing the locale
files to avoid remnant clutter, but we need it in the sysroot, so we
need to move the creation of the directory after the cleanup to fix our
aarch64 builds.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-01-27 16:07:11 +00:00
Christopher Larson
cda7cdd663 glibc-sysroot-setup.inc: avoid hardcoding /usr/lib
We have a variable for this, `nonarch_libdir`, and if prefix doesn't match up,
the build will fail anyway.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-01-27 16:02:08 +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