Commit Graph

486 Commits

Author SHA1 Message Date
Christopher Larson
6a463a5b4b linux-libc-headers-external: oe_multilib_header bits/long-double.h
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-06-16 10:00:03 +05:00
Christopher Larson
d57772218e glibc-external: fix removal of oe_multilib_header
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-06-16 09:59:48 +05:00
Christopher Larson
095582c295 python3: move into core area
This layer focuses on new recipes, so make it clear where the appends are by
isolating them, even for oe-core.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-06-16 08:47:08 +05:00
Christopher Larson
da3bab11dd systemd-boot: move into core area
This layer focuses on new recipes, so make it clear where the appends are by
isolating them, even for oe-core.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-06-16 08:46:13 +05:00
Christopher Larson
03d0a1654f Merge pull request #167 from kergoth/sb-8487
gcc-sanitizers-external: fix COMPILERDEP parse error
2017-02-17 15:52:16 -07:00
Christopher Larson
51c500e0f7 gcc-sanitizers-external: fix COMPILERDEP parse error
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-02-17 15:49:31 -07:00
Christopher Larson
9a900c8bcb Merge pull request #166 from kergoth/sb-8487
systemd-boot: fix build issue on x86_64
2017-02-16 11:06:52 -07:00
Christopher Larson
f36fad3ee2 Merge pull request #165 from kergoth/master-merge-from-morty
Merge from morty to master
2017-02-16 11:01:54 -07:00
Christopher Larson
9ec9290ab8 systemd-boot: fix build issue on x86_64
Ensure -m32/-m64 are passed for EFI, as the buildsystem currently relies on
the default for the toolchain, which isn't necessarily correct for an external
toolchain.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-02-16 11:01:38 -07:00
Christopher Larson
066a0e04ca Merge remote-tracking branch 'origin/morty' into master
* origin/morty:
  tcmode: use SOURCERY_TOOLCHAIN_VERSION for the build cfg summary
  sourcery-tuning.inc: make assembler flags e6500-64b specific
2017-02-16 11:00:13 -07:00
Christopher Larson
7a1460ead0 Merge pull request #164 from kergoth/master-fix-compilerdep-parse-error
gcc-runtime-external: fix COMPILERDEP parse error
2017-02-03 14:32:35 -07:00
Christopher Larson
989f3e8457 gcc-runtime-external: fix COMPILERDEP parse error
We don't need or want this dep, so set it to the empty string rather than
including gcc-common.inc. This fixes builds with current upstream master.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-02-03 14:29:09 -07:00
Noor-Ahsan
3d4653c9a2 Merge pull request #162 from kergoth/sb-8699
tcmode: use SOURCERY_TOOLCHAIN_VERSION for the build cfg summary
2017-01-28 00:54:41 +05:00
Christopher Larson
95c616770e tcmode: use SOURCERY_TOOLCHAIN_VERSION for the build cfg summary
This makes it clear that this refers to the toolchain, not the CodeBench IDE.

JIRA: SB-8699

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-01-27 12:52:08 -07:00
Noor-Ahsan
3c2c4965e0 Merge pull request #160 from fahadarslan/SIEJIR-3452
sourcery-tuning.inc: make assembler flags e6500-64b specific
2017-01-23 22:00:21 +05:00
Fahad Arslan
d66483680e sourcery-tuning.inc: make assembler flags e6500-64b specific
-a64 and -me6500 are PowerPC architecture-specific assembler flags
only intended for 64bit mode of e6500 core.
-a64 - generates ELF64 or XCOFF64.
-me6500 - generates code for Freescale e6500 core complex.

Jira ID: http://jira.alm.mentorg.com:8080/browse/SIEJIR-3452

Signed-off-by: Fahad Arslan <Fahad_Arslan@mentor.com>
2017-01-23 21:44:32 +05:00
Christopher Larson
198da6a8b4 Merge pull request #158 from kergoth/merge-from-morty
Merge from morty
2017-01-12 12:49:18 -07:00
Christopher Larson
455bf111e5 Merge remote-tracking branch 'origin/morty' into master
* origin/morty:
  Revert "Drop now-unnecessary <pkg>-dbg bits"
  external-toolchain: also inhibit debug split
  gcc-runtime-external: fix inclusion of {omp,openacc}.h
  glibc-external: keep libmvec
  glibc-external: also remove ${base_libdir}/*_nonshared.a
  glibc-external: fix libm* fixup
  Don't alter GLIBC_GENERATE_LOCALES for nativesdk
  buildtools-tarball: ignore TOOLCHAIN_TARGET_TASK_append
  tcmode: change gdbserver default to gdbserver-external
  gdbserver-external: update SUMMARY for gdbserver, not gdb
  gdbserver-external: drop bits that belong with gdb, not gdbserver
  perl-ptest: remove runtime dep on libssp
  tcmode: fix x32 BASELIB
  tcmode: fix x32 LDEMULATION
2017-01-12 12:39:15 -07:00
Noor-Ahsan
a14a1e6caf Merge pull request #157 from kergoth/sb-8524
Correctly include existing debug files from the toolchain
2017-01-04 13:44:57 +05:00
Christopher Larson
a96f3c86c0 Revert "Drop now-unnecessary <pkg>-dbg bits"
This reverts commit 91b3032784.

We need these explicitly listed in order to ensure we don't just package the
files, but extract them from the sysroot. The best approach would be to
identify elf binaries the way package.bbclass does, and extract the
debuglink path to determine the files to include, but that can be a future
enhancement.

JIRA: SB-8524
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-01-03 14:53:30 -07:00
Christopher Larson
b590b6918f external-toolchain: also inhibit debug split
The external toolchain currently has a different naming scheme than any of
oe-core's currently hardcoded schemes, so failed to recognize the files as
debug, and would add debuglinks to the debug files, which is obviously wrong.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-01-03 14:44:14 -07:00
Noor-Ahsan
3985fa436d Merge pull request #152 from kergoth/sourcery-remove-prefix
Drop the change of TARGET_PREFIX
2016-12-31 11:13:23 +05:00
Noor-Ahsan
5762d0e145 Merge pull request #154 from kergoth/sanity-fix-varname
sanity-external-toolchain: fix variable name
2016-12-31 11:13:05 +05:00
Christopher Larson
1507b72191 Merge pull request #149 from kergoth/x32
Fix two issues with x32 builds
2016-12-22 09:40:50 -07:00
Noor-Ahsan
e74d31d65a Merge pull request #156 from kergoth/gcc-runtime-fix-libgomp-gcc-headers
gcc-runtime-external: fix inclusion of {omp,openacc}.h
2016-12-20 14:12:18 +05:00
Noor-Ahsan
a39066238f Merge pull request #155 from kergoth/sb-8354
glibc-external: libmvec packaging fixes
2016-12-20 13:59:23 +05:00
Christopher Larson
c7ec5c09d1 gcc-runtime-external: fix inclusion of {omp,openacc}.h
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-12-19 13:48:51 -07:00
Christopher Larson
46c4867c32 glibc-external: keep libmvec
We drop the overly greedy patterns for libm* and *_nonshared and explicitly
add back the bits we know we own, but libmvec was missing from this.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-12-19 09:19:00 -07:00
Christopher Larson
75590b4dcd glibc-external: also remove ${base_libdir}/*_nonshared.a
This overly greedy pattern was picking up, via the FILES_MIRRORS, the
nonshared paths in ${libdir}.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-12-19 09:17:57 -07:00
Christopher Larson
f71a62353f glibc-external: fix libm* fixup
We don't want the 'libm*.so.*' kept in our FILES, as it's too greedy, and
results in picking up the wrong things.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-12-19 09:15:06 -07:00
Christopher Larson
1b542eb9fa sanity-external-toolchain: fix variable name
If the EXTERNAL_TOOLCHAIN path doesn't exist, the error logic had a variable
name issue (extdir vs extpath). Fix.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-12-16 11:08:15 -07:00
Noor-Ahsan
e1d278b3b0 Merge pull request #153 from kergoth/sb-8391
Fix issues with buildtools-tarball
2016-12-16 18:58:46 +05:00
Christopher Larson
b034153aac Don't alter GLIBC_GENERATE_LOCALES for nativesdk
We only want this to take effect for the locales for the external toolchain,
not those generated and used for nativesdk, otherwise we break the
buildtools-tarball build.

JIRA: SB-8391

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-12-15 21:58:44 -07:00
Christopher Larson
3ebfc49030 buildtools-tarball: ignore TOOLCHAIN_TARGET_TASK_append
buildtools-tarball is host only, and does not add TOOLCHAIN_TARGET_TASK to
RDEPENDS. Forcibly empty it, otherwise a TOOLCHAIN_TARGET_TASK_append at the
config level will break the buildtools-tarball build

JIRA: SB-8391

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-12-15 21:57:44 -07:00
Christopher Larson
2082315ed0 Drop the change of TARGET_PREFIX
Since the external-cross recipes link/wrap the binaries already, there's no
actual need to override TARGET_PREFIX anymore.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-12-14 20:16:06 -07:00
Noor-Ahsan
f8b7c25cb6 Merge pull request #151 from kergoth/gdbserver-perf-default
Change gdbserver default to gdbserver-external
2016-12-07 23:56:40 +05:00
Christopher Larson
87616f2b20 tcmode: change gdbserver default to gdbserver-external
Using the one already available with our toolchain makes a great deal of
sense, as it's a known quantity. The only reason we switched to gdb was due to
conflicts between gdb and gdbserver-external, but that issue has been
resolved.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-12-06 20:03:31 -07:00
Christopher Larson
a098af1ea5 gdbserver-external: update SUMMARY for gdbserver, not gdb
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-12-06 20:03:20 -07:00
Christopher Larson
b9ddc49442 gdbserver-external: drop bits that belong with gdb, not gdbserver
This fixes a gdb/gdbserver-external file conflict.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-12-06 20:02:53 -07:00
Noor-Ahsan
3b0ae8e55d Merge pull request #150 from fahadarslan/sb-8337
perl-ptest: remove runtime dep on libssp
2016-11-30 19:44:47 +05:00
Fahad Arslan
13658a6c4d perl-ptest: remove runtime dep on libssp
libssp support is only available in toolchain for minnowmax so
remove it until there is a requirement.

Jira ID: SB-8337

Signed-off-by: Fahad Arslan <Fahad_Arslan@mentor.com>
2016-11-30 17:50:08 +05:00
Christopher Larson
6a9eaae40b tcmode: fix x32 BASELIB
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-11-29 14:44:50 -07:00
Christopher Larson
5afc50391f tcmode: fix x32 LDEMULATION
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-11-29 14:42:12 -07:00
Christopher Larson
ef484646c1 Merge pull request #148 from kergoth/merge-from-morty
Merge from morty
2016-11-28 13:52:30 -07:00
Christopher Larson
7b1292197f Merge remote-tracking branch 'origin/morty'
* origin/morty:
  tcmode: add compilation toolchain sanity test

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-11-28 13:49:46 -07:00
Noor-Ahsan
81190e18c6 Merge pull request #147 from kergoth/sb-8257
tcmode: add compilation toolchain sanity test
2016-11-08 16:04:15 +05:00
Christopher Larson
2a0a55d61a tcmode: add compilation toolchain sanity test
It's not ideal to do this for every build, but it's not terrible, either, and
is worth the cost to get an error up front if there's a configuration or
licensing problem. master deals with this more cleanly.

JIRA: SB-8257

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-11-04 11:10:14 -07:00
Christopher Larson
b06edd59d6 Merge pull request #146 from kergoth/sourcery-sanity
Revamp the sanity testing
2016-11-03 13:51:04 -07:00
Christopher Larson
275b4f5c3a Revamp the sanity testing
- Reworked to function the way sanity.bbclass does, rather than running it
  every time we do a build
- Add sanity check to test trivial compilation

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-11-03 13:48:18 -07:00
Christopher Larson
f587a676ae Merge pull request #145 from kergoth/jenkins-error
Merge codebench.bbclass into the tcmode
2016-11-03 13:11:28 -07:00