Commit Graph

120 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
074bea89db gdbserver-external: add missing MLPREFIX in dep on compilerlibs
DEPENDS/PROVIDES & PREFERRED_PROVIDER get mapped for mlprefix
automatically, but 'depends' flags do not, so the MLPREFIX has to be
explicit in such flags. This fixes the ability to build multilib images,
i.e. lib32-core-image-base.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2019-04-24 23:03:04 +00:00
Christopher Larson
f56f25978e gcc-runtime-external: libgomp should dep on libc
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2019-04-16 16:35:35 +00:00
Christopher Larson
6859ee4a11 gcc-runtime-external: fix dependency loop
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2019-03-04 20:50:40 +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
554d4fb819 glibc-external: add makedbs.sh bits
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2019-02-22 17:42:19 +00:00
Christopher Larson
d53aba601e {glibc,gcc-runtime}: fix warnings about libssp for builds with security flags
This can be dropped if and when the toolchain gets built without libssp,
which is the default in oe-core. We don't need gcc's libssp anyway,
since glibc provides it already, and musl has the separate
libssp_nonshared lib to supplement, which is in oe-core.

JIRA: SB-12465

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2019-02-06 22:14:13 +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
0667a9bb85 gdb-external-cross: add recipe
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-08-03 07:06:20 +05:00
Serge Semin
c82a5a1fac external-toolchain-cross-canadian: append to PN in the recipes
This aligns with the behavior of the oe-core recipes and classes.

Signed-off-by: Sergey Semin <fancer.lancer@gmail.com>
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-08-03 07:06:20 +05:00
Serge Semin
1964678f3a gcc-external-cross-canadian: also include libcc1*
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-08-03 07:06:20 +05:00
Serge Semin
3f8584c05f gcc-external-cross-canadian: also check the external libroot
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-08-03 07:06:20 +05:00
Serge Semin
f0acd784ab gcc-external-cross-canadian: only grab the BINV dir, not all of lib/gcc
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-08-03 07:06:20 +05:00
Christopher Larson
6a1eb0c03a gcc-external-cross-canadian: skip dev-so/staticdev qa tests
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-08-03 07:06:20 +05:00
Christopher Larson
594ef4992f gcc-external-cross-canadian: add recipe
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-08-03 07:06:20 +05:00
Serge Semin
9ba44ed6f1 gdb-external-cross-canadian: use FILES_MIRRORS for alternate share/gdb path
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-08-03 07:06:20 +05:00
Serge Semin
501d291564 gdb-external-cross-canadian: skip dev-so, staticdev checks
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-08-03 07:06:20 +05:00
Serge Semin
07461c6913 gdb-external-cross-canadian: split out and use gdb-external.inc
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-08-03 07:06:20 +05:00
Christopher Larson
875265f28a gdb-external-cross-canadian: add recipe
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-08-03 07:06:20 +05:00
Christopher Larson
7461d425aa binutils-external-cross{,canadian}: include ld.bfd, ld.gold
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-08-03 07:06:20 +05:00
Christopher Larson
a628fdefd9 binutils-external-cross-canadian: add recipe
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-08-03 07:06:20 +05:00
Christopher Larson
0e591ee96f binutils-external-cross: split out binutils-external.inc
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-08-03 07:06:20 +05:00
Serge Semin
df2fd3ed55 gcc-external{.inc,-cross}: use non-prefixed gcc_binaries
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-08-03 07:01:39 +05:00
Serge Semin
59f87b9fbf gcc-external.inc: drop unnecessary external-toolchain inherit
This is pulled in already via external-toolchain-cross and
external-toolchain-cross-canadian.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-08-03 07:01:29 +05:00
Serge Semin
2332707bad gcc: Use globally set GCC_VERSION in recipes
Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
2018-08-03 03:05:03 +05:00
Serge Semin
88a717a4e8 libgcc-external: drop the static files that won't be found anyway
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-08-03 03:05:03 +05:00
Serge Semin
7964f2013e libgfortran-external: don't package the static lib and headers
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-08-03 03:05:03 +05:00
Christopher Larson
ab715554ad binutils-external-cross: only link ld.bfd if necessary
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-08-03 03:05:02 +05:00
Christopher Larson
23d7cd6994 glibc-external: add virtual/crypt to PROVIDES
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-08-03 00:24:53 +05:00
Christopher Larson
ccde5a3528 glibc-external: add virtual/crypt to PROVIDES
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-06-20 02:19:10 +05:00