Commit Graph

35 Commits

Author SHA1 Message Date
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
Christopher Larson
b51864d8e6 glibc: don't install a multilib suffix of '.'
This was causing it to package the entire sysroot in certain cases.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-07-01 11:47:02 -07:00
Christopher Larson
d639cd9d83 glibc-external: fix fallback for license/pv
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-06-30 19:22:40 -07:00
adnan-ali1
3f10799bf7 glibc-external: add multilib link to -dev package
This link is required by linker to link libraries and crt* files in our
ADE/SDK. The 'rm -f' command is changed to 'rm -rf' because
external-toolchain.bbclass copies all the stuff required by PACKAGES to image
folder (in do_install stage). In doing so it copies the architecture folder
(as it is required by FILES_${PN}-dev ) from sourcery folder to image folder
in work directory. Afterwords when we try to remove the directory with 'rm -f'
it prompts an error as directories cannot be deleted with this command.

Signed-off-by: adnan-ali1 <adnan_ali@mentor.com>
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-06-15 09:29:54 -07:00
Christopher Larson
b5c16532c4 Revert "Merge pull request #74 from adnan-ali1/multilib-link"
This reverts commit f230938ec7, reversing
changes made to ff3bf44d4a.
2015-06-15 09:29:54 -07:00
adnan-ali1
a4682fab02 glibc-multilib link added to glibc-external dev package
instead of creating a new package which will only hold the multilib-
link. It would be more appropriate to add the link in the glibc-
external-dev package (as suggested by Chris). With this amendment there
is no need for the bbappend files for core-image-sato core-image-base
and console-image files.

Signed-off-by: adnan-ali1 <adnan_ali@mentor.com>
2015-06-05 15:44:54 +05:00
adnan-ali1
a1bece37c9 adds the multilib link in colsole-image
the glibc-multilib-link is already  addded in core-image-sato and core-
image-base.

Jira Issue: http://jira.alm.mentorg.com:8080/browse/SB-5093

Signed-off-by: adnan-ali1 <adnan_ali@mentor.com>
2015-06-04 13:49:22 +05:00
adnan-ali1
b117d46a47 fix: removed glibc-multilib-link dependency on qt5-mel
glibc-multilib-link should not depend on qt5-mel layer included.

Related Jira Issue: http://jira.alm.mentorg.com:8080/browse/SB-5093

Signed-off-by: adnan-ali1 <Adnan_Ali@mentor.com>
2015-06-04 13:28:57 +05:00
adnan-ali1
b465038b28 Architecture link in ADE Target Sysroot
This link is required by linker to link libraries and crt* files. The
'rm -f' command is changed to 'rm -rf' because in cedar release
external-
toolchain.bbclass copies all the stuff required by PACKAGES to image
folder (in do_install stage). In doing so it copies the architecture
folder (as it is required by FILES_glibc-multilib-link ) from sorcery
folder to image folder in work directory. Afterwords when we try to
remove the directory with 'rm -f' it prompts an error as directories
cannot be deleted with this command.

Signed-off-by: adnan-ali1 <m_adnanali_1@hotmail.com>
2015-06-03 20:51:51 +05:00
Christopher Larson
e328dbc6de gcc-{sanitizers,runtime}: adjust for gcc-source name change
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-05-11 11:00:03 -07:00
Christopher Larson
eab86b4ae0 glibc-external: find errno.h via normal sysroot search methods
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-05-07 11:48:55 -07:00
Christopher Larson
e782e6e06f glibc-external: set LICENSE based on comment in errno.h
JIRA: SB-5005

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-30 09:02:23 -07:00
Christopher Larson
7cc3848247 libgcc-external: hardcode LICENSE for now
JIRA: SB-5005

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-30 09:02:20 -07:00
Christopher Larson
2a27def5b6 gcc-runtime-external: use upstream metadata
Also splits sanitizers into gcc-sanitizers to align with oe-core.

JIRA: SB-5005

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-30 09:02:18 -07:00
Christopher Larson
3021923aff gdbserver-external: fix our shlibs rdepends
Since external recipes don't require virtual/libc and the compilerlibs, we
won't always get our rdeps on those from the shlibs processing, unless we
depend on the packagedata from those recipes. Adding them to DEPENDS would
have worked too, but would have been a lie in a sense, as we don't actually
require those to "build", just package.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-28 13:33:25 -07:00
Christopher Larson
a0f481c1f7 glibc-external: add bash rdeps to ldd/tzcode
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-28 13:29:25 -07:00
Christopher Larson
b56cf21d51 libgcc,gcc-runtime: align TARGET_SYS/EXTERNAL_TARGET_SYS
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-14 09:15:52 -07:00
Christopher Larson
6b2497f32e gcc-runtime-external: package headers for omp, quadmath, ssp
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-07 11:05:50 -07:00
Christopher Larson
7c377a383f libgcc-external: package unwind.h
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-07 11:05:36 -07:00
Christopher Larson
0beb66b376 Split up external-sourcery-toolchain into separate recipes
common-license.bbclass will set LIC_FILES_CHKSUM to a common license file
based on LICENSE, which is appropriate for a case where we have no sources to
refer to.
external-toolchain.bbclass, among other things, handles extraction of files in
the external toolchain sysroot, based on patterns in the FILES variables,
checking alternate locations to better support any arbitrary toolchain, and
has basic mirror handling for checking multiple paths within the sysroots.

Under normal circumstances, I'd want this to use highly granular commits, but
this branch has been extremely long lived (>1yr) and is such an invasive
refactoring that attempting to break it down now would be of limited
usefulness.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-12-19 10:35:25 -07:00