Commit Graph

432 Commits

Author SHA1 Message Date
Noor-Ahsan
6455f012f7 Merge pull request #141 from MentorEmbedded/avoid-32-bit-pseudo-deps-for-64-bit-exttc
tcmode: disable 32-bit pseudo for 64-bit codebench
2016-11-02 14:30:25 +05:00
Christopher Larson
af6eec9e6d Merge pull request #143 from Yasir-Khan/ykhan/dogwood
xilinx: aarch64: drop dependency on libatomic
2016-11-01 08:51:11 -07:00
Yasir-Khan
0ee6a0a62a xilinx: aarch64: drop dependency on libatomic
Sourcery codebench toolchain for aarch64 architecture doesn't have
libatomic available which causes ade build failure. Drop the
dependency on libatomic for aarch64 based xilinx MPSoC target.

JiraID: ITS-50

Signed-off-by: Yasir-Khan <yasir_khan@mentor.com>
2016-11-01 20:31:43 +05:00
Noor-Ahsan
82f4780bac Merge pull request #142 from kergoth/tcmode-add-external-target-sys
tcmode: add EXTERNAL_TARGET_SYS to BUILDCFG_VARS
2016-11-01 13:42:02 +05:00
Christopher Larson
8beb762f87 tcmode: add EXTERNAL_TARGET_SYS to BUILDCFG_VARS
It's useful to know which target triplet/system was selected by the logic in
the tcmode file, as it searches EXTERNAL_TOOLCHAIN to determine which to use.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-10-31 15:05:08 -07:00
Christopher Larson
b10e0d438b tcmode: disable 32-bit pseudo for 64-bit codebench
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-10-29 18:39:18 -07:00
Noor-Ahsan
41cd7404f0 Merge pull request #139 from MentorEmbedded/new-toolchain-test-minnowmax
Fix a few issues with newer toolchains
2016-10-24 16:35:37 +05:00
Noor-Ahsan
942167919d Merge pull request #140 from MentorEmbedded/ppp-better-workaround
ppp: obey the actual libc kernel version
2016-10-20 20:59:53 +05:00
Christopher Larson
55c946aeb0 ppp: obey the actual libc kernel version
Since the external toolchain is available at parse time, we can actually grab
the kernel version from the external toolchain sysroot and use that to
determine whether to apply the patch. Do so.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-10-19 10:14:44 -07:00
Noor-Ahsan
d5291a8c62 Merge pull request #137 from kergoth/sb-8226
tcmode: drop old triplets/prefixes
2016-10-19 20:05:30 +05:00
Christopher Larson
2a3e6b1736 Merge pull request #138 from MentorEmbedded/ppp-build-fix
Fix builds of the ppp recipe with most toolchains
2016-10-18 20:37:49 -07:00
Christopher Larson
ec84c4680d Fix builds of the ppp recipe with most toolchains
A patch in oe-core is needed, at this time, to fix builds with
linux-libc-headers from the 4.8 Linux kernel or newer, which is not the case
for most external toolchains. Unfortunately, this patch also breaks the build
of ppp with older linux-libc-headers, so we need to revert it. A note in the
README is added explaining how to disable this for external toolchains with
recent enough kernel libc headers.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-10-18 15:34:03 -07:00
Christopher Larson
6a9b8a0f5d Clean up references to the old .debug handling
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-10-18 11:33:34 -07:00
Christopher Larson
0d323741fc external-toolchain.bbclass: use bb.utils.to_boolean
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-10-18 11:11:06 -07:00
Christopher Larson
6bc8904f57 external-toolchain.bbclass: simplify skip logic
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-10-18 11:10:52 -07:00
Christopher Larson
ff09932eb4 tcmode: drop old triplets/prefixes
Per @Noor-Ahsan, drop old unsupported lite toolchain triplets.

JIRA: SB-8226

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-10-17 09:09:41 -07:00
Noor-Ahsan
9bb9adb28d Merge pull request #136 from kergoth/sb-7881
Add bits to handle the new codebench layout
2016-10-10 20:19:27 +05:00
Christopher Larson
2374ada847 codebench.bbclass: add automatic path fixups
- If the user set EXTERNAL_TOOLCHAIN to the top of the CodeBench install
  rather than the actual toolchain path, we correct it
- If the user set EXTERNAL_TOOLCHAIN to the path to a new CodeBench, where the
  toolchains are installed elsewhere, set CODEBENCH_PATH instead, so we
  correctly and automatically set EXTERNAL_TOOLCHAIN

When these fixups are performed, warnings are displayed, indicating the
correct values for the variables, so the user can set them that way if we they
want to silence the warnings.

JIRA: SB-7881

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-09-30 09:07:41 -07:00
Christopher Larson
fbf6ffdc72 Add bits to handle the new codebench layout
If the user hasn't set EXTERNAL_TOOLCHAIN, but CODEBENCH_PATH is set, then we
automatically set both EXTERNAL_TOOLCHAIN and EXTERNAL_TARGET_SYS based on the
installed toolchains in CODEBENCH_PATH/../toolchains.

This adds a new variable, rather than allowing EXTERNAL_TOOLCHAIN to point to
CodeBench instead of the actual toolchain path, to keep the clean separation
between the generic toolchain logic and that which is specific to our
toolchains, and also avoids overloading the variable's meaning.

JIRA: SB-7881

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-09-30 09:07:41 -07:00
Christopher Larson
f23e3c8a4b tcmode: sort EXTERNAL_TARGET_SYSTEMS by priority
If multiple are available, the 'mentor' triplets are preferred, as that's the
non-lite toolchain. Sort them so those are first, as we stop at the first one
we find.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-09-30 09:07:41 -07:00
Noor-Ahsan
6b621398e4 Merge pull request #135 from Noor-Ahsan/master
Merging Cedar branch to master
2016-09-01 14:13:02 +05:00
Noor Ahsan
bc918aed2b Merge remote-tracking branch 'origin/cedar' 2016-09-01 14:10:21 +05:00
Noor-Ahsan
77e018ae3c Merge pull request #134 from fahadarslan/libssp
glibc-external: don't install already installed libssp_nonshared.a
2016-08-29 22:29:39 +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
Noor-Ahsan
4732ca026e Merge pull request #133 from kergoth/update-readme
Update the README
2016-08-16 16:39:27 +05:00
Christopher Larson
0bf26059b7 README.md: mention a build directory in the deps
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-08-15 13:17:58 -07:00
Christopher Larson
312eb21686 README.md: shorten 'Description of Behavior'
This is a readme, I think it being descriptive is a given.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-08-15 13:14:11 -07:00
Christopher Larson
981967acfb README.md: remove 'no longer necessary'
This phrase implies knowledge of the build process or the layer history which
is not always the case.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-08-15 13:12:21 -07:00
Christopher Larson
7a20b474bd README.md: add Maintainer section
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-08-15 13:08:58 -07:00
Christopher Larson
9a11fb6f3d README.md: use # prefixes for headings
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-08-15 13:08:50 -07:00
Christopher Larson
57d161dd49 README.md: add bitbake and toolchain to deps
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-08-15 13:07:39 -07:00
Christopher Larson
ff0be6826d README.md: add layer dependencies section
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-08-15 13:00:10 -07:00
Christopher Larson
0f59e55b88 README.md: use a proper md link for the repo
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-08-15 12:59:56 -07:00
Christopher Larson
fcc641bf66 Merge pull request #132 from kergoth/sourcery-taskhash-mismatch
Fix taskhash mismatch and avoid warning in gcc-sanitizers
2016-06-20 15:53:30 -07: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
26587ec6d6 Merge pull request #131 from kergoth/python3
Updates for python 3
2016-06-13 12:44:54 -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
8578292b6a Depend on cross binutils for packaging
objcopy/etc are needed for the split and strip in do_package.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-06-07 09:21:53 -07:00
Christopher Larson
ea5aec7ba7 oe.external: use bb.process.run
oe.path.check_output was returning a bytes, not an str. Switch to bb.process
to resolve issues with python3.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-06-02 08:03:17 -07:00
Noor-Ahsan
3262087a71 Merge pull request #130 from kergoth/do_install_append_fixup
external-toolchain: automatically deal with do_install_append
2016-05-19 12:19:20 +05:00
Christopher Larson
553706b40b external-toolchain: automatically deal with do_install_append
gcc-runtime does a do_install_append, now, and was causing failures.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-05-18 14:48:32 -07:00
Noor-Ahsan
856c6e54c6 Merge pull request #129 from kergoth/cedar-merge
Merge from cedar
2016-03-29 12:02:58 +05:00
Christopher Larson
dc7560396c Merge remote-tracking branch 'origin/cedar' into cedar-merge
* origin/cedar:
  tcmode-external-sourcery: Add MGLS_LICENSE_FILE if not found in environment

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-03-25 20:08:44 -07:00
Noor-Ahsan
b15b942a36 Merge pull request #128 from kergoth/external-as-needed
tcmode: use -Wl,--as-needed
2016-03-21 13:46:55 +05:00
Christopher Larson
d075fdc52f tcmode: use -Wl,--as-needed
There's no reason not to make use of it, and it's used by default with the
internal toolchain, so this aligns us closer to that.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-03-18 17:06:05 -07:00
Christopher Larson
47779f4795 Merge pull request #125 from kergoth/improve-missing-binary-error 2016-03-15 08:43:05 -07:00
Christopher Larson
f0e502f961 Merge pull request #127 from kergoth/python3-build-fix
python3: fix build due to HOST_SYS vs HOST_PREFIX delta
2016-03-14 11:29:31 -07:00
Christopher Larson
7a8c555384 python3: fix build due to HOST_SYS vs HOST_PREFIX delta
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-03-13 22:13:35 -07:00