Commit Graph

305 Commits

Author SHA1 Message Date
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
3dab88e583 Merge pull request #84 from kergoth/improve-messages
external-toolchain: filter out .debug for parse time check
2015-07-29 12:03:52 -07:00
Christopher Larson
c6618488e4 Merge pull request #87 from kergoth/issue-86
sourcery-tuning: fix -march=armv5e failures
2015-07-29 11:28:17 -07:00
Christopher Larson
e030657d62 sourcery-tuning: fix -march=armv5e failures
The most common failure case was qemuarm. Currently, ARMPKGSFX_THUMB is used
in TUNE_CCARGS, and it only includes 't' when ARM_INSTRUCTION_SET=thumb.
Bypass that check for armv5, as we need -march=armv5te rather than
-march=armv5t, but we still want -mthumb removed when appropriate.

Fixes #86

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-07-29 11:24:37 -07:00
Christopher Larson
3cb3223202 Merge pull request #85 from MentorEmbedded/install-collateral
glibc-external: install mtrace/xtrace/sotruss
2015-07-28 09:37:11 -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
5b9ac9e636 external-toolchain: filter out .debug for parse time check
The skip message shows all the paths we're searching for, and it's bloated
with a ton of .debug entries, so remove them, we don't care about them in this
context anyway.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-07-24 14:10:06 -07:00
Christopher Larson
6a5d40c375 Merge pull request #83 from kergoth/layer-updates
Fixes for layer updates
2015-07-23 19:32:02 -07:00
Christopher Larson
50d059f396 lttng-ust: 2.6.1 -> git
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-07-23 19:28:34 -07:00
Christopher Larson
e6abcdeaeb blacklist_dynamic: add example of gcc-source-% 2015-07-21 13:41:22 -07:00
Christopher Larson
c19653c29d Merge pull request #82 from MentorEmbedded/blacklist_dynamic
Split out a blacklist_dynamic class
2015-07-21 13:36:15 -07:00
Christopher Larson
bae98b2af6 tcmode: blacklist gcc-source
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-07-21 12:46:11 -07:00
Christopher Larson
ba1954bc85 Split out blacklist_dynamic.bbclass
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-07-21 12:45:42 -07:00
Noor-Ahsan
624926be97 Merge pull request #79 from MentorEmbedded/sb-4705
Properly blacklist ${TARGET_ARCH}-suffixed recipes
2015-07-02 12:31:33 +05: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
bbfc2554db Merge pull request #80 from kergoth/glibc-packaging-fix
glibc: don't install a multilib suffix of '.'
2015-07-01 14:25:15 -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
Christopher Larson
f21cb41351 Properly blacklist ${TARGET_ARCH}-suffixed recipes
This fixes issues with multilib handling.

JIRA: SB-4705

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-06-30 19:11:19 -07:00
Christopher Larson
73c7d69ee0 Merge pull request #73 from kergoth/layer-updates
Adjust for upstream layer updates
2015-06-19 12:37:41 -07:00
Christopher Larson
bcf80cc5db lttng-ust: 2.6.0 -> 2.6.1
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-06-19 08:36:43 -07:00
Christopher Larson
e485d0f3d0 Merge pull request #77 from kergoth/package_qa-fakeroot-fix
package_qa_sourcery: fix fakeroot handling
2015-06-17 12:18:18 -07:00
Christopher Larson
c1c42a14b1 package_qa_sourcery: fix fakeroot handling
This fixes a failure to execute bitbake-worker to execute this task.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-06-17 12:04:01 -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
Christopher Larson
f230938ec7 Merge pull request #74 from adnan-ali1/multilib-link
Architecture link in ADE Target Sysroot
2015-06-05 11:01:02 -05: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
ff3bf44d4a Merge pull request #71 from kergoth/layer-updates
Adjust for layer updates
2015-05-18 11:50:01 -07: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
25eae9666a Merge pull request #70 from kergoth/sourcery-mx6
glibc-external: fix issue locating errno.h
2015-05-07 11:55:01 -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
62d08032c9 external_toolchain: add find_sysroot_files convenience function
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-05-07 11:48:37 -07:00
Christopher Larson
6daa1ab7a8 Merge pull request #69 from kergoth/sb-5005
Quiet external toolchain license warnings
2015-05-01 10:42:14 -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
5b8c219f59 common-license: handle LICENSE_<pkg>
JIRA: SB-5005

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-30 09:02:13 -07:00
Christopher Larson
1c1ace709e common-license: add GPL-3.0-with-GCC-exception
JIRA: SB-5005

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-30 09:02:08 -07:00
Christopher Larson
ab67196173 Merge pull request #68 from MentorEmbedded/misc-fixes
Misc fixes for meta-sourcery
2015-04-30 09:00:29 -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
a51511d6ef external-toolchain.bbclass: skip build-deps test
Missing build deps don't matter when we don't build anything.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-28 13:30:02 -07:00
Christopher Larson
21d8241639 external-toolchain.bbclass: set S=WORKDIR
This avoids the build warnings due to a nonexistent ${S}.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-28 13:29:38 -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
04c56641bf libunwind: fix build with Sourcery G++
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-28 13:29:05 -07:00
Christopher Larson
c95d2ddbc0 tcmode: blacklist libgcc-initial
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-28 11:45:16 -07:00
Christopher Larson
9cf18fff2e Merge pull request #66 from kergoth/sb-4920
Improve external toolchain sanity testing
2015-04-24 18:42:19 -07:00
Christopher Larson
590a9cda10 Merge pull request #67 from kergoth/sb-4185
Correct file ownership and add ownership QA test
2015-04-24 18:39:53 -07:00