Commit Graph

103 Commits

Author SHA1 Message Date
Christopher Larson
965ae8df88 tune-*: ensure we apply the e500v2 gcc ice fix
Push out our append to TUNE_CCARGS to the end of the parse with _append, so it
shouldn't be affected by the e500v2 :=, and manually apply its gcc ice fix.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-08-21 07:58:49 -07:00
Christopher Larson
e71ffa3603 tune-*: don't die if the ccargs are expanded early
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-08-21 07:49:52 -07:00
Christopher Larson
0d53b056f3 eglibc-locale: also bbappend to 2.18
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2013-08-11 15:43:21 -04:00
Christopher Larson
68ef23ab75 external-sourcery-toolchain: only copy existing /usr/ subdirs
It seems there are versions of the toolchain which provide empty directories,
which is a problem for anyone storing their toolchain in source control. So
ensure we only ever copy the paths that exist. Previously, we had left it as
is to make sure it *would* break if a path we require is missing, but
admittedly not all of these paths are critical, and if something is that badly
broken in the toolchain, other things are likely to break elsewhere anyway.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2013-07-26 11:00:40 -07:00
Christopher Larson
18bbe5f8ed README.md: reformat optional functionality as a header 2013-07-25 10:58:26 -07:00
Christopher Larson
0636ba9813 README.md: add description of how the layer works
This information should be informative, covering exactly what the layer.conf and tcmode file are doing. In addition, it should address concerns about configuration migration from old versions of oe-core, without explicitly instructing the user in steps they may not need to perform.

This also adds instructions on the use of `external-sourcery-rebuild-libc`.
2013-07-25 10:56:41 -07:00
Christopher Larson
edaebec853 README.md: add usage/instructions
Fixes #9
2013-07-25 10:26:33 -07:00
Christopher Larson
227565a5df tcmode: set NO32LIBS ?= "0" 2013-07-25 09:58:21 -07:00
Christopher Larson
832ce19377 Rename README to README.md 2013-07-24 09:06:13 -07:00
Christopher Larson
2d75af10a0 tcmode: add CSL_TARGET_SYS_x86-64
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-07-17 09:04:25 -07:00
Christopher Larson
1a1cb44fe5 Support splitting out oprofile, popt, lttng bits
Don't do so in our default configuration, however.  This quiets the warnings
encountered when using 2013.05 sourcery toolchains.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-07-11 11:39:55 -04:00
Christopher Larson
1f21d8825f tcmode: kill the TOOLCHAIN_HOST_TASK override
This means we won't be able to build meta-toolchain with an external
toolchain, but it does mean we don't screw up buildtools-tarball. If we need
a functional meta-toolchain in the future, we can resurrect a superior
implementation of this.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-06-27 16:35:54 -07:00
Christopher Larson
5f3b4e7921 tcmode: add SDKGCCVERSION bits
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-06-27 16:34:42 -07:00
Noor-Ahsan
5250955bf7 Merge pull request #7 from mdurnev/mdurnev/toolchain
external-sourcery-toolchain: kill oprofile debug bits
2013-06-19 04:57:45 -07:00
Mikhail Durnev
1eae566b23 external-sourcery-toolchain: kill oprofile debug bits
Signed-off-by: Mikhail Durnev <mikhail_durnev@mentor.com>
2013-06-18 19:28:17 -05:00
Christopher Larson
5f80b28bd4 Correct PR/PRINC for GNU_HASH fixes
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-05-31 09:47:45 -07:00
Christopher Larson
9878cfed95 Add initial layer README
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-05-31 09:38:50 -07:00
Christopher Larson
3b44877887 Move GNU_HASH warning fixes here from meta-mentor
Internal toolchains generally don't see these, as they build that toolchain
with the default behavior they expect, so it's appropriate to include these
fixes with the external toolchain configuration, for now.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-05-31 09:38:09 -07:00
Christopher Larson
079d3ff35d external-sourcery-toolchain: add linux-libc-headers to PACKAGES
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-05-10 09:17:22 -07:00
Christopher Larson
985043fae9 eglibc-locale: inhibit package debug split
This is apparently needed due to a failure to run the objcopy.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-05-10 06:58:56 -07:00
Christopher Larson
5d423c4509 tcmode-external-sourcery: don't break when not in a loop
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-05-01 15:27:28 -07:00
Christopher Larson
e2075d4a78 tcmode-external-sourcery: create ld.bfd toolchain symlink
Now that KERNEL_LD uses ld.bfd, we need to ensure that it exists when using an
external toolchain.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-05-01 15:21:40 -07:00
Christopher Larson
2815788eab external-sourcery-toolchain: extract LICENSE_gdbserver from gdb -v
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-04-16 17:23:17 -04:00
Christopher Larson
d6db8a7dc5 external-sourcery-toolchain: correct FILES_gdbserver-dbg
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-04-16 17:22:47 -04:00
Christopher Larson
dd059648cd Merge remote-tracking branch 'mel/master' into HEAD
* mel/master:
  external-sourcery-toolchain: kill more bits we don't want in eglibc-utils
  Work around upstream FILESDIR/FILESPATH changes
  external-sourcery-toolchain: fix dev vs staticdev packaging issue
  external-sourcery-toolchain: kill oprofile bits
  external-sourcery-toolchain: silence GNU_HASH warning for libquadmath
  tcmode: prefer a matching gcc version for target recipes
  external-sourcery-toolchain: add libquadmath packages
  external-sourcery-toolchain: kill ${exec_prefix}/lib/locale in do_install_locale
  external-sourcery-toolchain: also package ${prefix}/libexec
  external-sourcery-toolchain: forgot to rstrip the trailing newline

Conflicts:
	recipes/meta/external-sourcery-toolchain.bb

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-04-01 15:04:40 -04:00
Christopher Larson
a22a3fe0bb external-sourcery-toolchain: kill ${exec_prefix}/lib/locale in do_install_locale
As do_install_locale already copied these into the sysroot to be picked up by
eglibc-locale, there's no reason to keep the files around for ourselves.

Note: this should go into the oe-core eglibc-package.inc.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-03-21 17:41:39 -04:00
Christopher Larson
3bfd0a44ec eglibc-sourcery: avoid running 'make config'
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-03-08 14:21:22 -07:00
Christopher Larson
f62e16eff3 external-sourcery-toolchain: provide libc-initial
This keeps eglibc-initial out of the build when using eglibc-sourcery.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-03-08 14:20:47 -07:00
Christopher Larson
93b749af70 external-sourcery-toolchain: kill more bits we don't want in eglibc-utils
Specifically, bin/sysroot-* and the oprofile binaries.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-12-10 13:20:57 -07:00
Christopher Larson
f662bf644d Work around upstream FILESDIR/FILESPATH changes
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-11-29 10:02:13 -07:00
Christopher Larson
f4857c2da9 external-sourcery-toolchain: fix dev vs staticdev packaging issue
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-11-13 18:52:57 -05:00
Christopher Larson
12b4b20f5c external-sourcery-toolchain: kill oprofile bits
It doesn't provide everything, so use the real recipe instead.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-11-13 16:29:29 -05:00
Christopher Larson
68b724f5b2 external-sourcery-toolchain: silence GNU_HASH warning for libquadmath
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-11-09 16:00:32 -07:00
Christopher Larson
be73bed243 tcmode: prefer a matching gcc version for target recipes
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-11-09 14:50:32 -07:00
Christopher Larson
f5e5f74648 external-sourcery-toolchain: add libquadmath packages
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-11-08 22:41:59 -07:00
Christopher Larson
42c2ec133b external-sourcery-toolchain: kill ${exec_prefix}/lib/locale in do_install_locale
As do_install_locale already copied these into the sysroot to be picked up by
eglibc-locale, there's no reason to keep the files around for ourselves.

Note: this should go into the oe-core eglibc-package.inc.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-11-08 22:02:26 -07:00
Christopher Larson
1c269847c4 external-sourcery-toolchain: also package ${prefix}/libexec
This is needed, as even if libexecdir isn't ${prefix}/libexec, our already
built eglibc will be expecting its files there. Without this, we get package
QA failures with current oe-core, which changed libexecdir to ${libdir}/${PN}.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-11-08 16:00:18 -07:00
Christopher Larson
a5844117b3 external-sourcery-toolchain: forgot to rstrip the trailing newline
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-11-02 14:57:22 -07:00
Christopher Larson
bc7dad4849 external-sourcery-toolchain: forgot to rstrip the trailing newline
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-11-02 14:56:03 -07:00
Christopher Larson
ed1df75f15 Merge remote-tracking branch 'gh-public/danny' into HEAD
* gh-public/danny:
  external-sourcery-toolchain: ship the multilib link in the -dev package
  external-sourcery-toolchain: put linux headers in eglibc packages
  toolchain-scripts: add TOOLCHAIN_PATH_ADD to PATH
  tcmode: use the class override for PATH add
  tcmode: don't ship a toolchain in the sdk for now
2012-11-02 11:45:05 -07:00
Christopher Larson
3c3abdc959 external-sourcery-toolchain: ship the multilib link in the -dev package
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-10-30 16:12:59 -07:00
Christopher Larson
c5d06ee1f9 external-sourcery-toolchain: put linux headers in eglibc packages
When building glibc, this is what usually happens -- the headers are
sanitized, then they're included in the libc development package(s), so mirror
that here. Include the headers with eglibc-dev rather than splitting out
separate linux-libc-headers packages.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-10-30 15:39:56 -07:00
Christopher Larson
1e24d0e84a toolchain-scripts: add TOOLCHAIN_PATH_ADD to PATH
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-10-30 15:38:23 -07:00
Christopher Larson
f367734c1c tcmode: use the class override for PATH add
This ensures that we aren't modifying the PATH for nativesdk/cross/crosssdk.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-10-30 09:03:57 -07:00
Christopher Larson
04461e5205 tcmode: don't ship a toolchain in the sdk for now
Long term, may want to add the ability to ship the cross-canadian content from
the external toolchain.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-10-29 17:44:30 -07:00
Christopher Larson
d6bbda9d7d tcmode: don't early expand PATH in its adjustments
To avoid issues when a user installed a Sourcery toolchain to the default path
and let it modify their PATH, we iterate over PATH and remove the problematic
elements. Unfortunately, in doing so, we inadvertently forced an early
expansion of PATH due to getting it in its expanded form, then setting PATH
based on that form. Instead, operate against the unexpanded PATH.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-10-26 10:24:38 -07:00
Christopher Larson
2845e07df7 tcmode: filter out default cs intall paths from PATH
The toolchain installer can end up modifying the user's PATH via their
dotfiles, but if the ia32 sourcery g++ toolchain is always in the user's path,
things can fail to build, as the ia32 toolchain provides non-prefixed binaries
(e.g. 'gcc', 'ld').

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-10-24 08:35:29 -07:00
Christopher Larson
639415b491 external-sourcery-toolchain: add more rprovides
THis avoids eglibc being rebuilt when trying to include packages like
eglibc-pcprofile. This includes world, and the lsb packagegroup.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-10-19 14:02:45 -07:00
Christopher Larson
444d7ce9b7 Merge pull request #5 from fahadusman/sb-691
external-sourcery-toolchain: add oprofile to package
2012-10-12 08:07:50 -07:00
Fahad Usman
d4a4b16658 external-sourcery-toolchain: add oprofile to package
* some stuff related to oprofile was being built but it was not being shipped,
added that to be packged now.

Signed-off-by: Fahad Usman <fahad_usman@mentor.com>
2012-10-12 17:10:02 +05:00