Commit Graph

58 Commits

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