Commit Graph

648 Commits

Author SHA1 Message Date
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
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