]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
8 years agobase-files: Use SYSROOT_DIRS to add dirs to stage in sysroot
Peter Kjellerstedt [Thu, 12 May 2016 08:37:55 +0000 (10:37 +0200)]
base-files: Use SYSROOT_DIRS to add dirs to stage in sysroot

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodepmodwrapper-cross: Use SYSROOT_DIRS to add dirs to stage in sysroot
Peter Kjellerstedt [Thu, 12 May 2016 08:37:54 +0000 (10:37 +0200)]
depmodwrapper-cross: Use SYSROOT_DIRS to add dirs to stage in sysroot

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoshadow-sysroot: Use SYSROOT_DIRS to add dirs to stage in sysroot
Peter Kjellerstedt [Thu, 12 May 2016 08:37:53 +0000 (10:37 +0200)]
shadow-sysroot: Use SYSROOT_DIRS to add dirs to stage in sysroot

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agotcl: Use SYSROOT_DIRS to add dirs to stage in sysroot
Peter Kjellerstedt [Thu, 12 May 2016 08:37:52 +0000 (10:37 +0200)]
tcl: Use SYSROOT_DIRS to add dirs to stage in sysroot

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoqemuwrapper-cross: Use SYSROOT_DIRS to add dirs to stage in sysroot
Peter Kjellerstedt [Thu, 12 May 2016 08:37:51 +0000 (10:37 +0200)]
qemuwrapper-cross: Use SYSROOT_DIRS to add dirs to stage in sysroot

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibtool-cross: Use SYSROOT_DIRS to add dirs to stage in sysroot
Peter Kjellerstedt [Thu, 12 May 2016 08:37:50 +0000 (10:37 +0200)]
libtool-cross: Use SYSROOT_DIRS to add dirs to stage in sysroot

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agou-boot-fw-utils: Use SYSROOT_DIRS to add dirs to stage in sysroot
Peter Kjellerstedt [Thu, 12 May 2016 08:37:49 +0000 (10:37 +0200)]
u-boot-fw-utils: Use SYSROOT_DIRS to add dirs to stage in sysroot

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agostaging.bbclass: Make it easier to define which dirs to stage
Peter Kjellerstedt [Thu, 12 May 2016 08:37:48 +0000 (10:37 +0200)]
staging.bbclass: Make it easier to define which dirs to stage

The directories that should be staged in the sysroot are now specified
in the SYSROOT_DIRS variable. Extra directories that should be staged
for native are specified in SYSROOT_DIRS_NATIVE. Finally, directories
that should not be staged are specified in SYSROOT_DIRS_BLACKLIST.

This also removes the sysroot_stage_libdir() function as it is no
longer used (it was just a wrapper for sysroot_stage_dir()).

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopixman: Upgrade 0.32.8 -> 0.34.0
Jussi Kukkonen [Thu, 12 May 2016 07:20:33 +0000 (10:20 +0300)]
pixman: Upgrade 0.32.8 -> 0.34.0

Remove two patches that are no longer needed.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agomesa: Upgrade 11.1.1 -> 11.2.2
Jussi Kukkonen [Thu, 12 May 2016 07:20:32 +0000 (10:20 +0300)]
mesa: Upgrade 11.1.1 -> 11.2.2

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibdrm: Upgrade 2.4.67 -> 2.4.68
Jussi Kukkonen [Thu, 12 May 2016 07:20:31 +0000 (10:20 +0300)]
libdrm: Upgrade 2.4.67 -> 2.4.68

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibxkbcommon: Upgrade 0.5.0 -> 0.6.1
Jussi Kukkonen [Thu, 12 May 2016 07:20:30 +0000 (10:20 +0300)]
libxkbcommon: Upgrade 0.5.0 -> 0.6.1

License file was renamed, content is the same.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agovideoproto: Upgrade 2.3.2 -> 2.3.3
Jussi Kukkonen [Thu, 12 May 2016 07:20:29 +0000 (10:20 +0300)]
videoproto: Upgrade 2.3.2 -> 2.3.3

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoxf86-input-evdev: Upgrade 2.10.1 -> 2.10.2
Jussi Kukkonen [Thu, 12 May 2016 07:20:28 +0000 (10:20 +0300)]
xf86-input-evdev: Upgrade 2.10.1 -> 2.10.2

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibinput: Upgrade 1.1.4 -> 1.3.0
Jussi Kukkonen [Thu, 12 May 2016 07:20:27 +0000 (10:20 +0300)]
libinput: Upgrade 1.1.4 -> 1.3.0

Add PACKAGECONFIG for libwacom (which we currently do not
have in oe-core) as the default is --enable-libwacom.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoxkeyboard-config: Upgrade to 2.17
Jussi Kukkonen [Thu, 12 May 2016 07:20:26 +0000 (10:20 +0300)]
xkeyboard-config: Upgrade to 2.17

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoxrandr: Upgrade to 1.5.0
Jussi Kukkonen [Thu, 12 May 2016 07:20:25 +0000 (10:20 +0300)]
xrandr: Upgrade to 1.5.0

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa/lic-checksum: Update after recent LIC_FILES_CHKSUM changes
Richard Purdie [Wed, 11 May 2016 09:27:07 +0000 (10:27 +0100)]
oeqa/lic-checksum: Update after recent LIC_FILES_CHKSUM changes

The check now runs at populate_lic time so change this from configure. We
also need to set a SRC_URI so that the check triggers.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodevtool: Fix build-sdk when pn doesn't match filename
Randy Witt [Mon, 9 May 2016 22:46:27 +0000 (10:46 +1200)]
devtool: Fix build-sdk when pn doesn't match filename

If an image with the filename foo.bb could be built using the name "bar"
instead, then build-sdk would fail to create the derivative sdk.

This was because the code assumed that the file name matched the target,
which is not necessarily the case.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoDrop unneeded LIC_FILES_CHKSUM values
Paul Eggleton [Mon, 9 May 2016 22:25:06 +0000 (10:25 +1200)]
Drop unneeded LIC_FILES_CHKSUM values

With the changes to insane.bbclass we don't need LIC_FILES_CHKSUM to be
set for recipes that don't actually pull in any source.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoclasses/insane: do not force LIC_FILES_CHKSUM unless SRC_URI is set
Paul Eggleton [Mon, 9 May 2016 22:25:05 +0000 (10:25 +1200)]
classes/insane: do not force LIC_FILES_CHKSUM unless SRC_URI is set

Recipes such as images and packagegroups don't actually fetch or build
any source, so there's really no point having LIC_FILES_CHKSUM set.
Forcing users to set it (as we have done for images inheriting
image.bbclass) just makes things more difficult for the user for no
discernable benefit. The easiest way to adjust this check is simply to
skip it if SRC_URI is not set since this is a pretty good indicator that
no source is being pulled in.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolib/classextend: Fix determinism issue
Richard Purdie [Mon, 9 May 2016 13:13:44 +0000 (14:13 +0100)]
lib/classextend: Fix determinism issue

The ordering of dependency variables needs to be deterministic to avoid task checksums
changing. Use an OrderedDict to achieve this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoupdate-alternatives: Fix determinism issue
Richard Purdie [Mon, 9 May 2016 13:12:16 +0000 (14:12 +0100)]
update-alternatives: Fix determinism issue

getVarFlags returns a dict and there is therefore no sort order. This
means the order of the X_VARDEPS_X variables can change and hence the
task checksums can change. This can lead to rebuilds of any parts of
the system using update-alternatives and their dependees. This is a
particular issue under python v3.

Add in a sort to make the order of the variables deterministic.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoimage: Fix IMAGE_FEATURES determinism issue
Richard Purdie [Mon, 9 May 2016 13:09:37 +0000 (14:09 +0100)]
image: Fix IMAGE_FEATURES determinism issue

remain_features uses a dict which means the order is not deterministic. This
can lead to the task hash changing depending on the state of the memory at
parse time. This is particularly noticeable under python v3.

Since the dict is helpful in constructing the data, pass the data through
sort() so the order is always deterministic.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake.conf: add default for IMAGE_FSTYPES_DEBUGFS
Ross Burton [Fri, 6 May 2016 11:26:05 +0000 (12:26 +0100)]
bitbake.conf: add default for IMAGE_FSTYPES_DEBUGFS

If debug filesystem generation is enabled but this isn't assigned then the
generation code throws exceptions.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agometadata_scm.bbclass: Do not assume ${COREBASE} is a Git repo
Peter Kjellerstedt [Fri, 29 Apr 2016 17:03:45 +0000 (19:03 +0200)]
metadata_scm.bbclass: Do not assume ${COREBASE} is a Git repo

The functions base_detect_revision() and base_detect_branch() try to
extract SCM meta information from the path returned by
base_get_scmbasepath(), which currently returns ${COREBASE}. However,
making the assumption that ${COREBASE} contains SCM meta information
can be false. It is true for Poky, but not necessarily other
environments. A better option is to look for the SCM meta information
based on the meta layer.

Since this works as expected for Git but not SVN, the call to
base_get_metadata_svn_revision() from base_detect_revision() was also
removed. This is not expected to affect anyone (partly based on the
comment in base_get_metadata_svn_revision()).

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolttng-tools: filter random filename of ptest output
Dengke Du [Fri, 29 Apr 2016 08:36:45 +0000 (04:36 -0400)]
lttng-tools: filter random filename of ptest output

When run the ptest of lttng-tools, it produced many random filename
when the tests passed, the output confused QA analysis, so we need
to filter the ptest output if tests passed and add up the passed and
failed tests.

NOTE:The tests invoked the run.sh twice, so it output like this:
...
FAIL:...
unit_tests statistics
total pass: 133 tests passed!
total fail: 5 tests failed!
...
FAIL:...
fast_regression statistics
total pass: 1904 tests passed!
total fail: 202 tests failed!

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agofeature-arm-neon.inc: restore vfpv3-d16 support
André Draszik [Tue, 26 Apr 2016 09:27:59 +0000 (10:27 +0100)]
feature-arm-neon.inc: restore vfpv3-d16 support

Commit 6661718 (feature-arm-{neon,vfp}.inc: refactor and fix issues)
effectively changed the gcc -mfpu= option from -mfpu=vfpv3-d16 to
-mfpu=vfpv3d16, which gcc doesn't understand.

Restore the original value.

After doing that, we also need to adjust ARMPKGSFX_FPU which should
contain the same value without dash '-' as it is used that way
throughout.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogcc: obey ldflags in the link of libgcc
Christopher Larson [Wed, 4 May 2016 21:52:49 +0000 (14:52 -0700)]
gcc: obey ldflags in the link of libgcc

Explicitly obey it, the way it should, rather than only relying on
--with-linker-hash-style.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopopulate_sdk_ext: Change lockedsigs task mismatch to a warning
Randy Witt [Mon, 2 May 2016 00:13:02 +0000 (17:13 -0700)]
populate_sdk_ext: Change lockedsigs task mismatch to a warning

It has been determined that it is highly likely that users might get
signatures that don't match in an extensible sdk. This doesn't
necessarily happen with oe-core, so we can set the mismatch to an error
during testing if we like.

However, for the case where users are creating their own sdks, we don't
need an error halting their progress. locked-sigs will still function as
it should.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoxserver-xorg: update 1.18.3 and add PACKAGECONFIG for glamor
Andreas Müller [Fri, 29 Apr 2016 20:59:46 +0000 (22:59 +0200)]
xserver-xorg: update 1.18.3 and add PACKAGECONFIG for glamor

* drm-version patch was applied mainline
* libsystemd was solved similar to patch upstream
* glamor was enhanced twice by Eric Anholt and makes vc4 work on Raspberry Pi
* glamor does not link against libegl but won't work without libegl

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopopulate_sdk_ext.bbclass : Show logfile in case the SDK EXT installation failed
Leonardo Sandoval [Wed, 4 May 2016 14:50:01 +0000 (09:50 -0500)]
populate_sdk_ext.bbclass : Show logfile in case the SDK EXT installation failed

To avoid lots of output in the SDK EXT installation phase, system redirects
it to a logfile ($target_sdk_dir/preparing_build_system.log) but in case of error,
the contents should be shown so debugging could be faster.

[YOCTO #9576]

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocombo-layer: implement "update with history"
Patrick Ohly [Mon, 2 May 2016 13:27:28 +0000 (15:27 +0200)]
combo-layer: implement "update with history"

The core idea is that all commits get imported, including merge
commits, and joined into one big merge commit that imports the changes
from the individual components into the main branch of the combined
repository.

This is done by copying the files in each commit and removing deleted
ones, instead of trying to patch the combined repository.

The advantages of doing updates in this mode are:
- works for arbitrary upstream repos, not just those which
  support conversion into a linear set of patches
- listing history shows that commits where developed
  independently in the different components, instead of
  artificially showing them as if they had been developed
  one after the after (component "aaaa" before "bbbb", then "ccc", ...)
- bisecting becomes easier: when upstream repos only ensure consistency
  when merging into their "master" branches, then those merge
  commits are good candidates for test builds also in the combined
  repo
- more data mining can be done, for example showing who merged a commit
  and when

Selecting a subset of the files is supported, albeit with a slight
different semantic for wild card matching compared to other code paths
(/ is matched by * and ?). Empty commits get skipped because typically
they are a result of filtering (but that is not checked, so
intentionally empty commits also get skipped).

Other code paths are intentionally left unchanged, to avoid
regressions. However, the downside is that some opportunities for
refactoring (in particular regarding file filtering) were ignored.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocombo-layer: runcmd() enhancements
Patrick Ohly [Mon, 2 May 2016 13:27:27 +0000 (15:27 +0200)]
combo-layer: runcmd() enhancements

Allow setting the environment. Due to a subprocess quirk, it must
always be set explicitly (reuses the one from the previous call if not
set, instead of falling back to os.environ).

Embedding nul characters will be useful for parsing git output more
reliably; support dumping such output a bit better.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocombo-layer: dummy "update with history"
Patrick Ohly [Mon, 2 May 2016 13:27:26 +0000 (15:27 +0200)]
combo-layer: dummy "update with history"

When setting "history = True" in combo-layer.conf consistently for the
components involved in an update or using "update" together with the
"--history" command line flag, a new mode for updating will be used
that does not rely on exporting/importing patches.

A config setting is used because it should be used consistently by
everyone using the same config, without having to remember to use an
additional command line parameter.

There are no real global settings, so the setting is checked
separately for each component although the setting has to be set
consistently. This restriction could be removed later.

In practice, putting "history" into the "[DEFAULT]" section is the
easiest approach for configuring it.

The actual code changes split up action_update and the
combo-layer.conf handling in preparation for this new mode, without
implementing the mode itself.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosshcontrol.py: Add methods to copy dirs and delete files
Mariano Lopez [Mon, 2 May 2016 11:27:10 +0000 (11:27 +0000)]
sshcontrol.py: Add methods to copy dirs and delete files

This patch add new methods to SSHControl class. These methods
include:
    - Copy a dir to DUT
    - Delete a file in the DUT
    - Delete a directory in the DUT (if empty)
    - Delete a directory structure in the DUT

[YOCTO #9565]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoclasses/image_vm: allow different filesystems to be used for VM images.
Ian Reinhart Geiser [Fri, 29 Apr 2016 12:41:49 +0000 (08:41 -0400)]
classes/image_vm: allow different filesystems to be used for VM images.

This allows for things like btrfs to be used vs just ext4.
The default value of ext4 is kept so there is no functional
change unless VM_ROOTFS_TYPE is set in the inherting recipe.

Signed-off-by: Ian Reinhart Geiser <geiseri@geekcentral.pub>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolib/oe/rootfs: Fix DEBUGFS generation for opkg & openssl-cnf
Anders Darander [Tue, 3 May 2016 11:57:16 +0000 (13:57 +0200)]
lib/oe/rootfs: Fix DEBUGFS generation for opkg & openssl-cnf

When enabling extra DEBUGFS image generation with opkg, the following error is
seen when openssl-cnf is included in the image.

Collected errors:
 * file_md5sum_alloc: Failed to open file /mnt/cs-builds/anders/oe-build/build-ccu/tmp/work/ccu-oe-linux-gnueabi/ccu-image/1.0-r0/rootfs/usr/lib/ssl/openssl.cnf: No such file or directory.

Lots of similar issues was fixed by an earlier commit in oe-core,
5084ed9401250ed269a49d27b303806ab173c5d5, but openssl-cnf is outside of that fix.

Followup to [YOCTO #9490]

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto-rt/4.1: update to rt23
Bruce Ashfield [Wed, 4 May 2016 14:44:02 +0000 (10:44 -0400)]
linux-yocto-rt/4.1: update to rt23

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/4.4: bump to v4.4.8
Bruce Ashfield [Wed, 4 May 2016 02:51:13 +0000 (22:51 -0400)]
linux-yocto/4.4: bump to v4.4.8

Integrating the korg -stable releases.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/4.4: broxton enablement and refactoring
Bruce Ashfield [Wed, 4 May 2016 02:25:39 +0000 (22:25 -0400)]
linux-yocto/4.4: broxton enablement and refactoring

Merging the following commits to refactor and add broxton support:

 0d73a3bf6129 bsp/intel-corei7-64: Add intel-telemetry feature
 cee29e6234c7 features: add intel-telemetry feature
 3a700d737b65 bsp/intel-common: Add broxton to supported SoCs in intel-core* BSPs
 f584a0c22a39 features: add broxton soc feature
 7c2c2bd1a6aa baytrail;valleyisland: Use designware-usb3 feature instead of config
 7216db4cc7a6 features/usb: Add usb-designware2 and 3 features
 ade182658359 cfg/sound.cfg: Add USB audio support
 18ee21d9fba8 features/i915: Add CONFIG_KMS_FB_HELPER=y
 b3fa745962c2 features/soc/skylake: Refactor and comment config fragment

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/4.4: skylake configuration
Bruce Ashfield [Fri, 29 Apr 2016 17:05:14 +0000 (13:05 -0400)]
linux-yocto/4.4: skylake configuration

Integrating the following patches for skylake features and config:

  82c2ea9f6bf intel-common: enable support for skylake in intel common bsp
  269b6a7a98e2 intel-common-drivers: enable OSS Support
  71a19d3e6dc6 intel-pinctrl: enable pinctrl driver for skylake
  281f7db8c839 features: soc: enable configurations for skylake.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/4.4: BXT mmc fixes + PUNIT, tubropower, and telemetry backport
Bruce Ashfield [Mon, 25 Apr 2016 16:29:44 +0000 (12:29 -0400)]
linux-yocto/4.4: BXT mmc fixes + PUNIT, tubropower, and telemetry backport

Integrating the following mainline (or mainline destined) patches to
support Intel Broxton:

076cc85486fd mmc: sdhci-acpi: Set MMC_CAP_AGGRESSIVE_PM for Broxton controllers
5d9c3aba78a1 mmc: sdhci-pci: Remove redundant runtime PM calls
aa0cd9a58d54 mmc: sdhci: Fix sdhci_runtime_pm_bus_on/off()
f47597d00af0 mmc: sdhci: 64-bit DMA actually has 4-byte alignment
a052a0703aed mmc: sdhci: Fix DMA descriptor with zero data length
f9200dd4bfec mmc: sdio: Fix invalid vdd in voltage switch power cycle
7bbf49488269 mmc: sdhci: Do not BUG on invalid vdd
39fde8b630a6 tools/power turbostat: decode BXT TSC frequency via CPUID
2b4b633da512 tools/power turbostat: initial BXT support
ee708ab5b74e intel_telemetry_debugfs: Fix unused warnings in telemetry debugfs
3053465d066b intel_telemetry_pltdrv: Change verbosity control bits
4c7732ec34bf platform:x86: Add Intel Telemetry Debugfs interfaces
401915397ddc platform:x86: Add Intel telemetry platform driver
eaaee25ac936 platform/x86: Add Intel Telemetry Core Driver
44c969c62726 platform:x86 decouple telemetry driver from the optional IPC resources
a6a2ecaf9980 platform:x86: Add Intel telemetry platform device
e1f16b86eab0 intel_pmc_ipc: Avoid pending IPC1 command during legacy suspend
ae91be46eb0d intel_pmc_ipc: Fix GCR register base address and length
3e15c1b19c81 intel_pmc_ipc: update acpi resource structure for Punit
5ec614cfd985 intel_punit_ipc: add NULL check for input parameters
4c3f01b178db platform:x86: add Intel P-Unit mailbox IPC driver
4826dbaac15f usb: dwc3: pci: add ID for one more Intel Broxton platform

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/4.1: make ltsi content available
Bruce Ashfield [Fri, 22 Apr 2016 19:03:24 +0000 (15:03 -0400)]
linux-yocto/4.1: make ltsi content available

In the better late than never category, this commit integrates the
ltsi content into linux-yocto 4.1. We we already matching LTSI on
the kernel version front with a small gap in patches. With this
commit, we have a "ltsi" branch that is pure ltsi on the mailine
kernel, and then that commit is merged into standard/base (to
make it available to all BSPs).

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/4.1: update to v4.1.22
Bruce Ashfield [Fri, 22 Apr 2016 18:16:46 +0000 (14:16 -0400)]
linux-yocto/4.1: update to v4.1.22

Integrating the korg -stable releases.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agokernel-yocto: allow branch auditing to be suspended
Bruce Ashfield [Thu, 21 Apr 2016 15:23:45 +0000 (11:23 -0400)]
kernel-yocto: allow branch auditing to be suspended

When working on the yocto-bsp and kernel-lab update for yocto 1.2
we found it was impossible for a end-user BSP to isolate patches
on a branch, since with the following commit:

  [kernel-yocto: enforce SRC_URI specified branch]

Any new branch would be switched to whatever was specified on the
SRC_URI and undoing the work that the yocto-bsp tool did to support
board specific patches.

To fix this, we'll keep the enforcing of branch consistency enabled
by default, but introduce a variable "KMETA_AUDIT" that when not
set will skip the check.

There's no impact for existing users, and it is only something that
other plumbing commands and tools will need to use (or care about).

[YOCTO: #9120]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agokern-tools: handle directories with, or without, trailing /
Bruce Ashfield [Thu, 21 Apr 2016 02:37:29 +0000 (22:37 -0400)]
kern-tools: handle directories with, or without, trailing /

Robert P. J. Day reported that configuration fragments and kernel
features were not being found when organized in a particular manner:

  linux
   - $BOARD
       - mm.patch
       - mm.scc
   - ssd_sil.cfg
   - ssd_sil.patch
   - ssd_sil.scc
   - uio.cfg
   .. etc

There was a bug in the tools that did not handle the mix of subdirs
properly and ended up leaving a trailing / on the elements *not* in
the $BOARD subdir. As a result, the configuration fragments were not
properly found when searching the include paths, and a configuration
failure was triggered (due to missing files).

This change tweaks the tools to always check a path with and without
a trailing / when processing config fragments so they can be later
found when processing the configuration of the kernel.

Reported-by: "Robert P. J. Day" <rpjday@crashcourse.ca>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/4.4: sched/cgroup: Fix/cleanup cgroup teardown/init
Bruce Ashfield [Wed, 20 Apr 2016 23:32:03 +0000 (19:32 -0400)]
linux-yocto/4.4: sched/cgroup: Fix/cleanup cgroup teardown/init

backporting a mainline commit to address splats that have been
seen on the 4.4 kernel:

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/uvesafb: print error message when task timeout occurs
Bruce Ashfield [Wed, 20 Apr 2016 23:30:07 +0000 (19:30 -0400)]
linux-yocto/uvesafb: print error message when task timeout occurs

Integrating the following commit to have a more informative error
message:

    uvesafb: print error message when task timeout occurs

    The driver waits for response from user space for a pending
        task until a timeout (UVESAFB_TIMEOUT) occurs. But the
            existing error message in later steps is a little obscure.

    This patch throws out an error message when timeout happens.

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>
8 years agoimage_types: fix image/compression dependency collection
Ross Burton [Tue, 3 May 2016 16:28:01 +0000 (17:28 +0100)]
image_types: fix image/compression dependency collection

As compressions can be chained (i.e. cpio.bz2.md5sum) we need to walk the fstype
list to collect the dependencies from each step.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibpcre: Fix CVE-2016-3191
Ismo Puustinen [Wed, 4 May 2016 13:06:46 +0000 (16:06 +0300)]
libpcre: Fix CVE-2016-3191

Fix workspace overflow for (*ACCEPT) with deeply nested parentheses.

The patch is from libpcre version control at
http://vcs.pcre.org/pcre?view=revision&revision=1631 with the ChangeLog
part removed. Original author is Philip Hazel.

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoimage_types.bbclass: add WIC_CREATE_EXTRA_ARGS
Christopher Larson [Tue, 3 May 2016 00:06:03 +0000 (17:06 -0700)]
image_types.bbclass: add WIC_CREATE_EXTRA_ARGS

This'll be of use to pass things like --bmap.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoopenssl: Security fix via update to 1.0.2h
Armin Kuster [Tue, 3 May 2016 23:46:05 +0000 (16:46 -0700)]
openssl: Security fix via update to 1.0.2h

CVE-2016-2105
CVE-2016-2106
CVE-2016-2109
CVE-2016-2176

https://www.openssl.org/news/secadv/20160503.txt

fixup openssl-avoid-NULL-pointer-dereference-in-EVP_DigestInit_ex.patch

drop crypto_use_bigint_in_x86-64_perl.patch as that fix is in latest.

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoimage-live.bbclass: make the INITRD optional
Christopher Larson [Tue, 3 May 2016 20:20:35 +0000 (13:20 -0700)]
image-live.bbclass: make the INITRD optional

This aligns with image-vm, and makes sense for wic bootimg-efi images, which
don't actually want any of the live installer bits.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibrsvg: Security fixes via update to 2.40.15
Armin Kuster [Tue, 3 May 2016 13:33:36 +0000 (06:33 -0700)]
librsvg: Security fixes via update to 2.40.15

CVE-2016-4347 librsvg2: DoS parsing SVGs with circular definitions in certain rsvg_cairo_*() functions

CVE-2016-4348 librsvg2: DoS parsing SVGs with circular definitions _rsvg_css_normalize_font_size() function

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogit: update to 2.8.2
Dan McGregor [Mon, 2 May 2016 19:50:52 +0000 (13:50 -0600)]
git: update to 2.8.2

Now that krogoth has been released, update git to the latest release.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoqemu: updgrade to 2.5.1
Joshua Lock [Wed, 4 May 2016 10:48:43 +0000 (11:48 +0100)]
qemu: updgrade to 2.5.1

This upgrade includes several worthwhile fixes, security and otherwise, including
a complete fix for CVE-2016-2857.

* drop CVE-2016-2857.patch as it's included in this release, along with several
  related patches which complete the fixes for CVE-2016-2857:
  http://git.qemu.org/?p=qemu.git;a=commitdiff;h=9bddb45dbc010cd8ee4d48bd501fa5d18dcec00c
  http://git.qemu.org/?p=qemu.git;a=commitdiff;h=e3a2cdfcb5e282139217924044ec5af00c7f8eed
  http://git.qemu.org/?p=qemu.git;a=commitdiff;h=fe90bdc25bcf9954ee286cd51de94776a17d04f6
  http://git.qemu.org/?p=qemu.git;a=commitdiff;h=d0ee85b4e4c6cc2c8fac311d6df2ed412ed0df5f
  http://git.qemu.org/?p=qemu.git;a=commitdiff;h=80b6e5723fac428ea6c08c821078286f43975df8
  http://git.qemu.org/?p=qemu.git;a=commitdiff;h=a375e0b03ee3438924b24a45e61ee189ec9361db
* drop CVE-2016-2197.patch as an equivalent fix is included in this release
  http://git.qemu.org/?p=qemu.git;a=commitdiff;h=aaf4fb6afb4653c86059255811886a5c4ea271f3
* drop CVE-2016-1568.patch as it's included in this release
  http://git.qemu.org/?p=qemu.git;a=commitdiff;h=4f046a6ba1d558eb043dc13a80d40cf7cb62ef95

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoalsa-lib: Fix incorrect appl pointer when mmap_commit() returns error.
Yuqing Zhu [Wed, 4 May 2016 09:46:46 +0000 (17:46 +0800)]
alsa-lib: Fix incorrect appl pointer when mmap_commit() returns error.

The appl pointer needs to be updated only when snd_pcm_mmap_commit() is
successfully returned. Or it shouldn't be updated.
This is to fix the avail_update()'s result is incorrect when returns error.

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoiproute2: upgrade to version 4.5.0
Maxin B. John [Wed, 4 May 2016 08:20:24 +0000 (11:20 +0300)]
iproute2: upgrade to version 4.5.0

4.4.0 -> 4.5.0

Refreshed iproute2 musl build fix patch for 4.5.0
Remove backported patch:
        iproute2-fix-building-with-musl.patch

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosqlite3: upgrade to 3.12.2
Maxin B. John [Wed, 4 May 2016 08:20:23 +0000 (11:20 +0300)]
sqlite3: upgrade to 3.12.2

3.11.0 -> 3.12.2

Remove upstreamed patch:
1. fix-disable-static-shell.patch

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoharfbuzz: upgrade to 1.2.6
Maxin B. John [Wed, 4 May 2016 08:20:22 +0000 (11:20 +0300)]
harfbuzz: upgrade to 1.2.6

1.2.3 -> 1.2.6

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoorc: upgrade to 0.4.25
Maxin B. John [Wed, 4 May 2016 08:20:21 +0000 (11:20 +0300)]
orc: upgrade to 0.4.25

0.4.24 -> 0.4.25

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomc: upgrade to 4.8.16
Maxin B. John [Wed, 4 May 2016 08:20:20 +0000 (11:20 +0300)]
mc: upgrade to 4.8.16

4.8.15 -> 4.8.16

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibtasn1: upgrade to 4.8
Maxin B. John [Wed, 4 May 2016 08:20:18 +0000 (11:20 +0300)]
libtasn1: upgrade to 4.8

4.7 -> 4.8

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopkgconfig: update to version 0.29.1
Maxin B. John [Wed, 4 May 2016 08:20:17 +0000 (11:20 +0300)]
pkgconfig: update to version 0.29.1

87152c0  : Update to 0.29.1
753f0ba  : glib: Fix OSX build with internal glib
5164b9d  : Revert "Quote pc_path virtual variable"
a3e58e7  : check: More thoroughly test variable usage
1c564a3  : Only unquote --variable when it appears quoted
e6d33fb  : Revert "Unquote values of requested variables"
8d19fad  : Also match -Wl,-framework for OSX framework
ae0a8b1  : Allow overriding package variables with env vars
9ef2d34  : Pass key into parse_package_key so it can be set early
52baea8  : README.win32: Add info on building with MSVC
5f70074  : build: Add NMake makefiles for Visual Studio builds
1ed3367  : build: Add a pre-configure config.h template for MSVC builds
56061ef  : build: Split Out Source Listing
dd57ff3  : pkg.c: Port from dirent to GDir

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoethtool: upgrade to 4.5
Maxin B. John [Wed, 4 May 2016 08:20:16 +0000 (11:20 +0300)]
ethtool: upgrade to 4.5

4.2 -> 4.5

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoacpid: upgrade to 2.0.27
Maxin B. John [Wed, 4 May 2016 08:20:15 +0000 (11:20 +0300)]
acpid: upgrade to 2.0.27

2.0.26 -> 2.0.27

Remove upstreamed patch:
0001-Fix-out-of-source-build.patch

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogdb: fix QA warning (uClibc)
André Draszik [Fri, 29 Apr 2016 10:45:47 +0000 (11:45 +0100)]
gdb: fix QA warning (uClibc)

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

We already have virtual/libiconv which is set appropriately
in all environments, so let's use it to fix the issue.

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobase-files: add some safety checks in profile
Diego Rondini [Fri, 29 Apr 2016 10:24:09 +0000 (12:24 +0200)]
base-files: add some safety checks in profile

Add some safety checks when sourcing files in /etc/profile.d/, in particular:
- source only *.sh files, not every file. This is the practice in use in both
  Fedora and Debian/Ubuntu (see
  https://help.ubuntu.com/community/EnvironmentVariables#A.2Fetc.2Fprofile.d.2F.2A.sh);
- check the input is actually a file and is readable. This check is especially
  important if profile.d is empty, as "*.sh" will get expanded only if
  profile.d is not empty. Previously if profile.d was present but empty,
  "/etc/profile.d/*" was sourced causing errors on login and breaking stuff, for
  example X startup.

Signed-off-by: Diego Rondini <diego.ml@zoho.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobluez5: upgrade to 5.39
Maxin B. John [Wed, 4 May 2016 08:20:19 +0000 (11:20 +0300)]
bluez5: upgrade to 5.39

5.37 -> 5.39

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agotest-empty-image: Fix LIC_FILES_CHKSUM typo
Richard Purdie [Fri, 6 May 2016 09:47:59 +0000 (10:47 +0100)]
test-empty-image: Fix LIC_FILES_CHKSUM typo

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agometa-selftest/images: Add LIC_FILES_CHKSUM to images using image.bbclass
Richard Purdie [Fri, 6 May 2016 09:29:45 +0000 (10:29 +0100)]
meta-selftest/images: Add LIC_FILES_CHKSUM to images using image.bbclass

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake.conf: change APACHE_MIRROR to point at archive.apache.org
Ross Burton [Fri, 29 Apr 2016 10:48:24 +0000 (11:48 +0100)]
bitbake.conf: change APACHE_MIRROR to point at archive.apache.org

The official download servers www.[country].apace.org only host the latest
release, so the URL is only valid when the recipe is fully up to date.

In the general case this isn't a problem as our mirror list includes
archive.apache.org, but the upstream URI checking (the checkuri task) fails as
that explicitly doesn't use the mirrors.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agomesa: add PACKAGECONFIG for gbm
Ross Burton [Tue, 26 Apr 2016 13:57:23 +0000 (14:57 +0100)]
mesa: add PACKAGECONFIG for gbm

gbm is an optional library and some environments (for example, mesa-gl where
there are separate drivers that provide libgbm) may not want to build it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibxsettings-client: fix COPYING file
Robert Yang [Wed, 27 Apr 2016 02:20:30 +0000 (19:20 -0700)]
libxsettings-client: fix COPYING file

Fixed:
* Move the code of copy COPYING file from do_configure_append() to
  do_patch[postfuncs] since we had moved license-checksum from
  do_package_qa to do_populate_lic.
* Add xsettings-client.c and xsettings-common.c to LIC_FILES_CHKSUM.
* Update comments.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agometa-world-pkgdata: add LIC_FILES_CHKSUM
Robert Yang [Wed, 27 Apr 2016 02:20:29 +0000 (19:20 -0700)]
meta-world-pkgdata: add LIC_FILES_CHKSUM

Fixed:
ERROR: meta-world-pkgdata-1.0-r0 do_populate_lic: QA Issue: meta-world-pkgdata: Recipe file does not have license file information (LIC_FILES_CHKSUM) [license-checksum]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopackagegroup-foo.bb: remove LICENSE = "MIT"
Robert Yang [Wed, 27 Apr 2016 02:20:28 +0000 (19:20 -0700)]
packagegroup-foo.bb: remove LICENSE = "MIT"

It has been set in packagegroup.bbclass.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopackagegroup.bbclass: set LICENSE and LIC_FILES_CHKSUM
Robert Yang [Wed, 27 Apr 2016 02:20:27 +0000 (19:20 -0700)]
packagegroup.bbclass: set LICENSE and LIC_FILES_CHKSUM

* Use "??=" in bitbake.conf to set LICENSE, so that it can overrided by
  packagegroup.bbclass and recipes.

* Use "?=" to set LICENSE and LIC_FILES_CHKSUM to MIT by default
  in packagegroup.bbclass, this won't impact any packagegroup recipes
  which use non-MIT license, since they can be overrided by the recipe.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoinsane.bbclass: package_qa_check_license -> populate_lic_qa_checksum
Robert Yang [Wed, 27 Apr 2016 02:20:26 +0000 (19:20 -0700)]
insane.bbclass: package_qa_check_license -> populate_lic_qa_checksum

The package_qa_check_license() was in do_qa_configure which had a
potential problem, when the recipe sets do_configure[noexec] = "1", then
the license checking won't run, which may hidden license issues. Rename
it to populate_lic_qa_checksum() and run in do_populate_lic[postfuncs] which
is more reasonable (when no populate license, no license checking).

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agotune-mips32r2.inc: add soft-float variants
André Draszik [Tue, 26 Apr 2016 11:03:02 +0000 (12:03 +0100)]
tune-mips32r2.inc: add soft-float variants

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoddimage: if 'pv' is installed, use it
Christopher Larson [Tue, 26 Apr 2016 04:56:18 +0000 (21:56 -0700)]
ddimage: if 'pv' is installed, use it

This gives us a progress bar for the image write, which is quite helpful. See
https://www.ivarch.com/programs/pv.shtml.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodbus-test: install executables not libtool wrapper scripts
Ross Burton [Wed, 27 Apr 2016 16:20:14 +0000 (17:20 +0100)]
dbus-test: install executables not libtool wrapper scripts

All of the binaries are linked with libtool now, so install the binaries and not
the wrapper scripts.

Also remove dbus-1.init from SRC_URI as dbus-test doesn't use it.

[ YOCTO #9528 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomesa-demos: remove demos using obsolete screen surface
Awais Belal [Fri, 22 Apr 2016 13:24:48 +0000 (18:24 +0500)]
mesa-demos: remove demos using obsolete screen surface

The mesa surface EGL_MESA_screen_surface was obsoleted
and then dropped from mesa some time ago. Drop demos
depending on this.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoarch-powerpc64.inc: disable the use of qemu usermode on ppc64
Alexander Kanavin [Wed, 27 Apr 2016 12:44:48 +0000 (15:44 +0300)]
arch-powerpc64.inc: disable the use of qemu usermode on ppc64

It simply does not work at all:
https://lists.yoctoproject.org/pipermail/yocto/2016-April/029698.html

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoeudev: add PACKAGECONFIG for hwdb
Ross Burton [Wed, 27 Apr 2016 11:54:51 +0000 (12:54 +0100)]
eudev: add PACKAGECONFIG for hwdb

Some users may not want the hwdb at all, so add a PACKAGECONFIG option to
disable building it entirely.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibxml2: fix dependencies and QA Issues
Maxin B. John [Tue, 26 Apr 2016 08:48:25 +0000 (11:48 +0300)]
libxml2: fix dependencies and QA Issues

Fix the following QA warnings:

WARNING: libxml2-2.9.3-r0 do_package_qa: QA Issue: libxml2 rdepends on
libiconv, but it isn't a build dependency, missing libiconv in DEPENDS
or PACKAGECONFIG? [build-deps]

WARNING: libxml2-2.9.3-r0 do_package_qa: QA Issue: libxml2-python
rdepends on libiconv, but it isn't a build dependency, missing libiconv
in DEPENDS or PACKAGECONFIG? [build-deps]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobash: fix dependencies and QA Issue
Maxin B. John [Tue, 26 Apr 2016 08:48:24 +0000 (11:48 +0300)]
bash: fix dependencies and QA Issue

Fix the following QA warning:

WARNING: bash-4.3.30-r0 do_package_qa: QA Issue: bash rdepends on libiconv,
but it isn't a build dependency, missing libiconv in DEPENDS
or PACKAGECONFIG? [build-deps]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopopt: fix dependencies and QA Issue
Maxin B. John [Tue, 26 Apr 2016 08:48:23 +0000 (11:48 +0300)]
popt: fix dependencies and QA Issue

Fix the following QA warning:

WARNING: popt-1.16-r3 do_package_qa: QA Issue: popt rdepends on
libiconv, but it isn't a build dependency, missing libiconv in DEPENDS
or PACKAGECONFIG? [build-deps]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocurl: add krb5 to PACKAGECONFIG
Roy Li [Tue, 26 Apr 2016 05:13:01 +0000 (13:13 +0800)]
curl: add krb5 to PACKAGECONFIG

krb5 is needed to enables GSS-Negotiate authentication

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa/selftest/buildoptions: remove buildhistory signature test
Ross Burton [Tue, 26 Apr 2016 14:36:21 +0000 (15:36 +0100)]
oeqa/selftest/buildoptions: remove buildhistory signature test

This test is a subset of the new sstate_noop_samesigs test, and less helpful
when it breaks, so remove it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomesa-gl: add missing MESA_CRYPTO to PACKAGECONFIG
Ross Burton [Tue, 26 Apr 2016 13:48:24 +0000 (14:48 +0100)]
mesa-gl: add missing MESA_CRYPTO to PACKAGECONFIG

Otherwise the build can fail or there is a floating dependency on whatever SSL
library Mesa can find.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocross-localedef-native_2.22.bb: Use autotools configure
Tristan Van Berkom [Mon, 25 Apr 2016 20:36:26 +0000 (16:36 -0400)]
cross-localedef-native_2.22.bb: Use autotools configure

Use the autotools default configure commands and just tell autotools
where to run configure from.

This fixes the build when running on an aarch64 host, which the prebuilt
configure scripts with glibc 2.22 do not recognize.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoinsane.bbclass: remove workdir from package_qa_check_license()
Robert Yang [Wed, 27 Apr 2016 02:20:25 +0000 (19:20 -0700)]
insane.bbclass: remove workdir from package_qa_check_license()

The parameter workdir is not used in package_qa_check_license()

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoqemu: remove explicit but redundant native build dependencies
Ross Burton [Wed, 27 Apr 2016 08:28:35 +0000 (09:28 +0100)]
qemu: remove explicit but redundant native build dependencies

qemu-native was optionally depending on libxext-native if the DISTRO_FEATURES
included x11.  This dependency was required back when we didn't build
libsdl-native and causes an undesirable relationship between DISTRO_FEATURES and
qemu-native.

As the dependency isn't required anymore, remove it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowebkitgtk: remove gnome-common dependency
Ross Burton [Wed, 27 Apr 2016 13:04:10 +0000 (14:04 +0100)]
webkitgtk: remove gnome-common dependency

webkitgtk ported to CMake long ago, so by definition can't use gnome-common's
autoconf macros anymore.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agognome-desktop3: remove redundant gnome-common dependency
Ross Burton [Wed, 27 Apr 2016 12:56:54 +0000 (13:56 +0100)]
gnome-desktop3: remove redundant gnome-common dependency

The gnomebase class already depends on gnome-common-native, so there's no need
to depend on it again.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopython-pygobject: remove redundant gnome-common dependency
Ross Burton [Wed, 27 Apr 2016 12:56:53 +0000 (13:56 +0100)]
python-pygobject: remove redundant gnome-common dependency

The gnomebase class already depends on gnome-common-native, so there's no need
to depend on it again.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agorecipetool: create: fix falling back to declared license for npm packages
Paul Eggleton [Wed, 27 Apr 2016 13:06:19 +0000 (01:06 +1200)]
recipetool: create: fix falling back to declared license for npm packages

Fix two problems falling back to the "license" field from package.json
when no license file is present:
1) The function that was supposed to return the license field value was
   always explicitly returning None, and this was never noticed (because
   the test cases never exercised the fallback as they provided license
   files for each module).
2) Fix the main package not falling back because it had a default of an
   empty list, which evaluates to '' instead of 'Unknown'.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agorecipetool: create: fix picking up false npm package directories
Paul Eggleton [Wed, 27 Apr 2016 13:06:18 +0000 (01:06 +1200)]
recipetool: create: fix picking up false npm package directories

It is possible for a Node.js module to have node_modules subdirectories
that contain no package.json file (e.g. iotivity-node has such a
directory). It appears these should simply be ignored, or else with the
way the current code works we will get errors later.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoarch-armv7ve: inherit armv7a tunes file
Denys Dmytriyenko [Tue, 26 Apr 2016 00:38:24 +0000 (20:38 -0400)]
arch-armv7ve: inherit armv7a tunes file

armv7a is a subset of armv7ve:
https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html

   -march=armv7ve is the armv7-a architecture with virtualization extensions.

By inheriting armv7a from armv7ve it's possible for e.g. Cortex-A15 machines
to include tune-cortexa15.inc and have a full range of optimizations, but
set DEFAULTTUNE as "armv7a" to produce binaries compatible with Cortex-A8
machines, etc.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>