]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
10 years agonss-myhostname: fix postinst/prerm scripts
Koen Kooi [Wed, 20 Aug 2014 13:28:50 +0000 (15:28 +0200)]
nss-myhostname: fix postinst/prerm scripts

${D} is expanded by bitbake which means the postinst looks like this:

sed -e '/^hosts:/s/\s*\<myhostname\>//' \
    -e 's/\(^hosts:.*\)\(\<files\>\)\(.*\)\(\<dns\>\)\(.*\)/\1\2 myhostname \3\4\5/' \
    -i /build/scratch/angstrom-v2014.12/build/tmp-angstrom_next-eglibc/work/armv5te-angstrom-linux-gnueabi/systemd/1_216+gitAUTOINC+5d0ae62c66-r0/image/etc/nsswitch.conf

Change ${D} to $D to stop it from being expanded by bitbake.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoethtool: Fix musl build failure
Paul Barker [Wed, 20 Aug 2014 12:21:12 +0000 (12:21 +0000)]
ethtool: Fix musl build failure

We just need to ensure the proper names for uint types are used.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopsmisc: Fix musl build failure
Paul Barker [Wed, 20 Aug 2014 10:59:13 +0000 (10:59 +0000)]
psmisc: Fix musl build failure

As in procps, we just need to include <limits.h> for PATH_MAX.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoprocps: Fix musl build failure
Paul Barker [Wed, 20 Aug 2014 10:14:03 +0000 (10:14 +0000)]
procps: Fix musl build failure

This is a simple fix, <limits.h> just needs to be included before PATH_MAX is
used.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: do not realign aligned partitions
Maciej Borzecki [Tue, 19 Aug 2014 13:14:18 +0000 (15:14 +0200)]
wic: do not realign aligned partitions

The change prevents additional realignment of already aligned
partition. Previously, even already aligned partitions would be pushed
forward by the amount of --align.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: do not steal sectors from the first partition
Maciej Borzecki [Tue, 19 Aug 2014 13:14:17 +0000 (15:14 +0200)]
wic: do not steal sectors from the first partition

In order to make up for space loss due to overhead located before the
first partition, same amount of bytes was extracted from the first
partition's size. This leads to unexpected change of first partition's
size, and is not matched by similar adjustment at the time the partition
image is generated. Thus it is possible that the first partition may
partially overwrite contents of the following partition, as the
partition image is larger than the allocated space.

This is also problematic on certain platforms such as OMAP, where the
first partition is required for have an even number of
sectors (typically already expressed by --size in kickstart
file). Subtracting an odd number of sectors lost for overhead, leads to
an odd number of sectors assigned for partition, preventing the board,
such as beaglebone, from booting correctly.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoe2fsprogs: Backport fixes for building with musl
Paul Barker [Tue, 19 Aug 2014 18:52:17 +0000 (18:52 +0000)]
e2fsprogs: Backport fixes for building with musl

Both of these fixes have been applied upstream and improve general code
correctness.  They are needed when building with TCLIBC=musl but shouldn't cause
any harm with other libc implementations.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/autotools: avoid error if recipe is first in task dependency tree
Paul Eggleton [Tue, 19 Aug 2014 16:37:41 +0000 (17:37 +0100)]
classes/autotools: avoid error if recipe is first in task dependency tree

If the recipe being built is listed first in BB_TASKDEPDATA (i.e. item
0) this is still valid and should not trigger an error.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosqlite3: Upgrade to 2.8.6.0
Saul Wold [Tue, 19 Aug 2014 14:49:13 +0000 (07:49 -0700)]
sqlite3: Upgrade to 2.8.6.0

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agognupg: Upgrade to 2.0.26
Saul Wold [Tue, 19 Aug 2014 14:49:12 +0000 (07:49 -0700)]
gnupg: Upgrade to 2.0.26

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibidn: Upgrade to 1.29
Saul Wold [Tue, 19 Aug 2014 14:49:11 +0000 (07:49 -0700)]
libidn: Upgrade to 1.29

The COPYING and other files updated the year to 2014 so the Checksums
needed to be updated also.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoglew: Upgrade to 1.11.0
Saul Wold [Tue, 19 Aug 2014 14:49:10 +0000 (07:49 -0700)]
glew: Upgrade to 1.11.0

Rebase patch and move patches from too generic files to glew

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoboost: Upgrade to 1.56.0
Saul Wold [Tue, 19 Aug 2014 14:49:09 +0000 (07:49 -0700)]
boost: Upgrade to 1.56.0

Rebase boostconfig to handle moved user-config file

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibbsd: Upgrade to 0.7.0
Saul Wold [Tue, 19 Aug 2014 14:49:08 +0000 (07:49 -0700)]
libbsd: Upgrade to 0.7.0

COPYING file changed in year, but no license changes

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocups: Upgrade to 1.7.5
Saul Wold [Tue, 19 Aug 2014 14:49:07 +0000 (07:49 -0700)]
cups: Upgrade to 1.7.5

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu: fix Darwin cross-compilation
Cristian Iorga [Mon, 18 Aug 2014 09:44:00 +0000 (12:44 +0300)]
qemu: fix Darwin cross-compilation

Darwin target will not be detected correctly
if qemu is cross-compiled under a Linux host.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/sstate: ensure do_package_qa_setscene doesn't pull in do_package_setscene
Paul Eggleton [Mon, 18 Aug 2014 14:21:54 +0000 (15:21 +0100)]
classes/sstate: ensure do_package_qa_setscene doesn't pull in do_package_setscene

If we have done do_package_qa_setscene we do not also need
do_package_setscene. This means we can again for example rebuild an image
without needing do_package sstate packages to be present.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuildhistory: rename build-id to build-id.txt and add more info
Martin Jansa [Fri, 25 Jul 2014 13:15:38 +0000 (15:15 +0200)]
buildhistory: rename build-id to build-id.txt and add more info

* use .txt extension like other reports (e.g. image-info.txt) it's
  also useful when looking at the file from web server which doesn't
  have text/plain as default content-type
* include whole BUILDCFG_HEADER/BUILDCFG_FUNCS instead of just layer
  info
* this makes it easier for distro to include more fields without the
  need to modify buildhistory.bbclass
* currently it adds following fields:
  Build Configuration:
  BB_VERSION        = "1.23.1"
  BUILD_SYS         = "x86_64-linux"
  NATIVELSBSTRING   = "Gentoo-2.2"
  TARGET_SYS        = "x86_64-oe-linux"
  MACHINE           = "qemux86-64"
  DISTRO            = "shr"
  DISTRO_VERSION    = "2013.07-next-20140725"
  TUNE_FEATURES     = "m64 core2"
  TARGET_FPU        = ""

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibrsvg: disable Bsymbolic if it is not supported on some hosts
Chong Lu [Mon, 18 Aug 2014 09:49:18 +0000 (17:49 +0800)]
librsvg: disable Bsymbolic if it is not supported on some hosts

When trying to build on my Centos 5.5 machine, got below error:
| checking for gdk-pixbuf-query-loaders... /home/build/clu1/build/qemux86_standard_glibc-std/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/gdk-pixbuf-query-loaders
| checking if gcc  supports "-Wl,-Bsymbolic-functions" flag...
| configure: error: -Bsymbolic requested but not supported by ld. Use --disable-Bsymbolic to disable
| Configure failed. The contents of all config.log files follows to aid debugging
| ERROR: oe_runconf failed

Set --enable-Bsymbolic=auto to disable it when it is not suppported.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosite/common-darwin: Really fix common-darwin typo
Richard Purdie [Mon, 18 Aug 2014 09:00:06 +0000 (10:00 +0100)]
site/common-darwin: Really fix common-darwin typo

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/sdk/: add sdk tests for sudoku, iptables and cvs
Corneliu Stoicescu [Sat, 9 Aug 2014 10:59:09 +0000 (13:59 +0300)]
oeqa/sdk/: add sdk tests for sudoku, iptables and cvs

Add test modules for sdk tests.

NOTE: Original patch made by: Richard Purdie <richard.purdie@linuxfoundation.org>

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/utils/targetbuild.py: add support for sdk tests
Corneliu Stoicescu [Sat, 9 Aug 2014 10:59:08 +0000 (13:59 +0300)]
oeqa/utils/targetbuild.py: add support for sdk tests

- Create new abstract class BuildProject that provides basic functionality for a project/package building class
        * contains abstract method _run() that needs to be implemented by all extending classes.
- The old TargetBuildProject class now extends the abstract BuildProjct class
- Introducing new SDKBuildProject that extends the abstract BuildProjct class

NOTE: Original patch made by: Richard Purdie <richard.purdie@linuxfoundation.org>

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/oetest.py: enable sdk testing
Corneliu Stoicescu [Sat, 9 Aug 2014 10:59:07 +0000 (13:59 +0300)]
oeqa/oetest.py: enable sdk testing

- add support for sdk tests in the loadTests and runTests methods
- add new oeSDKTest test object

NOTE: Original patch made by: Richard Purdie <richard.purdie@linuxfoundation.org>

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agometa/classes/testimage.bbclass: add testsdk task and enable functionality for it.
Corneliu Stoicescu [Sat, 9 Aug 2014 10:59:06 +0000 (13:59 +0300)]
meta/classes/testimage.bbclass: add testsdk task and enable functionality for it.

- add new testsdk task for meta-toolchain testing.
- enable the get_tests_list method to work with sdk tests.
- add default TEST_SUITES value for meta-toolchain package

NOTE: Original patch made by: Richard Purdie <richard.purdie@linuxfoundation.org>

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agochrpath: Drop warning from darwn builds
Richard Purdie [Sun, 17 Aug 2014 08:52:44 +0000 (09:52 +0100)]
chrpath: Drop warning from darwn builds

This was old debug which can safely be removed for less noisy builds.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoglib-2.0: Add missing nativesdk-gettext DEPENDS
Richard Purdie [Sun, 17 Aug 2014 08:51:58 +0000 (09:51 +0100)]
glib-2.0: Add missing nativesdk-gettext DEPENDS

This override overrides the gettext class additions so we need to
add back the dependency manually.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu.inc: Drop unneeded nativesdk-libsdl RDEPENDS
Richard Purdie [Sun, 17 Aug 2014 08:51:29 +0000 (09:51 +0100)]
qemu.inc: Drop unneeded nativesdk-libsdl RDEPENDS

Now sdl is completely handled by PACKAGECONFIG, we can drop this RDEPENDS.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu-targets.inc: Update to handle mingw/darwin
Richard Purdie [Sun, 17 Aug 2014 08:51:01 +0000 (09:51 +0100)]
qemu-targets.inc: Update to handle mingw/darwin

For non-linux targets, don't return linux-user qemu targets. This change
also improves readability of the functions through better variable names.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogst-ffmpeg: add PACKAGECONFIG for libav9 and patch from Gentoo
Martin Jansa [Fri, 8 Aug 2014 13:57:52 +0000 (15:57 +0200)]
gst-ffmpeg: add PACKAGECONFIG for libav9 and patch from Gentoo

* apply the patch only when PACKAGECONFIG is selected, because the changes
  aren't backwards compatible

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopiglit: add dependency on libxrender
Martin Jansa [Sat, 9 Aug 2014 16:08:00 +0000 (18:08 +0200)]
piglit: add dependency on libxrender

* fixes floating dependency:
  piglit/piglit/latest lost dependency on  libxrender

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolocal.conf.sample: Append sdl to qemu-native* PACKAGECONFIG
Richard Purdie [Sun, 17 Aug 2014 08:40:45 +0000 (09:40 +0100)]
local.conf.sample: Append sdl to qemu-native* PACKAGECONFIG

Now there are other PACKAGECONFIG options to qemu, we need
to append to the list.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoavahi: Since ${PN} is empty, set -dev RDEPENDS
Richard Purdie [Sat, 16 Aug 2014 09:34:55 +0000 (09:34 +0000)]
avahi: Since ${PN} is empty, set -dev RDEPENDS

Since ${PN} is empty, we need to specify the ${PN}-dev RDEPENDS.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocrosssdk: Clear MACHINEOVERRIDES
Richard Purdie [Sat, 16 Aug 2014 07:20:57 +0000 (08:20 +0100)]
crosssdk: Clear MACHINEOVERRIDES

Without this, things like arm* can make it into OVERRIDES when we're
building a compiler to build binaries for another architecture like
x86. This can can lead to build failures dependning on the
exact configuration and overrides.

For example:

MACHINE=imx53qsb bitbake gcc-crosssdk-initial-x86_64 -e | grep EXTRA_OECONF

was showing an armv7 configuration option to gcc.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssl: Repace if-else with case and add musl triplet
Khem Raj [Sat, 16 Aug 2014 01:44:16 +0000 (18:44 -0700)]
openssl: Repace if-else with case and add musl triplet

Simplifies the code and adds knowlwdge about musl targets

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosyslinux: fix race issue
Robert Yang [Sat, 16 Aug 2014 05:15:02 +0000 (22:15 -0700)]
syslinux: fix race issue

Fixed do_install failed:
cp -r syslinux-6.01/com32/libupload/*.h image/usr/share/syslinux/com32/include/
[snip]
rm -rf image/usr/share/syslinux/com32/include
[snip]
cp: cannot create regular file `image/usr/share/syslinux/com32/include/serial.h': No such file or directory

The cp is happened in the "libupload" dir, while "rm -fr" is happend in
"lib" dir, let "libupload" depend "lib" will fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoavahi-ui: drop rmdir localstatedir in bb recipe
Robert Yang [Sat, 16 Aug 2014 02:08:09 +0000 (19:08 -0700)]
avahi-ui: drop rmdir localstatedir in bb recipe

There is a "rmdir --ignore-fail-on-non-empty ${D}${localstatedir}" in
avahi.inc, so drop the one in avahi-ui_0.6.31.bb, otherwise do_install
error:
rmdir: failed to remove `/path/to/image/var': No such file or directory

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoavahi: unset FILES_avahi to avoid packaging files there
Ross Burton [Fri, 15 Aug 2014 16:55:22 +0000 (17:55 +0100)]
avahi: unset FILES_avahi to avoid packaging files there

The main avahi recipe doesn't package anything into ${PN}.  If a library is
enabled but not put into a separate package it ends up in ${PN} and all the
packages are renamed using it's soname - ie libdns-sd-daemon.

Avoid this by clearing FILES_avahi so extra files are unpackaged instead of
creating a new package.  Also actually remove /var as the comments claim so the
avahi package is truly empty.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolttng-tools: update to version 2.5.0
Ross Burton [Fri, 15 Aug 2014 12:11:47 +0000 (13:11 +0100)]
lttng-tools: update to version 2.5.0

Update to latest stable-2.5 revision.

* Drop Fix-alignment-problems-on-targets-not-supporting-una.patch, merged
  upstream.
* New build-dependency on libxml2, so inherit pkgconfig so the test works and
  delete the copy of libxml.m4 that overrides our sysroot.

Based on a patch from Yasir-Khan <yasir_khan@mentor.com>.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxml2: port AM_PATH_XML2 to use pkg-config
Ross Burton [Fri, 15 Aug 2014 12:11:46 +0000 (13:11 +0100)]
libxml2: port AM_PATH_XML2 to use pkg-config

Upstream AM_PATH_XML2 uses xml2-config which we disable, so port this macro to
use pkg-config.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocoreutils/libpam: Add BBCLASSEXTEND nativesdk
Richard Purdie [Fri, 15 Aug 2014 08:40:56 +0000 (08:40 +0000)]
coreutils/libpam: Add BBCLASSEXTEND nativesdk

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: include partition label in fs image file name
Maciej Borzecki [Mon, 21 Jul 2014 11:01:57 +0000 (13:01 +0200)]
wic: include partition label in fs image file name

Not including the label image but having multiple partitions of the same
type, the image file of one partition would overwrite the other.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc-cross-initial: Put limits.h in gccdir/include
Khem Raj [Sun, 27 Apr 2014 07:20:15 +0000 (00:20 -0700)]
gcc-cross-initial: Put limits.h in gccdir/include

musl e.g. is configured to not use fixed-include
which is an improvement btw. but libgcc-initial configure
has tests which probe for limits.h and since we put
it in include-fixed/ dir and that dir does not appear
in gcc's internal default search path the configure tests
for CPP detection fail and libgcc-initial can not be compiled.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolttng-ust/lttng-modules: Update LICENSE to reflect MIT
Richard Purdie [Thu, 14 Aug 2014 22:08:05 +0000 (23:08 +0100)]
lttng-ust/lttng-modules: Update LICENSE to reflect MIT

The code in question clearly states MIT is a third license. Update
LICENSE to reflect this (in one case, we did list BSD which is effectively
the same thing but this removes confusion).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolttng-tools/lttng-ust: Drop old 2.3.1 versions
Richard Purdie [Thu, 14 Aug 2014 22:07:40 +0000 (23:07 +0100)]
lttng-tools/lttng-ust: Drop old 2.3.1 versions

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolttng-ust: update to version 2.5.0
Yasir-Khan [Mon, 11 Aug 2014 14:09:30 +0000 (19:09 +0500)]
lttng-ust: update to version 2.5.0

update to latest stable-2.5 revision

Signed-off-by: Yasir-Khan <yasir_khan@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoolchain-shar-template.sh: Limit xargs command line
Gary Thomas [Mon, 11 Aug 2014 20:50:35 +0000 (14:50 -0600)]
toolchain-shar-template.sh: Limit xargs command line

It's possible to generate a command line in the relocate_sdk.sh script
which is too long (long paths, many files).  This change limits the
xargs command line by breaking it up into smaller pieces.

One necessary side effect is that the -0 option is no longer used as it
doesn't seem to work properly with -n, so the file name arguments are
now quoted explicitly rather than \0 terminated.

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobootchart2: fix installed-vs-shipped
Robert Yang [Tue, 12 Aug 2014 02:35:09 +0000 (19:35 -0700)]
bootchart2: fix installed-vs-shipped

Fixed:
ERROR: QA Issue: bootchart2: Files/directories were installed but not shipped
  /lib
  /lib/bootchart
  /lib/bootchart/bootchart-collector
  /lib/bootchart/tmpfs
  /lib/bootchart/.debug
  /lib/bootchart/.debug/bootchart-collector [installed-vs-shipped]

local.conf:
MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibpam: Allow use during build and in SDK
Otavio Salvador [Mon, 11 Aug 2014 20:21:44 +0000 (17:21 -0300)]
libpam: Allow use during build and in SDK

The recipe had libpam hardcoded in some places which were causing
failures as the metadata renaming hooks does not change those,
generating a broken dependencies list.

This patch fixes those and add the native and nativesdk support.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoattr: Allow use during build and SDK
Otavio Salvador [Mon, 11 Aug 2014 20:21:43 +0000 (17:21 -0300)]
attr: Allow use during build and SDK

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocracklib: Allow use in SDK
Otavio Salvador [Mon, 11 Aug 2014 20:21:42 +0000 (17:21 -0300)]
cracklib: Allow use in SDK

This adds 'nativesdk' in the BBCLASSEXTEND.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Add mkgummidisk kickstart file
Tom Zanussi [Tue, 12 Aug 2014 01:35:41 +0000 (20:35 -0500)]
wic: Add mkgummidisk kickstart file

This is the same as mkefidisk but uses gummiboot instead of grub-efi.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Add sourceparams to mkefidisk.wks
Tom Zanussi [Tue, 12 Aug 2014 01:35:40 +0000 (20:35 -0500)]
wic: Add sourceparams to mkefidisk.wks

The bootimg-efi plugin now requires a loader param, so supply it to
retain existing behavior.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Add gummiboot support to bootimg-efi
Tom Zanussi [Tue, 12 Aug 2014 01:35:39 +0000 (20:35 -0500)]
wic: Add gummiboot support to bootimg-efi

Add gummiboot support to bootimg-efi, which retains the existing
grub-efi support (though requires an update to the .wks file).

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Parse and pass sourceparams to partition plugin methods
Tom Zanussi [Tue, 12 Aug 2014 01:35:38 +0000 (20:35 -0500)]
wic: Parse and pass sourceparams to partition plugin methods

Add code to parse the sourceparams and pass them to the partition
plugin methods.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Add sourceparam param to partition plugin methods
Tom Zanussi [Tue, 12 Aug 2014 01:35:37 +0000 (20:35 -0500)]
wic: Add sourceparam param to partition plugin methods

The sourceparam param allows source plugins to be parameterized
generically (via --sourceparams="key=val[,key=val], implemented
previously).

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Add utility function for parsing sourceparams
Tom Zanussi [Tue, 12 Aug 2014 01:35:36 +0000 (20:35 -0500)]
wic: Add utility function for parsing sourceparams

Parses strings of the form key1=val1[,key2=val2,...] and returns a
dict.  Also accepts valueless keys i.e. without =.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: Add '--sourceparams' partition option
Tom Zanussi [Tue, 12 Aug 2014 01:35:35 +0000 (20:35 -0500)]
wic: Add '--sourceparams' partition option

To go along with '--source' as a way to parameterize source plugins.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoimage.bbclass: image_types.bbclass is a must
Robert Yang [Tue, 12 Aug 2014 06:08:11 +0000 (23:08 -0700)]
image.bbclass: image_types.bbclass is a must

The image_types.bbclass is a must since we use this in image.bbclass:

[snip]
python () {
    deps = " " + imagetypes_getdepends(d)
    d.appendVarFlag('do_rootfs', 'depends', deps)
[snip]

The imagetypes_getdepends() is defined in image_types.bbclass. Use "+="
to replace "?=" since it is a must, so that the user can use
"IMAGE_CLASSES = foo.bbclass" in local.conf to add their own image
class.

NOTE: the IMAGE_CLASSES_append = " foo" doesn't work since we use this
in image.bbclass:
 IMAGE_CLASSES += "image_types"
 inherit ${IMAGE_CLASSES}

I think that it is because inherit takes effect before append?

Another way to fix the problem is:
IMAGE_CLASSES ?= ""
inherit image_types ${IMAGE_CLASSES}

But it seems that we need another name for IMAGE_CLASSES, for example
IMAGE_CLASSES_EXTRA, and also need update the doc, which would make it
complicated.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogmp: uprev it to 6.0.0
Roy Li [Tue, 12 Aug 2014 06:33:37 +0000 (14:33 +0800)]
gmp: uprev it to 6.0.0

Uprev gmp from 5.1.1 to 6.0.0, and remove the 4.2.1 version which is GPLv2,
since gmp-6.0.0 is dual-licensing, LGPLv3 or GPLv2;

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoSupport image type "squashfs-lzo"
Mike Looijmans [Tue, 12 Aug 2014 07:54:59 +0000 (09:54 +0200)]
Support image type "squashfs-lzo"

Add "squashfs-lzo" to the image types. LZO compression support has been
in both kernel and squashfs tools for many years, but OE never enabled
it.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosquashfs-tools: Add support for LZO and LZ4 compression
Mike Looijmans [Tue, 12 Aug 2014 07:54:58 +0000 (09:54 +0200)]
squashfs-tools: Add support for LZO and LZ4 compression

For systems that want to optimize for speed rather than size, LZO is
usually a better choice than gzip or XZ. Kernel support for LZO has
been available since 2.6.29.

LZ4 support isn't in the mainline kernel yet, but we might as well add
it now for those who want to experiment with it.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agostrace: apply ptrace.h conflict workaround
Yasir-Khan [Tue, 12 Aug 2014 12:40:58 +0000 (17:40 +0500)]
strace: apply ptrace.h conflict workaround

Apply patch from strace upstream to workaround ptrace.h
header file conflict. This patch is not available in
strace-4.8 tarball pulled in by recipe.

* patch from strace upstream
 - Work around conflict between <sys/ptrace.h> and
   <linux/ptrace.h>

Signed-off-by: Yasir-Khan <yasir_khan@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocurl: --with-random is only applicable with openssl
Andre McCurdy [Wed, 13 Aug 2014 07:36:55 +0000 (00:36 -0700)]
curl: --with-random is only applicable with openssl

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocurl: let configure find gnutls via pkg-config
Andre McCurdy [Wed, 13 Aug 2014 07:36:54 +0000 (00:36 -0700)]
curl: let configure find gnutls via pkg-config

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocurl: add zlib PACKAGECONFIG and remove hardcoded DEPENDS
Andre McCurdy [Wed, 13 Aug 2014 07:36:53 +0000 (00:36 -0700)]
curl: add zlib PACKAGECONFIG and remove hardcoded DEPENDS

Add a zlib PACKAGECONFIG control and update PACKAGECONFIG[ssl] to
include the openssl dependency. Older hardcoded DEPENDS can then
be removed.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-pygtk: fix native python path
Robert Yang [Wed, 13 Aug 2014 08:23:13 +0000 (01:23 -0700)]
python-pygtk: fix native python path

Fixed:
1) Set IMAGE_INSTALL_append = " python-pygtk-demo" in local.conf
2) $ bitbake core-image-minimal
[snip]
Computing transaction...error: Can't install python-pygtk-demo-2.24.0-r1@core2_64: no package provides /usr/bin/python-native/python
[snip]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoconsolekit: depend on glib-2.0-native
Yasir-Khan [Wed, 13 Aug 2014 13:48:32 +0000 (18:48 +0500)]
consolekit: depend on glib-2.0-native

This is required for glib-gettextize.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Yasir-Khan <yasir_khan@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoconsolekit: allow explicit enable/disable of polkit
Yasir-Khan [Wed, 13 Aug 2014 13:48:13 +0000 (18:48 +0500)]
consolekit: allow explicit enable/disable of polkit

Adds the configure option to enable/disable policykit.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Yasir-Khan <yasir_khan@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoudev-extraconf: Unmount SD card after ejection
Yasir-Khan [Thu, 14 Aug 2014 14:56:37 +0000 (19:56 +0500)]
udev-extraconf: Unmount SD card after ejection

Adds udev rule to unmount SD card partitions in case of improper
ejection from card reader.

When SD card is ejected from card reader without being unmounted
first, kernel does not generate a REMOVE event, instead it
generates a CHANGE event(only if polling is enabled
/sys/module/block/parameters/events_dfl_poll_msecs) and we don't
have any udev rule in automount.rules to handle this event,so
partitions never get unmounted. Unmounting of partitions can be
done if udev rules handle this CHANGE event.

Signed-off-by: Abbas Raza <Abbas_Raza@mentor.com>
Signed-off-by: Yasir-Khan <yasir_khan@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopkg: Protect add-exclude.patch from malloc failure
Paul Barker [Thu, 14 Aug 2014 16:46:51 +0000 (16:46 +0000)]
opkg: Protect add-exclude.patch from malloc failure

In the code added by add-exclude.patch, the return values of malloc and realloc
were not checked before being dereferenced.

In opkg we can use xmalloc and xrealloc instead of malloc and realloc. These
functions terminate the program instead of returning NULL if memory allocation
fails.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomultilib_global.bbclass: PREFERRED_PROVIDERS for multilibs
Peter Seebach [Thu, 14 Aug 2014 18:03:36 +0000 (13:03 -0500)]
multilib_global.bbclass: PREFERRED_PROVIDERS for multilibs

The code in base.bbclass to spread PREFERRED_PROVIDERS values
to multilibs doesn't work for things which rely on TARGET_PREFIX,
such as virtual/${TARGET_PREFIX}gcc. This is because the expansion
of TARGET_PREFIX produces the wrong value if executed prior to
the assignment of TARGET_VENDOR_virtclass-multilib-libxx, which
will always happen since that assignment doesn't happen until recipe
parsing, but the PREFERRED_PROVIDERS expansion is happening
around ConfigParsed.

To solve this, we make a couple of changes. First, the creation
of the TARGET_VENDOR override values is moved into a new ConfigParsed
event handler in multilib_global. Second, the preferred_ml_updates()
function's code is moved into that function too. It seems safe to
assume that PREFERRED_PROVIDER values only need to be spread to
other multilibs when multilibs are in use.

I don't think this directly affects any use cases that don't involve
third-party or alternative toolchains.

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc: update compiler architecture to match gcc-runtime (armv6, armv7a)
Peter A. Bigot [Thu, 14 Aug 2014 19:05:59 +0000 (14:05 -0500)]
gcc: update compiler architecture to match gcc-runtime (armv6, armv7a)

The gcc-runtime recipe builds the gcc libraries including libstdc++ with
$TARGET_CC_ARCH flags, which include -march=FOO flags that affect
whether atomic instructions are available.  This causes an ABI
incompatibility when the compiler by default generates code for less
capable architectures.  For example, gcc-runtime libraries on a
Cortex-A8 are built with a different C++11/C++14 mutex implementation
than is used code compiled outside OE and without architecture-specific
flags.

This commit fixes the problem specifically for ABI issues related to
atomic instructions available in ARMV6 and subsequent architectures.
Other ABI incompatibilities may remain in other architectures.

See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62100

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc: backport patch affecting Linux kernel builds
Peter A. Bigot [Thu, 14 Aug 2014 19:05:58 +0000 (14:05 -0500)]
gcc: backport patch affecting Linux kernel builds

A long-standing bug in gcc turns out to cause problems with unpatched
Linux versions due to improved optimization enabled by gcc 4.9.  The
upstream fix missed the gcc-4.9.1 cut-off.  It's also been applied
upstream to the 4.8 branch so is being added for OE's 4.8 as well.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc: Abstract long double configuration into python function
Khem Raj [Thu, 14 Aug 2014 19:05:57 +0000 (14:05 -0500)]
gcc: Abstract long double configuration into python function

musl does not support IBM 128 long double for ppc, instead of
doing complex overrides move it into a pythong snippet which
is easier to read and more compact.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosdk: change EXTRA_OECONF_FPU to EXTRA_OECONF_GCC_FLOAT
Peter A. Bigot [Thu, 14 Aug 2014 19:05:56 +0000 (14:05 -0500)]
sdk: change EXTRA_OECONF_FPU to EXTRA_OECONF_GCC_FLOAT

This variable is used to ensure the proper version of --with-float=FOO
is passed to gcc's configure script.  gcc also has a --with-fpu=FOO
option that means something different.  To avoid confusion, change the
names to be consistent.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc-target: make --enable-clocale consistent with gcc-runtime
Peter A. Bigot [Thu, 14 Aug 2014 19:05:55 +0000 (14:05 -0500)]
gcc-target: make --enable-clocale consistent with gcc-runtime

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc: remove outdated configuration option
Peter A. Bigot [Thu, 14 Aug 2014 19:05:54 +0000 (14:05 -0500)]
gcc: remove outdated configuration option

--enable-libunwind-exceptions was removed from gcc at release 3.4.3
about ten years ago.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc-4.9: Ensure c++ includes are in /usr/include/c++/${BINV}
Peter A. Bigot [Thu, 14 Aug 2014 19:05:53 +0000 (14:05 -0500)]
gcc-4.9: Ensure c++ includes are in /usr/include/c++/${BINV}

Apply to gcc 4.9 the recent fix to the --with-gxx-include-dir override.

Original OE-Core rev: 5a2ff3e8f7cd7a47a5ab4e581847ecc4df87fca

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc: remove inappropriate patch
Peter A. Bigot [Thu, 14 Aug 2014 19:05:52 +0000 (14:05 -0500)]
gcc: remove inappropriate patch

0037-gcc-4.8-PR56797.patch was originally added as an OE backport during
4.8.0.  Upstream merged it in 4.8.1, and it was present in 4.9.0.

The original patch still applies to 4.9.1 (and presumably 4.8.2), but
now is modifying store_multiple_sequence instead of
load_multiple_sequence (the two functions are nearly identical).  It may
or may not be necessary in store_multiple_sequence, but absent a bug
report upstream supporting its application in this case, or a least an
updated comment and upstream status in the patch, I think this patch
should be dropped.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc: recipe whitespace changes
Peter A. Bigot [Thu, 14 Aug 2014 19:05:51 +0000 (14:05 -0500)]
gcc: recipe whitespace changes

Consistent use of whitespace in multi-line assignment, with special
focus on OECONF modifications.  Quotes on separate lines, four-space
indentation, one value per line.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotcmode-default.inc: Add eglibc-scripts and eglibc-mtrace
Mark Hatle [Wed, 13 Aug 2014 15:07:34 +0000 (10:07 -0500)]
tcmode-default.inc: Add eglibc-scripts and eglibc-mtrace

Add the specific scripts and mtrace versions to the preferred version list.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoprelink_git: Update to current head of cross-prelink development
Mark Hatle [Wed, 13 Aug 2014 15:04:06 +0000 (10:04 -0500)]
prelink_git: Update to current head of cross-prelink development

Update to the current version of cross-prelink development:

faa069deec99bf61418d0bab831c83d7c1b797ca

This adds a number of minor features, such as S390 support (irrelevant)
to ARM TLS DESC relocations.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoautoconf: add rdep on perl-module-data-dumper
Shrikant Bobade [Wed, 13 Aug 2014 08:56:25 +0000 (14:26 +0530)]
autoconf: add rdep on perl-module-data-dumper

This patch adds rdepends on perl-module-data-dumper
for autoconf.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Shrikant Bobade <Shrikant_Bobade@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc-cross-initial: Use good old bfd linker by default
Khem Raj [Thu, 14 Aug 2014 05:05:15 +0000 (22:05 -0700)]
gcc-cross-initial: Use good old bfd linker by default

We already indicate our intentions to use ld.bfd by
specifying it in configure using --with-ld which works
ok unless here where we manually create symlinks to
binutils-cross components, when we use ld-is-gold feature
default ld points to gold and this symlinking has to be
aware of the fact that we configured binutils and gcc-cross to use
gold as default ld but gcc-cross-initial uses BFD ld

This would be visible when using gold and rebuilding
eglibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocmake: drop -fpermissive
Martin Jansa [Wed, 13 Aug 2014 22:36:42 +0000 (00:36 +0200)]
cmake: drop -fpermissive

* it was dropped from default CXXFLAGS in:
  commit 24dd8e129447013ee98609f3892ec414b1b21340
  Author: Richard Purdie <richard.purdie@linuxfoundation.org>
  Date:   Sun Mar 2 17:38:33 2014 +0000

    bitbake.conf: Drop -fpermissive

    Drop the -fpermissive C++ compiler flag. We've had this around for years, most
    code should have been fixed long ago. Its possible some recipes may fail
    however we can (and should) just use the flag where needed.

* I haven't build world with this yet, but maybe it's time to
  drop it here as well at least for consistency

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-rtsp-server: Upgrade to 1.4.0
Peter Kjellerstedt [Wed, 13 Aug 2014 17:47:52 +0000 (19:47 +0200)]
gstreamer1.0-rtsp-server: Upgrade to 1.4.0

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibgcrypt: Do not remove m4 files so aggressively
Peter Kjellerstedt [Wed, 13 Aug 2014 17:46:22 +0000 (19:46 +0200)]
libgcrypt: Do not remove m4 files so aggressively

Removing all m4 files in the m4 directory led to a number of non-fatal
errors while running configure when the expected m4 macros could not
be found.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-scons-native: Make it useable if old host install exists
Peter Kjellerstedt [Wed, 13 Aug 2014 17:41:04 +0000 (19:41 +0200)]
python-scons-native: Make it useable if old host install exists

This was recently fixed to work on Fedora 17 if no scons is installed
on the host by setting the PYTHONPATH to where BitBake has installed
scons. However, if an older version of scons than 2.3.0 is installed,
then it still breaks. This is due to how scons tries to determine its
installation by searching through standard paths. If it finds an old
installation it prepends that path to sys.path thereby causing it to
ignore the PYTHONPATH. The solution is to instead set SCONS_LIB_PATH
which works both if scons is not installed and if an older version is
installed.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoglib-networking: Inherit gettext
Peter Kjellerstedt [Wed, 13 Aug 2014 17:39:04 +0000 (19:39 +0200)]
glib-networking: Inherit gettext

Build fails otherwise if USE_NLS is set to "no".

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibsoup-2.4: Inherit gettext
Peter Kjellerstedt [Wed, 13 Aug 2014 17:39:03 +0000 (19:39 +0200)]
libsoup-2.4: Inherit gettext

Build fails otherwise if USE_NLS is set to "no".

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: Inherit gettext
Peter Kjellerstedt [Wed, 13 Aug 2014 17:39:02 +0000 (19:39 +0200)]
systemd: Inherit gettext

Build fails otherwise if USE_NLS is set to "no".

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu: add PACKAGECONF lzo
Kai Kang [Thu, 14 Aug 2014 09:55:48 +0000 (17:55 +0800)]
qemu: add PACKAGECONF lzo

Add PACKAGECONF 'lzo' for qemu to fix QA warning:

WARNING: QA Issue: qemu rdepends on lzo, but it isn't a build dependency? [build-deps]

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu: enable aarch64 support
Kai Kang [Thu, 14 Aug 2014 09:55:49 +0000 (17:55 +0800)]
qemu: enable aarch64 support

qemu 2.1.0 support aarch64 targets, so add aarch64 to QEMU_TARGETS to
enable qemu aarch64 support.

[YOCTO #6487]

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython: Fix build on musl
Khem Raj [Thu, 14 Aug 2014 09:27:50 +0000 (02:27 -0700)]
python: Fix build on musl

musl has posix_close which conflicts in python
so lets rename it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-plugins-good: Add a PACKAGECONFIG for udev
Peter Kjellerstedt [Wed, 13 Aug 2014 17:46:36 +0000 (19:46 +0200)]
gstreamer1.0-plugins-good: Add a PACKAGECONFIG for udev

This solves these floating dependencies:

WARNING: QA Issue: gstreamer1.0-plugins-good-video4linux2 rdepends on
libudev, but it isn't a build dependency? [build-deps]
WARNING: QA Issue: gstreamer1.0-plugins-good-video4linux2 rdepends on
libgudev-1.0, but it isn't a build dependency? [build-deps]

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogdb: Add a dependency on zlib
Peter Kjellerstedt [Wed, 13 Aug 2014 17:46:35 +0000 (19:46 +0200)]
gdb: Add a dependency on zlib

This solves the following warning:

WARNING: QA Issue: gdb rdepends on zlib, but it isn't a build
dependency? [build-deps]

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocml1.bbclass: fix diffconfig diff command
Maciej Borzecki [Thu, 14 Aug 2014 11:34:24 +0000 (13:34 +0200)]
cml1.bbclass: fix diffconfig diff command

Commit 6a7b98993350d0d24eae0058ae26ae19cfdf7c4c introduced a typo in
command, a whitespace was missing between --new-line-format and path to
original file. As a result, diffconfig task did not work, diff failed
with exit status 2, resulting in empty fragment.cfg.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibav: update 9.x version to 9.16
Paul Eggleton [Thu, 14 Aug 2014 13:15:42 +0000 (14:15 +0100)]
libav: update 9.x version to 9.16

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibav: update 0.8 version to 0.8.15
Paul Eggleton [Thu, 14 Aug 2014 13:15:41 +0000 (14:15 +0100)]
libav: update 0.8 version to 0.8.15

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu: Overwrite KVM explicitly for darwin/mingw
Richard Purdie [Thu, 14 Aug 2014 15:56:29 +0000 (16:56 +0100)]
qemu: Overwrite KVM explicitly for darwin/mingw

Force KVM to disabled on mingw/darwin systems since this makes no
sense there.

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