depmodwrapper-cross: Mark as machine specific

The kernel and its staging directory are machine specific so the wrapper
needs to be as well. Also take the opportunity to remove the default
dependencies of the recipe since its a script and doesn't need the cross
compiler. This gives the build a little more scheduing freedom.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sstate.bbclass: allow to disable sstate package creation

* building core-image-minimal-mtdutils with and without sstate packages enabled:
          with   without
  real     98m       95m
  user    212m      208m
  sys      26m       25m

* but this was tested on fast machine with TMPDIR on fast raid0 array
  so the impact is not so bad on simple image, but stuff like qt4 takes
  ages on our slow buildhost

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
qemu.inc: remove EXTRA_IMAGEDEPENDS, images are usefull even without qemu installed on host

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
docbook-sgml-dtd: add 4.3 version

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
package-test: add test recipes

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
console-tools, kbd: add RREPLACES/RPROVIDES/RCONFLICTS combo between PN-dbg

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
initrdscripts: exclude conflicting packages from world-image

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
sstatesig: introduce SignatureGeneratorOEBasicHashLite

* Rebuilds packages when:
  a) If you edit patches of a given recipe it will rebuild.
  b) If you change a task like do_configure, things after it will rerun in
     a given recipe.
  c) If a dependent task in another recipe changes, it won't rerun.
  d) If you change some global configuration variable or shared .bbclass
     it will rebuild.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oe-core: add world-image

* this depends on newer bitbake
* similar to world target, but collects all PACKAGES
* recipes marked with EXCLUDE_FROM_WORLD are excluded from world as well
  as world-image
* recipes marked with EXCLUDE_FROM_WORLD_IMAGE are excluded completely
  from world-image, sometimes you can build 2 recipes in same sysroot,
  but cannot install them in the same image
* PACKAGES listed in EXCLUDE_PACKAGES_FROM_WORLD_IMAGE are also
  excluded. You can remove e.g. ${PN}-dbg, but keep all other PACKAGES.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
libpfm4: exclude from world

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
kernel: extract functions for kernel modules to separate bbclass

* this way we can reuse the same functionality also for external modules
  including module_autoload_foo and module_conf_foo functionality
* MODULE_PACKAGES variable was removed (splited modules are now returned
  by do_split_packages
* KERNEL_MODULES_META_PACKAGE is used to append all splitted packages
  to RDEPENDS. In kernel.bbclass it's old "kernel-modules" in
  module.bbclass it defaults to ${PN} for upgrade path from
  single PN with all modules to PN depending on all new kernel-module-*

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
chkconfig-alternatives-native: just append to PROVIDES

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
eglibc: move RPROVIDES to eglibc-package

* PROVIDES_${PN}-dbg doesn't look correct, it should be RPROVIDES
  and that was already in eglibc-package
* RPROVIDES_${PN}-dev was overwritten in eglibc-package, but add
  those 2 entries now

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>