kern-tools: fix overly greedy path relocations

During patch processing a consolidated set of configs, patches and directives
is created under the kernel source tree being modified. During that processing,
absolutely paths are converted to relative. It has been found that if directories
are sufficiently similar, like so:

  /path/to/my-linux
  /path/to/my-linux-3.16

The processing will chop to much of some paths, resulting in invalid relative
directories (like -3.16 in the above example).

Importing the following two kern tools fixes for the issue:

  23345b8846fe kgit: retain trailing / in directory processing
  a8cf93a3bc94 kgit-s2q: move subject and diffstat mismatch to 'fuzzy' matching

[YOCTO: #6753]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
linux-yocto/3.14/3.17: menuconfig and cryptodev

Two issues were reported with the 3.14 kernel, cryptodev was not properly
building and working on all devices, and menuconfig was not working on some
hosts.

To fix this, we pull in the latest cryptodev updates, and restore an old
ncurses patch for menuconfig.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
linux-yocto/3.14: revert BFP feature, and fix intel-common -rt

The BPF feature is causing build failures, so we are reverting it
for now.

In this update we also have the following fix for -rt:

  fb6271a942b5 intel: Remove the standard ktype nesting

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
linux-yocto/3.14/3.17: allmodconfig/allyesconfig build fixes

It was found that some of the recent feature merges for 3.14/3.17 are
not allmodconfig and allyesconfig safe.

Since this is a basic test before kernel patches are submitted, we've
fixed the features to meet this standard.

Integrating the following fixes from Paul Gortmaker:

  b4213d81ea3f fat: don't use obsolete random32 call in namei_vfat
  2cc7eba15c1f cryptodev: stomp dynamic version numbering for in tree builds
  5d1dda7aae4b Target/dif: Introduce protection-passthough-only mode
  3d9772d8facf vhost: fix compile fail due to reallocated acked_features field.
  efad59d3a174 virtio-scsi.h: Add virtio_scsi_cmd_req_pi + VIRTIO_SCSI_F_T10_PI bits
  902f34d36102 aufs: apply aufs3-mmap.patch from 3.14 branch
  30efc2e9484e aufs: import core files from aufs3.14 20140915
  e42f87adef10 Revert "aufs: aufs3-mmap.patch"
  a818774bd338 Revert "aufs: core aufs filesystem"

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
linux-yocto/3.17: update to v3.17-rc7

Updating the 3.17 tree to the rc7 release.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
perf: fix undefined pr_* routines

When cross compiling libunwind support for ARM a missing debug include means
that pr* macros are not expanded, and hence link failures on the undefined
functions.

Since we must be compatible with many versions of the kernel and perf, we
sed the proper include into the files, while the permanent fix goes upstream
to the mainline kernel.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
apt: apt-key binary was not being installed, including it in the installation

[YOCTO #6476]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-environment: Set libdir correctly to fix PKGCONFIG entries

Currently libdir is coming from cross-canadian which is incorrect. We
need to reset this to target_libdir so that the toolchains contain the
correct value.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gtk+3: Add missing MLPREFIX

Without this each tries to provide libgtk-3.0 which directly conflict when
using multilibs.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oeqa/parselogs: Ignore qemu usbhid errors

These are harmless from the USB pointer device we install, ignore them.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
build-appliance-image: Update to dizzy head revision

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