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
Christopher Larson
921357e2f1
Merge pull request #4 from vzapolskiy/sb-615-v2
...
external-sourcery-toolchain: add libgomp packages
2012-10-10 15:31:31 -07:00
Vladimir Zapolskiy
241ec9cd72
external-sourcery-toolchain: add libgomp packages
...
This change allows to generate libgomp packages for external toolchains
with libgomp support.
Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com >
2012-10-11 01:21:48 +03:00
Christopher Larson
b7d720df1f
external-sourcery-toolchain: inhibit strip warnings
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-09-26 15:52:17 -04:00
Christopher Larson
171a53d0b6
tcmode: add EXTERNAL_TOOLCHAIN to the build configuration display
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-09-26 12:51:09 -07:00
Christopher Larson
98b0990982
external-sourcery-toolchain: install lib/locale in addition to ${libdir}
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-09-21 17:39:06 -07:00
Christopher Larson
965baa3484
tcmode: set localedir to ${exec_prefix}/lib/locale
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-09-21 09:45:54 -07:00
Christopher Larson
9f793aaf68
Revert "external-sourcery-toolchain.bb : copy locale from /lib if not present in /lib64"
...
This reverts commit cfb95284db .
2012-09-21 09:45:31 -07:00
Christopher Larson
c28de0269d
Fix previous commit
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-09-21 08:18:32 -07:00
Christopher Larson
52ced4c8ac
tcmode: make absolutely certain we don't add to PATH for native
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-09-21 08:16:58 -07:00
Christopher Larson
d08a375446
tcmode: add default LDEMULATION to fix parse error
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-09-20 08:07:55 -07:00
mshakeel
cfb95284db
external-sourcery-toolchain.bb : copy locale from /lib if not present in /lib64
...
Note from kergoth: this is a temporary build fix, likely not an ideal fix for
the underlying problem.
Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com >
2012-09-20 08:05:57 -07:00
Christopher Larson
72ff116b8e
tcmode: pass LDEMULATION for mips64 to fix busybox build
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-09-19 22:58:44 -07:00
Christopher Larson
64d264385e
eglibc-package-adjusted: fix task-self-hosted multi-provider errors
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-08-22 15:35:14 -07:00
Christopher Larson
680dc46d50
layer.conf: force TCMODE to external-sourcery, as the layer requires
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-08-17 17:39:54 -07:00
Christopher Larson
e1c384f4cc
tcmode: add pref on linux-libc-headers-dev
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-08-16 22:27:35 -07:00
Christopher Larson
426aa28b55
tcmode: show a better message for missing toolchain path
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-08-16 13:50:32 -07:00
Christopher Larson
20c8a729e3
tcmode: add unset or nonexistant EXTERNAL_TOOLCHAIN check
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-08-15 17:12:40 -07:00
Christopher Larson
db995d3bf1
tcmode: due to the switch to a SYSROOT var, shift when populate_toolchain_links happens
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-08-15 09:11:36 -07:00
Christopher Larson
e225c7c5cd
csl-versions: add oe-core copy with improvements
...
Now uses the extracted sysroot for version determination.
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-08-11 12:01:09 -07:00
Christopher Larson
89bbc3bd27
tcmode: go back to non-ConfigParsed set of sysroot var
...
BitBake doesn't run event handlers in registration order, which means there's
no way to know if a given bit of code (e.g. the tcmode set of
EXTERNAL_TOOLCHAIN_SYSROOT) has been set, from a different event handler. So
go back to using ${@}.
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-08-11 12:00:04 -07:00
Christopher Larson
339dc755e5
tcmode-external-sourcery: do an oe_import to make sure we have the imports
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-08-01 15:37:34 -07:00
Christopher Larson
4a435f9181
Don't let the recipe override the config by using ??=
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-08-01 15:37:09 -07:00
Christopher Larson
5fa28da0e0
tcmode-external-sourcery-rebuild-libc: add file
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-08-01 14:07:13 -07:00
Christopher Larson
d7b26feb36
eglibc-sourcery: add PROVIDES of eglibc
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-08-01 14:07:02 -07:00
Christopher Larson
fb661939e7
eglibc-sourcery: skip package when not using exttc
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-08-01 14:03:57 -07:00
Christopher Larson
4f3412df90
Drop the toolchain-scripts bits
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-07-31 08:42:31 -07:00
Christopher Larson
24d3e7a797
tcmode-external-sourcery: make failure to extract the sysroot fatal
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-07-29 13:47:53 -04:00
Christopher Larson
e8e3508084
tcmode-external-sourcery: don't fall back to non-prefixed for CSL_TARGET_SYS
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-07-29 13:47:38 -04:00
Christopher Larson
aa0df6efd4
toolchain-scripts: update from oe-core
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-07-26 12:31:34 -07:00
Christopher Larson
8f9ca29fa9
tcmode-external-sourcery: add missing mentor prefixes for lite for mips{,el}
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-07-25 06:58:40 -07:00
Christopher Larson
a725f1b73c
tcmode-external-sourcery: add mips-mentor- to mips64
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-07-24 16:17:18 -07:00
Christopher Larson
e61e9fdd13
tcmode-external-sourcery: add mips64-nlm-linux-gnu prefix
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-07-23 11:52:21 -07:00
Christopher Larson
cb8785cf9d
external-sourcery-toolchain: handle libdir/bin not existing
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-07-20 15:36:28 -07:00
Christopher Larson
5712c6306b
tcmode-external-sourcery: handle x86-64
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-07-20 13:50:07 -07:00
Christopher Larson
004c18ac5d
tcmode-external-sourcery: add missing separator
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-07-19 12:44:02 -07:00
Christopher Larson
a432eda094
tune-ppce50*.inc: only use the -t args for the pro toolchains
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-07-19 12:03:13 -07:00
Christopher Larson
d011a5cdf5
tcmode-external-sourcery: shift knowledge of lite vs pro to a variable
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-07-19 11:55:10 -07:00
Michael Powell
7bf1138a01
Append -msgxx-glibc to TUNE_CCARGS for x86 PRO tools only
...
Lite toolchains don't include support for native libraries and thus
-msgxx-glibc is not a valid option. Added a check to see if the tools contain
a license directory to determine whether a pro (true) or lite (false)
toolchain is being used and set TUNE_CCARGS_append_x86 accordingly.
Tested with both Lite and pro toolchains.
Signed-off-by: Michael Powell <michael_powell@mentor.com >
2012-07-19 11:54:41 -07:00
Christopher Larson
87530a7919
tune-ppce500v2: resurrect TARGET_FPU since khem fixed e500v2.inc
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-07-18 19:32:14 -07:00
Christopher Larson
bf94972214
tcmode-external-sourcery: fix PATH for sysroot extraction
...
Also catches failures to run.
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-07-18 18:03:15 -07:00
Christopher Larson
9913c95405
external-sourcery: ensure the sysroot is available as a variable again
...
Signed-off-by: Christopher Larson <chris_larson@mentor.com >
2012-07-18 17:19:13 -07:00