Commit Graph

630 Commits

Author SHA1 Message Date
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
Christopher Larson
45922f5b0d libnsl2-external: don't conflict with rpcbind
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2019-09-19 22:06:29 +00: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
8cd8e958d6 glibc-external: kill unnecessary PKG/RPROVIDES for extra-nss
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2019-09-17 21:37:55 +00:00
Christopher Larson
8b347a4d53 glibc-external: avoid packaging files that conflict with the split off tirpc
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2019-09-17 21:37:32 +00:00
Christopher Larson
078805be0c glibc-external: fix the file-checksums to actually work
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2019-09-17 21:37:04 +00:00
Christopher Larson
093ef8d22c Use --no-preserve=ownership when copying
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2019-09-17 21:36:42 +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
60667c36c2 gdb: fix missing mlprefix for gdbserver pref
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2019-05-09 19:43:52 +00:00