Commit Graph
65 Commits
Author SHA1 Message Date
Serge Semin 5efde7bd40 meta-environment{,-extsdk}: don't include -B${gcc_bindir} in emitted TUNE_CC_ARCH
Don't dump the -B${gcc_bindir} appended to TUNE_CCARGS and subsequently
to TARGET_CC_ARCH, since it consists of local machine toolchain paths.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-08-03 03:05:03 +05:00
Christopher Larson 9fce314315 ncurses: drop append, this belongs in meta-sourcery
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-03-15 01:53:51 +05:00
Christopher Larson 537bc233f7 Various: leverage the tcmode overrides
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-03-15 01:53:51 +05:00
Christopher Larson fd7916fa83 gcc: drop TARGET_SYS workaround
This is no longer needed, as the external toolchain no longer sets
TARGET_PREFIX.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-03-09 08:00:43 +05:00
Christopher Larson 842520827f binutils-cross: install non-prefixed links for gcc
This will install, for example, a 'ld.gold' symlink in
STAGING_BINDIR_TOOLCHAIN/gcc, which we can then allow gcc to get to.
This makes it possible to rebuild just binutils-cross and use everything
else from an external toolchain, which can be useful to get ahold of
ld.gold when the external toolchain doesn't provide it.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-03-03 01:19:59 +05:00
Christopher Larson 43b02b6887 gdb: use oe.utils.str_filter_out
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-02-01 01:36:32 +05:00
Christopher Larson e5932ca319 ppp: drop, this was fixed upstream
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-12-04 21:30:17 +05:00
Christopher Larson c51ffb6e2a gcc: align TARGET_SYS and TARGET_PREFIX
Align TARGET_SYS and TARGET_PREFIX to avoid binary links which include both:

    WARNING: gcc-6.2.0-r0 do_package: QA Issue: gcc: Files/directories were installed but not shipped in any package:
    /usr/bin/arm-mel-linux-gnueabi-arm-none-linux-gnueabi-gcc-nm
    /usr/bin/arm-mel-linux-gnueabi-arm-none-linux-gnueabi-gcc
    /usr/bin/arm-mel-linux-gnueabi-arm-none-linux-gnueabi-gcc-ranlib
    /usr/bin/arm-mel-linux-gnueabi-arm-none-linux-gnueabi-g++
    /usr/bin/arm-mel-linux-gnueabi-arm-none-linux-gnueabi-gcc-ar

Moved from meta-mentor.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-11-30 02:02:00 +05:00
Christopher Larson 0f3e1a48c0 systemd-boot: 232 -> %
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-11-23 03:38:42 +05:00
Christopher Larson 288987d8f4 gdb: add fallback preference
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-11-23 03:31:14 +05:00
Christopher Larson 6160b16947 Update for sourcery -> external-toolchain layer name
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-06-16 10:09:17 +05:00
Christopher Larson 402ca1bf32 Drop recipes/appends specific to the Sourcery toolchain
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2017-06-16 10:08:30 +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 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 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
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 8738c4e2c5 Merge pull request #110 from drewmoseley/fix-multiple-providers
gdb: Conditionally provide gdbserver
2016-01-04 19:21:16 -07:00
Drew Moseley e836579be2 gdb: Conditionally provide gdbserver
Avoid providing "gdbserver" if PREFERRED_PROVIDER is set to
external-sourcery or some other package which also provides it.  This
avoids "Multiple Provider" warnings.

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2016-01-04 15:52:13 -07:00
Christopher Larson aa8575ab96 lttng-ust, babeltrace: drop old patches
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-12-17 13:23:08 -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 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 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 50d059f396 lttng-ust: 2.6.1 -> git
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-07-23 19:28:34 -07:00
Christopher Larson bcf80cc5db lttng-ust: 2.6.0 -> 2.6.1
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-06-19 08:36:43 -07:00
Christopher Larson 04c56641bf libunwind: fix build with Sourcery G++
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-28 13:29:05 -07:00
Christopher Larson 51c7d12402 ncurses: work around ownership problem
Due to a previous workaround, the external gcc/g++ is run outside of pseudo
context. The ncurses install target re-links the libraries directly into ${D},
so we need to make sure the ownership on those files is correct.

JIRA: SB-4185

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-24 18:28:04 -07:00
Christopher Larson b56cf21d51 libgcc,gcc-runtime: align TARGET_SYS/EXTERNAL_TARGET_SYS
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-14 09:15:52 -07:00
Christopher Larson e890f1c457 gcc: don't pull unwind.h from cross sysroot
libgcc-external provides this.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-07 11:19:54 -07:00
Christopher Larson 60a384ea95 lttng-ust: 2.5.2 -> 2.6.0
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-03-02 16:14:07 -07:00
Christopher Larson 3b4ff77353 lttng-ust: 2.5.0 -> 2.5.2
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-01-09 16:26:32 -07:00
Christopher Larson eb37c22a03 libffi: 3.1 -> 3.2.1
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-01-09 16:26:24 -07:00
Christopher Larson 0beb66b376 Split up external-sourcery-toolchain into separate recipes
common-license.bbclass will set LIC_FILES_CHKSUM to a common license file
based on LICENSE, which is appropriate for a case where we have no sources to
refer to.
external-toolchain.bbclass, among other things, handles extraction of files in
the external toolchain sysroot, based on patterns in the FILES variables,
checking alternate locations to better support any arbitrary toolchain, and
has basic mirror handling for checking multiple paths within the sysroots.

Under normal circumstances, I'd want this to use highly granular commits, but
this branch has been extremely long lived (>1yr) and is such an invasive
refactoring that attempting to break it down now would be of limited
usefulness.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-12-19 10:35:25 -07:00
Christopher Larson 0cc5d48934 babeltrace: 1.2.1 -> 1.2.4
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-12-16 08:47:10 -07:00
Christopher Larson 3d98fcfbc5 gdb: 7.7.1 -> %
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-12-16 08:47:04 -07:00
Christopher Larson 6a9f8597dd python: drop bits now upstream
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-09-16 19:05:30 -07:00
Christopher Larson efea797745 irda-utils: drop bits now upstream
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-09-16 19:05:30 -07:00
Christopher Larson 3d38ed67ba blktrace: drop bits now upstream
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-09-16 19:05:30 -07:00
Christopher Larson 4de8c4ccfa hostap-utils: drop bits now upstream
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-09-16 19:05:30 -07:00
Christopher Larson 148980e202 setserial: drop bits now upstream
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-09-16 19:05:30 -07:00
Christopher Larson dd69595447 ossp-uuid: drop bits now upstream
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-09-16 19:05:29 -07:00
Christopher Larson 61b58e52b9 gdbm: drop bits now upstream
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-09-16 19:05:29 -07:00
Christopher Larson 0cb45b27a0 perl: drop, upstream fixed it differently
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-09-16 19:05:29 -07:00
Christopher Larson bf9e2d7ca2 liburcu: drop recipe, upstream has it
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-08-25 19:09:49 -07:00
Christopher Larson b3c7184939 babeltrace: append, don't replace
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-08-25 19:09:40 -07:00
Christopher Larson c750c20308 lttng-ust: 2.4.0 -> 2.5.0
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-08-20 09:28:42 -07:00
Christopher Larson 1747174519 lttng-modules: drop now-unnecessary bbappend
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-08-09 11:44:46 -07:00
Christopher Larson 7da3dffbed gdb: 7.7 -> 7.7.1
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-07-21 16:19:51 -07:00
Christopher Larson 66a4093609 perl: 5.14.3 -> 5.20.0
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-07-21 14:38:31 -07:00
Christopher Larson 6b3b4385e4 Merge remote-tracking branch 'origin/release/2014.05'
* origin/release/2014.05:
  tcmode: obey MGLS_LICENSE_FILE, not MGLS
  testfloat: obey LDFLAGS
  ossp-uuid: obey LDFLAGS
  boot-format: obey LDFLAGS
  tcmode: don't use BB_HASHBASE_WHITELIST_append
  tcmode: use /tmp/sourcery-$LOGNAME for TMPDIR
  external-sourcery-toolchain: Error out if libc.so does not exist
  external-sourcery-toolchain: Package libinproctrace library.
  external-sourcery-toolchain: Fix installation of lib/locale.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>

Conflicts:
	conf/distro/include/tcmode-external-sourcery.inc
2014-07-14 14:01:34 -07:00