]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
9 years agogstreamer1.0: upgrade to version 1.6.2
Maxin B. John [Mon, 21 Dec 2015 16:41:14 +0000 (18:41 +0200)]
gstreamer1.0: upgrade to version 1.6.2

1.6.1 -> 1.6.2

Removed "fix-install-hook.patch" which was backported.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomirrors: add archive.apache.org to Apache mirrors
Alexander Kanavin [Tue, 22 Dec 2015 13:30:17 +0000 (15:30 +0200)]
mirrors: add archive.apache.org to Apache mirrors

Historical releases may disappear from the main mirrors, so
then we need to fall back to the archive (which, in turn, may
not carry the current release, and so can't be the primary mirror).

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoguile: remove redundant replacement of .pc file
Kai Kang [Tue, 22 Dec 2015 01:04:53 +0000 (09:04 +0800)]
guile: remove redundant replacement of .pc file

Remove redundant replacement of pkgconfig file and only modify the .pc
file which is installed in ${D}.

Replace /usr/bin with ${bindir} at same time.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobind: 9.10.2-P4 -> 9.10.3-P2
Kai Kang [Tue, 22 Dec 2015 01:04:54 +0000 (09:04 +0800)]
bind: 9.10.2-P4 -> 9.10.3-P2

Upgrade bind from 9.10.2-P4 to 9.10.3-P2.

* update context of 0001-build-use-pkg-config-to-find-libxml2.patch
* add PACKAGECONFIGs readline and libedit. They provide same library, so
  should not be set at same time.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibsndfile1: enable FLAC/Ogg/Vorbis support
Tanu Kaskinen [Tue, 22 Dec 2015 09:49:36 +0000 (11:49 +0200)]
libsndfile1: enable FLAC/Ogg/Vorbis support

This makes it possible to handle FLAC and Vorbis files in programs
that use libsndfile.

It seems that the external dependencies were disabled just as a
routine measure to make builds deterministic, since the dependencies
were missing from DEPENDS[1]. Therefore it seems likely that nobody
particularly wants to have libsndfile without support for these
formats.

[1] http://git.openembedded.org/openembedded-core/commit/?id=34a14ce3ea78be299175e1a803f92519aa02355b

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobuildhistory: improve support for extensible SDK
Paul Eggleton [Sun, 20 Dec 2015 20:55:39 +0000 (09:55 +1300)]
buildhistory: improve support for extensible SDK

* Ensure extensible SDK and standard SDK go into their own directories
* Record extra extensible SDK variables
* Write sstate-package-sizes.txt and sstate-task-sizes.txt files so you
  can analyse the size of the contents
* Add BUILDHISTORY_SDK_FILES (similar to BUILDHISTORY_IMAGE_FILES) and
  default it to pick up config files installed in the extensible SDK

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobuildhistory: fix not recording SDK information
Paul Eggleton [Sun, 20 Dec 2015 20:04:59 +0000 (09:04 +1300)]
buildhistory: fix not recording SDK information

After OE-Core revision baa4e43a29e45df17eaa3456acc179b08d571db6 we lost
recording SDK the contents in buildhistory. This was due to the
SDK_POSTPROCESS_COMMAND variable being set with = in
populate_sdk_base.bbclass which overwrote any value set with += in
buildhistory.bbclass; to fix it, use _append in buildhistory.bbclass
instead.

Fixes [YOCTO #8839].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoscripts/oe-selftest: Add support for selftest log with timestamp
Costin Constantin [Tue, 22 Dec 2015 08:36:29 +0000 (10:36 +0200)]
scripts/oe-selftest: Add support for selftest log with timestamp

Each time oe-selftest runs, the oe-selftest.log file is overwritten.
This patch solves it by adding time stamp to each selftest log file
and doing a symlink named as oe-selftest.log to the last one created.

Signed-off-by: Costin Constantin <costin.c.constantin@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoselftest: Added MACHINE = "qemux86" to tests that use runqemu
Daniel Istrate [Fri, 18 Dec 2015 15:12:16 +0000 (17:12 +0200)]
selftest: Added MACHINE = "qemux86" to tests that use runqemu

It makes sense for tests that use runqemu to have MACHINE set as qemu.
This also avoid issues when running oe-selftest with --arch random/all
option.

Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoncurses: fixes wrong paths in BINCONFIG
Ming Liu [Sun, 20 Dec 2015 16:40:43 +0000 (17:40 +0100)]
ncurses: fixes wrong paths in BINCONFIG

* Removes ncurses-config from BINCONFIG, that file does not exist at all.
* Adds in ncurses5-config and ncursesw5-config to BINCONFIG.

This fixed following warnings during SDK install:
  warning: Removing ncurses-dev-5.9-r15.1@lib32_x86 due to file /usr/bin/ncurses5-config conflicting with ncurses-dev-5.9-r15.1@core2_64
  warning: Removing ncurses-dev-5.9-r15.1@lib32_x86 due to file /usr/bin/ncursesw5-config conflicting with ncurses-dev-5.9-r15.1@core2_64

[YOCTO #8801]

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoxcb: don't build-depend on python-native
Ross Burton [Fri, 11 Dec 2015 15:08:57 +0000 (15:08 +0000)]
xcb: don't build-depend on python-native

xcb-proto had a dependency on python-native as it builds and installs a Python
module, but xcb-proto is very low in the build to force a dependency on
python-native.

As it turns out libxcb simply asks pkg-config for the full path to the module
xcb-proto installed and uses it directly so there is no need to build
python-native.  Instead replace AM_PATH_PYTHON with two explicit variable
definitions (need to set PYTHON for automake's install logic).

Also remove the dependency on xcb-proto-native as libxcb uses the data files and
tooling from the target sysroot, and patching it to use the native sysroot adds
complication for no good reason.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotcmode-default: Use glibc for nativesdk version even on uclibc and musl
Khem Raj [Tue, 15 Dec 2015 21:20:46 +0000 (21:20 +0000)]
tcmode-default: Use glibc for nativesdk version even on uclibc and musl

We do not have musl or uclibc based systems for building OE itself. Most
of build servers run glibc, there will be other issues to build OE on a
uclibc based build system

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqemu: upgrade to 2.5.0
Cristian Iorga [Mon, 21 Dec 2015 11:24:21 +0000 (13:24 +0200)]
qemu: upgrade to 2.5.0

- cpus.c-qemu_mutex_lock_iothread-fix-race-condition-a.patch removed,
included upstream;
- smc91c111_fix*.patch patches removed, included upstream;
- trace-remove-malloc-tracing.patch patch removed, included upstream;
- some configure options disappeared or changed name, updated.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowebkitgtk: update to 2.10.4
Alexander Kanavin [Fri, 18 Dec 2015 14:29:49 +0000 (16:29 +0200)]
webkitgtk: update to 2.10.4

Drop backported patches (which means, all the patches).

Replace a few hardcoded dependencies with PACKAGECONFIG entries.
Add a PACKAGECONFIG entry for libhyphen.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoepiphany: update to 3.18.2
Alexander Kanavin [Fri, 18 Dec 2015 13:32:06 +0000 (15:32 +0200)]
epiphany: update to 3.18.2

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibwebp: update to 0.4.4
Alexander Kanavin [Fri, 18 Dec 2015 13:29:28 +0000 (15:29 +0200)]
libwebp: update to 0.4.4

PATENTS file had a few rewordings:
https://github.com/webmproject/libwebp/commits/master/PATENTS

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibsecret: update to 0.18.3
Alexander Kanavin [Fri, 18 Dec 2015 13:28:06 +0000 (15:28 +0200)]
libsecret: update to 0.18.3

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agognome-desktop3: update to 3.18.2
Alexander Kanavin [Fri, 18 Dec 2015 13:24:59 +0000 (15:24 +0200)]
gnome-desktop3: update to 3.18.2

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogcr: update to 3.18.0
Alexander Kanavin [Fri, 18 Dec 2015 13:21:55 +0000 (15:21 +0200)]
gcr: update to 3.18.0

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolinux-yocto: remove 3.14 and 3.19 recipes
Bruce Ashfield [Thu, 26 Nov 2015 14:05:07 +0000 (09:05 -0500)]
linux-yocto: remove 3.14 and 3.19 recipes

In preparation for the introduction of new (supported) kernel versions,
we remove the 3.14 and 3.19 variants.

The kernel trees will still be available, but the recipes are removed
from master. These versions can still be built on older releases, or
with private copies of the recipes.

3.14 LTSI is replaced by the 4.1 LTSI kernel, and 3.19 will be replaced
by 4.4+.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agokernel-yocto: fix checkout bare-cloned kernel repositories
Jianxun Zhang [Tue, 8 Dec 2015 18:58:43 +0000 (10:58 -0800)]
kernel-yocto: fix checkout bare-cloned kernel repositories

The existing code doesn't tell regular (with .git) and bare cases and
just move the unpacked repo to the place of kernel source. But later
steps will fail on a bare-cloned repo because we can not checkout
directly in a bare cloned repo.

This change performs another clone to fix the issue.

Note: This change doesn't cover the case that S and WORKDIR are same
and the repo is bare cloned.

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolinux-yocto/4.1: update to v4.1.15
Bruce Ashfield [Fri, 18 Dec 2015 13:39:18 +0000 (08:39 -0500)]
linux-yocto/4.1: update to v4.1.15

Updating the 4.1 kernel repo to the latest 4.1.x stable.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolinux-yocto-dev: bump to 4.4-rcX
Bruce Ashfield [Fri, 18 Dec 2015 13:28:46 +0000 (08:28 -0500)]
linux-yocto-dev: bump to 4.4-rcX

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolttng-modules: fix build issue against kernel 4.4
Bruce Ashfield [Fri, 18 Dec 2015 05:33:19 +0000 (00:33 -0500)]
lttng-modules: fix build issue against kernel 4.4

Updating to the latest 2.7 stable commit which incorporates changes
for building against the 4.4-rc kernel series.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoyaffs2: fix checkpoint functionality
Bruce Ashfield [Fri, 11 Dec 2015 18:30:10 +0000 (13:30 -0500)]
yaffs2: fix checkpoint functionality

Updating the linux-yocto SRCREVs to pull in the following change:

  Author: He Zhe <zhe.he@windriver.com>
  Date:   Wed Dec 2 01:31:31 2015 -0500

    fs/yaffs2: fix missing checkpoint on yaffs

    For yaffs file system, the mode of reading or writing is restricted
    at four pointer where are mnt->mnt_flags,mnt->mnt_sb->s_flags,mtd->flags and
    dev->read_only,the first three is used handle file and file
    system(eg,remount) operation, and last one(dev->read_only) almost is
    used handle checkpoint of yaffs2. However, in current code, the
    dev->read_only only can be changed at first time when the yaffs2
    file system is mounted, later it can't be changed again(eg,mount -o
    remount), the result is that the checkpoint's saving operation
    always can't succeed if you set readonly mode for yaffs2 file system
    when it is mounted at the first time.

    To fix this issue, we implement yaffs_remount_fs() which allows the
    rootfs to be remounted as r/w.

Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoconf/local.conf.sample: comment out ASSUME_PROVIDED=libsdl-native
Ross Burton [Fri, 18 Dec 2015 16:56:18 +0000 (16:56 +0000)]
conf/local.conf.sample: comment out ASSUME_PROVIDED=libsdl-native

Ubuntu 15.10 and Debian testing can't build qemu-native against the host libsdl.
Now that libsdl-native is buildable, comment out the ASSUME_PROVIDED which meant
it wouldn't be used.

[ YOCTO #8553 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomobile-broadband-provider-info: update to tagged release 20151214
Alexander Kanavin [Thu, 17 Dec 2015 14:54:17 +0000 (16:54 +0200)]
mobile-broadband-provider-info: update to tagged release 20151214

After three years, there is finally a tagged release, so let's start
using those instead of updating to latest commit periodically.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
9 years agoicu: fix upstream version check
Alexander Kanavin [Thu, 17 Dec 2015 14:52:22 +0000 (16:52 +0200)]
icu: fix upstream version check

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
9 years agobtrfs-tools: update to 4.3.1
Alexander Kanavin [Thu, 17 Dec 2015 14:44:38 +0000 (16:44 +0200)]
btrfs-tools: update to 4.3.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
9 years agoiso-codes: update to 3.63
Alexander Kanavin [Thu, 17 Dec 2015 14:41:58 +0000 (16:41 +0200)]
iso-codes: update to 3.63

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
9 years agokexec-tools: update to 2.0.11
Alexander Kanavin [Thu, 17 Dec 2015 14:33:45 +0000 (16:33 +0200)]
kexec-tools: update to 2.0.11

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
9 years agolighttpd: update to 1.4.38
Alexander Kanavin [Thu, 17 Dec 2015 14:32:15 +0000 (16:32 +0200)]
lighttpd: update to 1.4.38

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
9 years agotiff: update to 4.0.6
Alexander Kanavin [Thu, 17 Dec 2015 14:29:29 +0000 (16:29 +0200)]
tiff: update to 4.0.6

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
9 years agolibassuan: update to 2.4.2
Alexander Kanavin [Thu, 17 Dec 2015 14:27:35 +0000 (16:27 +0200)]
libassuan: update to 2.4.2

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
9 years agomsmtp: update to 1.6.3
Alexander Kanavin [Thu, 17 Dec 2015 14:22:31 +0000 (16:22 +0200)]
msmtp: update to 1.6.3

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
9 years agoliburcu: update to 0.9.1
Alexander Kanavin [Thu, 17 Dec 2015 14:18:54 +0000 (16:18 +0200)]
liburcu: update to 0.9.1

Remove all patches: one of them is fixing a problem with gcc 4.8
that is no longer in use, and the other two are backports.

LICENSE checksum has changed, but visually the text has stayed the same.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
9 years agotrace-cmd: update to 2.6
Alexander Kanavin [Thu, 17 Dec 2015 14:08:37 +0000 (16:08 +0200)]
trace-cmd: update to 2.6

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
9 years agopython3-pip: update to 7.1.2
Alexander Kanavin [Wed, 16 Dec 2015 15:58:54 +0000 (17:58 +0200)]
python3-pip: update to 7.1.2

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
9 years agopytnon-pexpect: update to 4.0.1
Alexander Kanavin [Wed, 16 Dec 2015 15:51:24 +0000 (17:51 +0200)]
pytnon-pexpect: update to 4.0.1

LICENSE checksum changed to an additional copyright attribution line

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
9 years agoifupdown: update to 0.8.2
Alexander Kanavin [Wed, 16 Dec 2015 15:27:09 +0000 (17:27 +0200)]
ifupdown: update to 0.8.2

Switch upstream to git, as old versions can disappear from archive.ubuntu.com

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
9 years agogptfdisk: update to 1.0.1
Alexander Kanavin [Wed, 16 Dec 2015 15:04:02 +0000 (17:04 +0200)]
gptfdisk: update to 1.0.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
9 years agocryptodev: update to 1.8
Alexander Kanavin [Wed, 16 Dec 2015 14:02:45 +0000 (16:02 +0200)]
cryptodev: update to 1.8

Drop 0001-ioctl.c-Fix-build-on-3.19.patch and
0002-Fix-tests-Makefile-usage-of-LDLIBS-vs.-LDFLAGS.patch, the code
has been fixed upstream.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
9 years agooe-selftest: devtool: add more explicit check for ls output
Paul Eggleton [Tue, 22 Dec 2015 04:03:19 +0000 (17:03 +1300)]
oe-selftest: devtool: add more explicit check for ls output

test_devtool_deploy_target is failing on the Yocto Project autobuilder
apparently when it attempts to cut out some fields from the list. It
doesn't fail here and I can't see what the problem lines are, so add a
check for lines with too few fields so we can get a look at them next
time it fails.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-selftest: add tests for simple devtool add / recipetool create URL case
Paul Eggleton [Tue, 22 Dec 2015 04:03:18 +0000 (17:03 +1300)]
oe-selftest: add tests for simple devtool add / recipetool create URL case

Add an oe-selftest test case for the newly supported syntax with only
the remote URL specified (auto-detecting name and version).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool: create: fix error when extracting source to a specified directory
Paul Eggleton [Tue, 22 Dec 2015 04:03:17 +0000 (17:03 +1300)]
recipetool: create: fix error when extracting source to a specified directory

Having fetched the source and unpacked it to a temporary directory, we
then move part of it to the destination directory, or if the source is at
the top level we move the whole temporary directory, but in the latter
case we were later attempting to delete the temporary directory which no
longer existed. Clear out the variable so that doesn't happen.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool: create: improve autotools support
Paul Eggleton [Tue, 22 Dec 2015 04:03:16 +0000 (17:03 +1300)]
recipetool: create: improve autotools support

* tar and binutils we can assume are there
* libsocket is only relevant on BSD systems, so we can ignore it.
* Detect more things implying gettext/intltool is needed
* Detect glib-2.0 requirement.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: sync: tweak help / messages
Paul Eggleton [Tue, 22 Dec 2015 04:03:15 +0000 (17:03 +1300)]
devtool: sync: tweak help / messages

Much of this was copy/pasted from the extract subcommand code; make it
specific to sync.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: reset: print message about leaving source tree behind
Paul Eggleton [Tue, 22 Dec 2015 04:03:14 +0000 (17:03 +1300)]
devtool: reset: print message about leaving source tree behind

We deliberately leave the source tree alone when resetting in case it
contains any work in progress belonging to the user; tell them that
we're doing this so they aren't surprised about it still existing later
on.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: status: list recipe file within workspace if one exists
Paul Eggleton [Tue, 22 Dec 2015 04:03:13 +0000 (17:03 +1300)]
devtool: status: list recipe file within workspace if one exists

If a recipe in the workspace actually exists as a file within the
workspace (e.g. after doing "devtool add" or "devtool upgrade") then
show the path to the recipe file on the status line for the recipe.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: modify: default source tree path
Paul Eggleton [Tue, 22 Dec 2015 04:03:12 +0000 (17:03 +1300)]
devtool: modify: default source tree path

As per the changes to "devtool add", make the source tree path optional
and use the default path if none is specified.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: add: allow specifying URL as positional argument
Paul Eggleton [Tue, 22 Dec 2015 04:03:11 +0000 (17:03 +1300)]
devtool: add: allow specifying URL as positional argument

Having to specify -f is a little bit ugly when a URI is distinctive
enough to recognise amongst the other positional parameters, so take it
as an optional positional parameter. -f/--fetch is still supported, but
deprecated.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: add: figure out recipe name from recipetool
Paul Eggleton [Tue, 22 Dec 2015 04:03:10 +0000 (17:03 +1300)]
devtool: add: figure out recipe name from recipetool

recipetool create now has all the logic in it for auto-detecting the
name and version, and using those in the file name - so we can make the
name an optional parameter for devtool add and we pick up the file name
that recipetool has used after the fact.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: add: allow source tree to be omitted
Paul Eggleton [Tue, 22 Dec 2015 04:03:09 +0000 (17:03 +1300)]
devtool: add: allow source tree to be omitted

Assuming we're fetching source remotely (from a URI) we can default the
source tree that will be extracted from it to a "sources" directory
under the workspace in order to save the user specifying it if they
don't have a preferred location.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts/lib/argparse_oe: handle intermixing of optional positional arguments
Paul Eggleton [Tue, 22 Dec 2015 04:03:08 +0000 (17:03 +1300)]
scripts/lib/argparse_oe: handle intermixing of optional positional arguments

Python's argparse module can't handle when several optional positional
arguments (set with nargs='?') are intermixed with other options. If the
positional arguments aren't optional then this isn't an issue; thus when
changing positional arguments to optional (as we are doing with devtool)
we need this workaround.

This is a pretty horrible hack, but we don't want this flexibility of
ordering to disappear simply because we made some arguments optional.
Unfortunately the corresponding bug remains unresolved upstream even in
Python 3, and argparse is not really designed to be subclassed so it
doesn't make things like this easy.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: update-recipe: use correct method to get bbappend filename
Paul Eggleton [Tue, 22 Dec 2015 04:03:07 +0000 (17:03 +1300)]
devtool: update-recipe: use correct method to get bbappend filename

The bbappend already exists at this point, so we know what its path is -
there's no need to figure it out from scratch here.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: split out function for naming bbappend
Paul Eggleton [Tue, 22 Dec 2015 04:03:06 +0000 (17:03 +1300)]
devtool: split out function for naming bbappend

We're repeating this in a couple of places, so we might as well have a
function to do it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: add: tweak help text
Paul Eggleton [Tue, 22 Dec 2015 04:03:05 +0000 (17:03 +1300)]
devtool: add: tweak help text

Add a few clarifying words.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: edit-recipe: add new subcommand
Paul Eggleton [Tue, 22 Dec 2015 04:03:04 +0000 (17:03 +1300)]
devtool: edit-recipe: add new subcommand

Add an "edit-recipe" subcommand that runs your default editor (as
specified by the EDITOR environment variable) on the specified recipe in
the workspace. Note that by default the recipe file itself must be in
the workspace - i.e. as a result of "devtool add" or "devtool upgrade";
however there is a -a/--any-recipe option to override this.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool: create: basic extraction of name/version from filename
Paul Eggleton [Tue, 22 Dec 2015 04:03:03 +0000 (17:03 +1300)]
recipetool: create: basic extraction of name/version from filename

Often the filename (e.g. source tarball) contains the name and version
of the software it contains.

(This isn't intended to be exhaustive, just to catch the common case.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool: create: support extracting name and version from build scripts
Paul Eggleton [Tue, 22 Dec 2015 04:03:02 +0000 (17:03 +1300)]
recipetool: create: support extracting name and version from build scripts

Some build systems (notably autotools) support declaring the name and
version of the program being built; since we need those for the recipe
we can attempt to extract them. It's a little fuzzy as they are often
omitted or may not be appropriately formatted for our purposes, but it
does work on a reasonable number of software packages to be useful.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool: create: set up priority system for recipe handlers
Paul Eggleton [Tue, 22 Dec 2015 04:03:01 +0000 (17:03 +1300)]
recipetool: create: set up priority system for recipe handlers

Sometimes we want to force one handler to run before another; if the two
handlers are in different plugins that's difficult without some kind of
priority number, so add one and sort by it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool: create: detect when specified URL returns a web page
Paul Eggleton [Tue, 22 Dec 2015 04:03:00 +0000 (17:03 +1300)]
recipetool: create: detect when specified URL returns a web page

If the user specifies a URL that just returns a web page, then it's
probably incorrect (or broken); attempt to detect this and show an error
if it's the case.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool: create: prevent attempting to unpack entire DL_DIR
Paul Eggleton [Tue, 22 Dec 2015 04:02:59 +0000 (17:02 +1300)]
recipetool: create: prevent attempting to unpack entire DL_DIR

If you specify a URL ending in /, BitBake's fetcher returns a localpath
of ${DL_DIR}, and if you then try to unpack that it will attempt to copy
the entire DL_DIR contents to the destination - which at least on my
system filled my entire /tmp. Obviously we should fix the fetcher, but
at least detect and stop that from happening here for now.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool: create: minor fix for potential issue in python handling
Paul Eggleton [Tue, 22 Dec 2015 04:02:58 +0000 (17:02 +1300)]
recipetool: create: minor fix for potential issue in python handling

If SRC_URI happened not to be in the pre-generated lines then this code
would error out. This is unlikely to happen with the way the create code
is structured at the moment, but handle it just in case.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool: create: fix do_install handling for makefile-only software
Paul Eggleton [Tue, 22 Dec 2015 04:02:57 +0000 (17:02 +1300)]
recipetool: create: fix do_install handling for makefile-only software

In my testing here it appears make -qn returns an error (exit code 2)
whereas make -n doesn't; I can't immediately tell why based on the
documentation. We don't actually care for it to be quiet since we're
capturing the output, so let's just leave -q off and have this work
properly as a result.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool: create: avoid traceback on fetch error
Paul Eggleton [Tue, 22 Dec 2015 04:02:56 +0000 (17:02 +1300)]
recipetool: create: avoid traceback on fetch error

If a fetch error occurs, the fetcher already prints a reasonable error -
we don't need the traceback as well, so catch that and exit if it
occurs.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool: create: handle https://....git URLs
Paul Eggleton [Tue, 22 Dec 2015 04:02:55 +0000 (17:02 +1300)]
recipetool: create: handle https://....git URLs

When you grab a URL for a github repository you'll almost certainly find
it in https://github.com/path/to/repository.git format; but bitbake's
fetcher can't handle that because it'll see https:// at the start and
assume it should use wget to fetch it. If the URL starts with http:// or
https:// and the path part ends with .git then assume it's a git
repository and adjust it accordingly.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts: print usage in argparse-using scripts when a command-line error occurs
Paul Eggleton [Tue, 22 Dec 2015 04:02:54 +0000 (17:02 +1300)]
scripts: print usage in argparse-using scripts when a command-line error occurs

For scripts that use Python's standard argparse module to parse
command-line arguments, create a subclass which will show the usage
the usage information when a command-line parsing error occurs. The most
common case would be when the script is run with no arguments; at least
then the user immediately gets to see what arguments they might need to
pass instead of just an error message.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodirectfb.inc: enable bfd linker workaround for all arm targets
Andre McCurdy [Tue, 22 Dec 2015 01:07:02 +0000 (17:07 -0800)]
directfb.inc: enable bfd linker workaround for all arm targets

Although the gold linker problems with DirectFB have only so far been
observed with armv7a, they could potentially affect future arm targets
too. Since there's no particular downside to using the bfd linker for
DirectFB, apply the workaround to all arm targets.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: sdk-update: fix traceback without update server set
Paul Eggleton [Tue, 22 Dec 2015 03:19:18 +0000 (16:19 +1300)]
devtool: sdk-update: fix traceback without update server set

If the SDK update server hasn't been set in the config (when building
the extensible SDK this would be set via SDK_UPDATE_URL) and it wasn't
specified on the command line then we were failing with a traceback
because we didn't pass the default value properly - None is interpreted
as no default, meaning raise an exception if no such option exists.

Additionally we don't need the try...except anymore either because with
a proper default value, NoSectionError is caught as well.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/populate_sdk_ext: error out of install if buildtools install fails
Paul Eggleton [Tue, 22 Dec 2015 03:19:17 +0000 (16:19 +1300)]
classes/populate_sdk_ext: error out of install if buildtools install fails

If the installation of buildtools fails then we should fail the entire
installation instead of blindly continuing on.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/populate_sdk_ext: hide build configuration in devtool build* output
Paul Eggleton [Tue, 22 Dec 2015 03:19:16 +0000 (16:19 +1300)]
classes/populate_sdk_ext: hide build configuration in devtool build* output

The configuration of the build system within the extensible SDK is
fixed, so there's not a lot of point in showing it; plus it just gets in
the way of the output that's interesting to the user in this context. So
let's hide it within the extensible SDK.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/base: don't print header if BUILDCFG_HEADER not set
Paul Eggleton [Tue, 22 Dec 2015 03:19:15 +0000 (16:19 +1300)]
classes/base: don't print header if BUILDCFG_HEADER not set

If we don't want a header printed at the start of task execution (which
we'd prefer not to within the extensible SDK)  we can accomplish that by
clearing BUILDCFG_VARS and BUILDCFG_HEADER, but that was still printing
a load of blank lines. To keep things simple, check if BUILDCFG_HEADER
is set to something before printing a header.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/populate_sdk_ext: use uninative to set NATIVELSBSTRING
Paul Eggleton [Tue, 22 Dec 2015 03:19:14 +0000 (16:19 +1300)]
classes/populate_sdk_ext: use uninative to set NATIVELSBSTRING

We inherit uninative in the extensible SDK configuration, and uninative
sets NATIVELSBSTRING to a fixed value, so we don't need to force the
value ourselves.

Fixes [YOCTO #8662].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotoaster.bbclass: fix TypeError when parsing build stats
Elliot Smith [Tue, 22 Dec 2015 16:06:56 +0000 (16:06 +0000)]
toaster.bbclass: fix TypeError when parsing build stats

Reading IO stats fails because the IO read/write bytes are
being converted to strings, then added to a numeric running
total.

Fix this by converting IO stats to integers.

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibxcb: Add a workaround for gcc5 bug on mips
Khem Raj [Mon, 21 Dec 2015 01:42:02 +0000 (01:42 +0000)]
libxcb: Add a workaround for gcc5 bug on mips

This fixes build failure for libxcb on mips

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoflex: update to 2.6.0
Alexander Kanavin [Tue, 15 Dec 2015 11:59:34 +0000 (13:59 +0200)]
flex: update to 2.6.0

Drop backported 0001-bison-test-fixes-Do-not-use-obsolete-bison-construct.patch

Test cases have been completely rearranged upstream, so ptest support
is fully rewritten.

Merge split bb/inc as there's no other user of the .inc [RB]

As automake insists adding BUILD_SOURCES as a dependency to the "all" target,
remove tests/ from the build unless ptests are enabled.  This means native
builds don't need a bison dependency. If ptests are enabled, we build-depend on
flex-native and bison-native for the test suite, and tell it to use the
flex-native binary instead of attempting to run the cross flex it just
built. [RB]

Move in-tree files from files/ to flex/ for consistency. [RB]

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoopkg: upgrade to v0.3.1
Alejandro del Castillo [Thu, 17 Dec 2015 16:18:19 +0000 (10:18 -0600)]
opkg: upgrade to v0.3.1

* Drop merged patches
* Add patch to fix crash when using the libsolv backend
* Add patch to add pkgconfig support for libsolv
* Add libsolv support via a PACKAGECONFIG option.

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: remove merge conflicts accidently left in
Ross Burton [Thu, 17 Dec 2015 20:57:01 +0000 (20:57 +0000)]
systemd: remove merge conflicts accidently left in

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic/help.py: document that mountpoint is optional for part command
Joshua Lock [Thu, 17 Dec 2015 12:02:28 +0000 (12:02 +0000)]
wic/help.py: document that mountpoint is optional for part command

If no mountpoint is specified for a partition command the partition
will be created but not mounted — mention this in the kickstart
help text.

[YOCTO #8820]

Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopixman: check neon support via TUNE_FEATURES, not the _armv7a over-ride
Andre McCurdy [Thu, 17 Dec 2015 00:08:13 +0000 (16:08 -0800)]
pixman: check neon support via TUNE_FEATURES, not the _armv7a over-ride

Neon support is optional in armv7a so the _armv7a over-ride is not
the best way to determine whether or not the target supports neon.

Since pixman will always use neon in preference to 'simd' (ie VFPv2)
if it can, it's safe to disable the simd routines if the target is
known to support neon.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoxdg-utils: Do not build the in-script documentation
Jussi Kukkonen [Thu, 17 Dec 2015 10:07:09 +0000 (12:07 +0200)]
xdg-utils: Do not build the in-script documentation

Building the contents for "--manual" option requires a web browser
or java. That's bonkers so let's not do it.

[YOCTO #8823]

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogettext: Upgrade 0.19.4 -> 0.19.6
Fan Xin [Mon, 14 Dec 2015 12:31:24 +0000 (21:31 +0900)]
gettext: Upgrade 0.19.4 -> 0.19.6

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogcc-configure-common.inc: add gcc-runtime ABI fixes for armv7m and armv7r
Andre McCurdy [Wed, 16 Dec 2015 15:59:03 +0000 (07:59 -0800)]
gcc-configure-common.inc: add gcc-runtime ABI fixes for armv7m and armv7r

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotune-cortexr4.inc: provide an _armv7r over-ride via MACHINEOVERRIDES
Andre McCurdy [Wed, 16 Dec 2015 15:59:02 +0000 (07:59 -0800)]
tune-cortexr4.inc: provide an _armv7r over-ride via MACHINEOVERRIDES

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotune-cortexm3.inc: provide an _armv7m over-ride via MACHINEOVERRIDES
Andre McCurdy [Wed, 16 Dec 2015 15:59:01 +0000 (07:59 -0800)]
tune-cortexm3.inc: provide an _armv7m over-ride via MACHINEOVERRIDES

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agofeature-arm-thumb.inc: drop 'no-thumb-interwork' tuning feature
Andre McCurdy [Wed, 9 Dec 2015 01:09:58 +0000 (17:09 -0800)]
feature-arm-thumb.inc: drop 'no-thumb-interwork' tuning feature

Interworking is required for ARM EABI, so attempting to disable it
via a tuning feature no longer makes sense (support for ARM OABI was
deprecated in gcc 4.7). We can drop '-mthumb-interwork' from
TUNE_CCARGS for the same reason.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agofeature-arm-thumb.inc: drop legacy _thumb and _thumb-interwork over-rides
Andre McCurdy [Wed, 9 Dec 2015 01:09:57 +0000 (17:09 -0800)]
feature-arm-thumb.inc: drop legacy _thumb and _thumb-interwork over-rides

Bitbake over-rides for _thumb and _thumb-interwork are undocumented
and are not used anywhere in oe-core or meta-oe. The logic setting up
the thumb-interwork over-ride even seems to be reversed and nobody
noticed, so it seems safe to assume that these over-rides are not
used.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agofeature-arm-thumb.inc: drop ARM -vs- thumb comments
Andre McCurdy [Wed, 9 Dec 2015 01:09:56 +0000 (17:09 -0800)]
feature-arm-thumb.inc: drop ARM -vs- thumb comments

Comments are old and specific to thumb1. Since oe-core CPU tuning
files aren't really the right place to fully document ARM -vs- thumb,
drop the comments instead of trying to update them.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorpm: Fix support for db5 and db6
Yuanjie Huang [Wed, 16 Dec 2015 09:40:38 +0000 (17:40 +0800)]
rpm: Fix support for db5 and db6

The previous attempt to let rpm configuration support both db5 and db6
has a flaw that when the building host provides db6 without its header
the db_create test will false pass. This new patch addresses this issue
by test against the DB_VERSION_MAJOR macro value, which is defined in
both db5 and db6's header.

Signed-off-by: Yuanjie Huang <Yuanjie.Huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooe-buildenv-internal: fix return code
Juro Bystricky [Wed, 16 Dec 2015 21:24:07 +0000 (13:24 -0800)]
oe-buildenv-internal: fix return code

The script oe-buildenv-internal is called from oe-init-build-env.
Make sure oe-init-buildenv does not return an error if BB_ENV_EXTRAWHITE is
already set, otherwise this will cause oe-init-build-env to fail.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agostaging.bbclass: make already-stripped can be skipped
Jackie Huang [Wed, 16 Dec 2015 09:54:01 +0000 (17:54 +0800)]
staging.bbclass: make already-stripped can be skipped

Add a check like what we does in package.bbclass
so that the already-stripped QA test can be skipped.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobuildhistory-collect-srcrevs: hide empty sections
Christopher Larson [Tue, 15 Dec 2015 23:45:27 +0000 (16:45 -0700)]
buildhistory-collect-srcrevs: hide empty sections

Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoselftest/buildhistory.py: Test buildhistory does not change sigs
Daniel Istrate [Tue, 15 Dec 2015 14:32:43 +0000 (16:32 +0200)]
selftest/buildhistory.py: Test buildhistory does not change sigs

[YOCTO #5953] Add a test to ensure buildhistory does not
change signatures.

Also removed unused imports.

Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogcc5: Upgrade gcc-5.2 -> gcc-5.3
Khem Raj [Mon, 14 Dec 2015 06:23:08 +0000 (06:23 +0000)]
gcc5: Upgrade gcc-5.2 -> gcc-5.3

Minor bugfix upgrade to gcc 5.3 for detailed list of fixes in 5.3 see

https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&list_id=132738&resolution=FIXED&target_milestone=5.3

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobitbake.conf: Add filename and lineno to BB_SIGNATURE_EXCLUDE_FLAGS
Richard Purdie [Sun, 20 Dec 2015 13:20:20 +0000 (13:20 +0000)]
bitbake.conf: Add filename and lineno to BB_SIGNATURE_EXCLUDE_FLAGS

This is mainly a performance optimisation. Since we added these flags
to functions, the system spends a lot of time trying to expand these
flags. The values don't really influence checksums and don't need to
be included since if the function content changes, that is will be
detected regardless and is the key detail we care about.

Therefore exclude these from the checksums and gain a signficiant
chunk of parsing speed back.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuildstats-summary/toaster: Cope with removal of get_bn()
Richard Purdie [Fri, 18 Dec 2015 13:50:04 +0000 (13:50 +0000)]
buildstats-summary/toaster: Cope with removal of get_bn()

The buildstats changes removed the no longer needed get_bn() function,
replace this with references to BUILDNAME.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agom4: Drop unused/unreferenced patch
Richard Purdie [Tue, 15 Dec 2015 22:27:46 +0000 (22:27 +0000)]
m4: Drop unused/unreferenced patch

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotoaster: Update for buildstats changes
Richard Purdie [Thu, 17 Dec 2015 14:54:53 +0000 (14:54 +0000)]
toaster: Update for buildstats changes

This updates the toaster class to use the new data format from buildstats.
This does mean it will no longer read IO data from older builds, however
since that data is completely useless anyway, I don't consider that to be
an issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuildstats: Improve to add getrusage data and corrected IO stats
Richard Purdie [Thu, 17 Dec 2015 14:54:28 +0000 (14:54 +0000)]
buildstats: Improve to add getrusage data and corrected IO stats

Add IO stats and getrusage() data to the task statistics. We
also drop the CPU percentage calculation since its pretty arbitrary
and not very accurate/useful.

In particular we can now see the user and sys times as well as the
wall clock times.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>