Commit Graph

69 Commits

Author SHA1 Message Date
Christopher Larson
d95c4314b5 glibc-external: drop rpc bits
These were obsolete bits removed from the glibc recipe in oe-core, and
are provided both in another recipe, and, better yet, libtirpc.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-06-01 22:42:55 +05:00
Christopher Larson
e5885f2319 Various: use external_run, not oe.external.run
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-03-15 01:54:06 +05:00
Christopher Larson
8cd9e3e11f glibc-external: don't use deprecated base_path_join
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-03-02 22:57:51 +05:00
Christopher Larson
09877a784d glibc-external: use oe.utils.read_file, not base_read_file
The latter was deprecated and is now removed.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-02-03 01:04:55 +05:00
Christopher Larson
b3840c6d56 libgcc-external: disable the file-rdeps check
We need to disable this for the same reason we disable the build-deps check.
The recursive dependency between libgcc and glibc has to be broken.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-02-01 01:25:19 +05:00
Christopher Larson
0be8f78c36 glibc-external: silence bberror during do_install
Silence any errors from oe_multilib_header, as we don't care about missing
multilib headers, as the oe-core glibc version isn't necessarily the same as
our own.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-02-01 01:25:07 +05:00
Christopher Larson
f7ea27eaf3 linux-libc-headers: merge back into glibc
We don't want to encourage use of alternate versions of this recipe, there are
better ways to add additional headers.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-06-21 02:57:40 +05:00
Christopher Larson
402ca1bf32 Drop recipes/appends specific to the Sourcery toolchain
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-06-16 10:08:30 +05:00
Christopher Larson
6a463a5b4b linux-libc-headers-external: oe_multilib_header bits/long-double.h
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-06-16 10:00:03 +05:00
Christopher Larson
d57772218e glibc-external: fix removal of oe_multilib_header
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-06-16 09:59:48 +05:00
Christopher Larson
51c500e0f7 gcc-sanitizers-external: fix COMPILERDEP parse error
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-02-17 15:49:31 -07:00
Christopher Larson
989f3e8457 gcc-runtime-external: fix COMPILERDEP parse error
We don't need or want this dep, so set it to the empty string rather than
including gcc-common.inc. This fixes builds with current upstream master.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-02-03 14:29:09 -07:00
Christopher Larson
a96f3c86c0 Revert "Drop now-unnecessary <pkg>-dbg bits"
This reverts commit 91b3032784.

We need these explicitly listed in order to ensure we don't just package the
files, but extract them from the sysroot. The best approach would be to
identify elf binaries the way package.bbclass does, and extract the
debuglink path to determine the files to include, but that can be a future
enhancement.

JIRA: SB-8524
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-01-03 14:53:30 -07:00
Noor-Ahsan
e74d31d65a Merge pull request #156 from kergoth/gcc-runtime-fix-libgomp-gcc-headers
gcc-runtime-external: fix inclusion of {omp,openacc}.h
2016-12-20 14:12:18 +05:00
Christopher Larson
c7ec5c09d1 gcc-runtime-external: fix inclusion of {omp,openacc}.h
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-12-19 13:48:51 -07:00
Christopher Larson
46c4867c32 glibc-external: keep libmvec
We drop the overly greedy patterns for libm* and *_nonshared and explicitly
add back the bits we know we own, but libmvec was missing from this.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-12-19 09:19:00 -07:00
Christopher Larson
75590b4dcd glibc-external: also remove ${base_libdir}/*_nonshared.a
This overly greedy pattern was picking up, via the FILES_MIRRORS, the
nonshared paths in ${libdir}.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-12-19 09:17:57 -07:00
Christopher Larson
f71a62353f glibc-external: fix libm* fixup
We don't want the 'libm*.so.*' kept in our FILES, as it's too greedy, and
results in picking up the wrong things.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-12-19 09:15:06 -07:00
Christopher Larson
a098af1ea5 gdbserver-external: update SUMMARY for gdbserver, not gdb
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-12-06 20:03:20 -07:00
Christopher Larson
b9ddc49442 gdbserver-external: drop bits that belong with gdb, not gdbserver
This fixes a gdb/gdbserver-external file conflict.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-12-06 20:02:53 -07:00
Noor Ahsan
bc918aed2b Merge remote-tracking branch 'origin/cedar' 2016-09-01 14:10:21 +05:00
Fahad Arslan
e8ba31a5df glibc-external: don't install already installed libssp_nonshared.a
libssp_nonshared.a is installed by gcc-runtime-external so
glibc-external should not install this into a shared area when
it already exists.

Signed-off-by: Fahad Arslan <Fahad_Arslan@mentor.com>
2016-08-29 22:24:08 +05:00
Christopher Larson
e0f19e8d3f gcc-sanitizers-external: add missing packagedata dep on libc
Files are packaged which need libc libraries, so we need the packagedata so
shlibs can find them.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-06-20 15:27:00 -07:00
Christopher Larson
f19e1729fd gcc-runtime-external: align with gcc-runtime.inc
This also avoids the taskhash/basehash mismatch.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-06-20 15:26:37 -07:00
Christopher Larson
d8e48d2852 gcc-runtime: for now, avoid python names for vars
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-06-07 09:23:16 -07:00
Christopher Larson
6075796a1b gcc-runtime: avoid early expansion of the depends flags
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-06-07 09:22:39 -07:00
Christopher Larson
dae69118e3 Add missing expand flags
This is needed to work with the changes coming from Richard soon. See poky's
master-next.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-02-16 20:40:15 -07:00
Christopher Larson
91b3032784 Drop now-unnecessary <pkg>-dbg bits
oe-core master now has auto dbg packaging.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-02-11 12:13:27 -07:00
Christopher Larson
06177dc1a1 Merge pull request #118 from kergoth/drop-cross-unsuffixed-provide
{gcc,binutils}-external-cross: drop provides of unsuffixed
2016-01-26 12:28:06 -07:00
Christopher Larson
b41628675a gcc-external-cross: drop provides of unsuffixed
This provide interfered with multi-machine builds.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-01-26 12:23:20 -07:00
Christopher Larson
76528b316b binutils-external-cross: drop provides of unsuffixed
This provide interfered with multi-machine builds.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-01-26 12:22:54 -07:00
Christopher Larson
83410df569 Merge pull request #106 from kergoth/libgfortran-multilib-fixup
libgfortran-external: kill unneeded and wrong PACKAGES
2015-12-02 13:53:55 -07:00
Christopher Larson
fd6ff9fe58 libgfortran-external: kill unneeded and wrong PACKAGES
There's no need to override this, the default packages is fine, and we already
rprovides the non-external-suffixed package names. This would also have caused
breakage for multilib builds, as the specified package names in PACKAGES
didn't include MLPREFIX.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-11-04 09:35:47 -07:00
Christopher Larson
9cbb7c5111 libgcc-external: move libgcov.a to ${PN}-dev
This aligns with the non-external recipe, and as ${PN}-dev already disables
the staticdev QA check, this also silences the libgcov-dev QA warning. We
could also have changed libgcov-dev to ${MLPREFIX}libgcov-dev.

JIRA: SB-6225

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-11-04 09:30:15 -07:00
Christopher Larson
addf362ab6 libgcc-external: dep on binutils, for strip
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-10-15 11:29:38 -07:00
Christopher Larson
5ce0b68788 Use --no-sysroot-suffix
With this, we can avoid the need to create a symlink for the multilib sysroot
suffix. This also adds a nativesdk package to the sdk to adjust the
environment setup there to use it as well.

JIRA: SB-6018

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-10-07 12:56:19 -07:00
Christopher Larson
bf7efe9369 libgfortran-external: add recipe
Fix #60.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-09-28 14:59:19 -07:00
Christopher Larson
03d1e185a1 glibc-external: avoid bash dep for ldd/tzselect
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-09-21 14:18:56 -07:00
Christopher Larson
84d3613d03 glibc-external: apply Ross Burton's no-bash nscd.init patch
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-09-21 11:29:16 -07:00
Christopher Larson
84b98ba20c glibc-external: include nscd startup scripts & .conf
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-09-08 11:03:36 -07:00
Christopher Larson
3227bd9b2a glibc-external: don't setup bits/syscall.h
We were seeing an error message about bits/syscall.h being missing. Fix by
removing the bits/syscall.h setup from the glibc-package do_install_append.
Thanks to Abdur Rehman for finding the root cause of this problem.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-08-04 11:39:51 -07:00
Christopher Larson
9c805c68bc Merge pull request #90 from MentorEmbedded/fix-various-warning-and-qa-issues
Fix various warning/QA issues
2015-07-29 20:58:23 -07:00
Christopher Larson
daa1d079d5 glibc-external: fix support for non-precompiled locales
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-07-29 14:13:46 -07:00
Christopher Larson
7ea84d1f97 glibc-{mtrace,scripts,locale}: align PV with glibc-external
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-07-29 13:10:53 -07:00
Christopher Larson
bfc86fd9c4 oe.external: move common functions here
Also provide external-common.bbclass to wrap its inclusion and setup
associated metadata. This will make easier to search sysroots for files
without pulling in the rest of the external toolchain class.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-07-29 13:10:51 -07:00
Christopher Larson
362d20fac7 Resolve build-deps / shlibs issues
Mostly due to the inter-dependency between glibc & libgcc

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-07-29 13:03:52 -07:00
Christopher Larson
140fed8a83 glibc-external: rename charsets to align with glibc-locale
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-07-29 13:03:52 -07:00
Christopher Larson
00cafb795f glibc-external: obey GLIBC_INTERNAL_USE_BINARY_LOCALE
If this variable is set to 'precompiled', then ship the existing compiled
binary locales from the external toolchain, otherwise do not, as we'll be
compiling them ourselves.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-07-29 13:03:52 -07:00
Christopher Larson
db752b827b glibc-external: install mtrace/xtrace/sotruss
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-07-28 09:35:54 -07:00
Christopher Larson
46a798f2e6 Merge pull request #78 from MentorEmbedded/glibc-unset-external-toolchain-fix
glibc-external: fix fallback for license/pv
2015-07-01 20:44:34 -07:00