Commit Graph

356 Commits

Author SHA1 Message Date
Christopher Larson
b243846636 Merge pull request #113 from kergoth/master
Merge from cedar.
2015-12-09 11:08:42 -07:00
Christopher Larson
cb48467653 Merge remote-tracking branch 'origin/cedar'
* origin/cedar:
  sourcery-tuning: remove -mcpu flag for t4240rdb-64b
2015-12-09 10:33:16 -07:00
Christopher Larson
0cbc16acb5 Merge pull request #112 from arehman199/SB-6290_mcpu_fix
sourcery-tuning: remove -mcpu flag for t4240rdb-64b
2015-12-08 09:28:59 -07:00
Abdur Rehman
6dc3851551 sourcery-tuning: remove -mcpu flag for t4240rdb-64b
Remove -mcpu=e6500 flag from TUNE_CCARGS for t4240rdb-64b
to match the toolchain options, in ADE's environment script,
with the CS3 data used by the IDE(Sourcery CodeBench).

IDE reads in the individual ABI and other toolchain options
from ADE's environment-setup script and attempts to map each
value to its appropriate OptionValue in the target data
plugin.xml. Many of the the values in the plugin.xml
(particularly the ABI values) originate from the CS3
information.

When the IDE finds a value in environment-setup script which
cannot be mapped to a value in plugin.xml, e.g -mcpu=e6500 in
this case, it simply appends it to the misc option field and
this behavior is known to be imperfect.

JIRA: SB-6290

Signed-off-by: Abdur Rehman <abdur_rehman@mentor.com>
2015-12-08 20:11:29 +05: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
Noor-Ahsan
50f32078b7 Merge pull request #109 from MentorEmbedded/master
merge master on cedar
2015-11-23 19:35:40 +05:00
Christopher Larson
bfb1252304 Merge pull request #108 from arehman199/CB-5647
sourcery-tuning: add tune args for e6500
2015-11-13 09:21:56 -07:00
Abdur Rehman
9c6f30b657 sourcery-tuning: add tune args for e6500
Move bits for setting TUNE_CCARGS and TUNE_ASARGS for e6500
from tune-ppce6500.inc to sourcery-tuning.inc.

tune-ppce6500.inc has some additional bits compared to the
same file in poky. Only move those additional bits to
sourcery-tuning.

Remove tune-ppce6500.inc as it is no longer required.

JIRA: CB-5647

Signed-off-by: Abdur Rehman <abdur_rehman@mentor.com>
2015-11-13 20:50:49 +05:00
Noor-Ahsan
2d54a59f96 Merge pull request #105 from kergoth/sb-6225
libgcc-external: move libgcov.a to ${PN}-dev
2015-11-05 13:11:05 +05:00
Noor-Ahsan
8a1558c962 Merge pull request #107 from kergoth/sb-6206
Improve external toolchain sanity checks
2015-11-05 12:18:45 +05:00
Christopher Larson
d2b3e641de tcmode: explicitly check for bindir's existence
JIRA: SB-6206

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-11-04 09:58:32 -07:00
Christopher Larson
c2a2eb36f0 tcmode: kill redundant Error: in sanity check errors
bb.fatal already prints ERROR:, so prefixing it with Error: is pointless and
redundant.

JIRA: SB-6206

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-11-04 09:58:26 -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
401fa8e3dc Merge pull request #104 from arehman199/tcmode-localedir-override
tcmode: set localedir back to ${exec_prefix}/lib/locale
2015-10-21 10:50:26 -07:00
Abdur Rehman
3ac97834f1 tcmode: set localedir back to ${exec_prefix}/lib/locale
This reverts commit 4c72f28c6e
to align localedir with the external toolchain

Signed-off-by: Abdur Rehman <abdur_rehman@mentor.com>
2015-10-21 21:46:45 +05:00
Christopher Larson
f60e867669 Merge pull request #103 from kergoth/strip-error
libgcc-external: dep on binutils, for strip
2015-10-15 11:26:02 -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
Noor-Ahsan
fdd3137e9c Merge pull request #102 from kergoth/aarch64
tcmode: fix BASELIB for aarch64
2015-10-15 12:18:05 +05:00
Christopher Larson
89002198a4 tcmode: fix BASELIB for aarch64
The library path in the sourcery toolchain for aarch64 is lib64, not lib.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-10-14 21:13:22 -07:00
Christopher Larson
924e443785 Merge pull request #101 from kergoth/tcmode-add-aarch64-sys
tcmode: add aarch64 to EXTERNAL_TARGET_SYSTEMS
2015-10-13 12:48:06 -07:00
Christopher Larson
b90444dfbd tcmode: add aarch64 to EXTERNAL_TARGET_SYSTEMS
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-10-13 12:45:54 -07:00
Christopher Larson
59b02d2e7d Merge pull request #100 from kergoth/sb-6018
Use --no-sysroot-suffix
2015-10-12 08:54:12 -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
Noor-Ahsan
f971b6f2cc Merge pull request #99 from kergoth/libgfortran
libgfortran-external: add recipe
2015-09-29 12:20:42 +05: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
a6313e4cb5 Merge pull request #96 from kergoth/adjust-to-current-upstream
Adjust to current upstream layers
2015-09-22 19:50:22 -07:00
Christopher Larson
b56221d9fe Merge pull request #98 from kergoth/avoid-bash-deps
Avoid bash deps
2015-09-22 19:49:21 -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
4c72f28c6e tcmode: drop wrong localedir override
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-09-17 14:34:13 -07:00
Christopher Larson
f011487eee package_qa_sourcery: drop bits now upstream
host-user-contaminated has been merged to oe-core.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-09-17 14:33:35 -07:00
Noor-Ahsan
54acaae484 Merge pull request #95 from adnan-ali1/master
merge release/2014.12_async1 in master
2015-09-09 17:02:02 +05:00
Adnan Ali
e7114c0235 OMerge branch 'release/2014.12-async1' 2015-09-09 15:50:05 +05:00
Christopher Larson
75c43fd848 Merge pull request #94 from kergoth/glibc-external-nscd-fixup
glibc-external: include nscd startup scripts & .conf
2015-09-08 12:09:43 -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
Noor-Ahsan
04cc3e7382 Merge pull request #93 from kergoth/sb-5383
tcmode: improve CodeBench PATH removal
2015-08-05 12:51:38 +05:00
Noor-Ahsan
35705ee80c Merge pull request #92 from MentorEmbedded/fixup-multilib-header-error
glibc-external: don't setup bits/syscall.h
2015-08-05 12:08:08 +05:00
Christopher Larson
fc71b90a13 tcmode: improve CodeBench PATH removal
We were explicitly removing the old default install path. Rather than
explicitly removing the new install path, remove */codebench/bin/, since
that's the new structure of the installs.

JIRA: SB-5383

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-08-04 12:07:54 -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
d2b3eb40c7 Merge pull request #89 from kergoth/glibc-collateral-versions
Align PV of glibc collateral recipes with glibc-external
2015-07-29 20:58:16 -07:00
Christopher Larson
b5107c65be Merge pull request #88 from kergoth/move-utils-to-oe.external
oe.external: move common functions here
2015-07-29 20:58:11 -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
78ffebafc7 .gitignore: ignore *.pyc, *.pyo
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-07-29 13:10:52 -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