webos_certificates: Add bbclass to handle certificates

- Use it in ca-certificates

Open-webOS-DCO-1.0-Signed-off-by: Keith Derrick <keith.derrick@lge.com>
Open-webOS-DCO-1.0-Signed-off-by: Tapani Mattila <tapani.mattila@palm.com>

Change-Id: Ibe77162d9bd5afbc0b4768a441ef1b31bb2e361e
Reviewed-on: https://g2g.palm.com/1564
Reviewed-by: Tapani Mattila <tapani.mattila@palm.com>
Tested-by: Tapani Mattila <tapani.mattila@palm.com>
Reviewed-by: Ed Chejlava <ed.chejlava@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Keith Derrick <keith.derrick@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-image: mojoloader=9

Open-webOS-DCO-1.0-Signed-off-by: Suresh Arumugam <suresh.arumugam@lge.com>

Change-Id: I8be21526bf7e654aa7de3107a82f4de807c16531
Reviewed-on: https://g2g.palm.com/1754
Reviewed-by: Suresh Arumugam <suresh.arumugam@lge.com>
Tested-by: Suresh Arumugam <suresh.arumugam@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-features: Redefine DISTRO_FEATURES and split it

* split to more variables so it's easier to modify it from outside

[GF-2531] Remove x11 from DISTRO_FEATURES

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@palm.com>
Change-Id: Ic06ebc5b4dca7aa7549cbf75ff9b3a16c1bb9078
Reviewed-on: https://g2g.palm.com/1715
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Reviewed-by: Martin Jansa <martin.jansa@palm.com>
Tested-by: Martin Jansa <martin.jansa@palm.com>
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
webos-features: Remove x11 and argp from DISTRO_FEATURES

[GF-2531] Remove x11 from DISTRO_FEATURES

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@palm.com>
Change-Id: I9f9dbac36966a1c52f380a47e406a10babd919f5
Reviewed-on: https://g2g.palm.com/1741
Reviewed-by: Martin Jansa <martin.jansa@palm.com>
Tested-by: Martin Jansa <martin.jansa@palm.com>
Reviewed-by: Build Verification
Reviewed-by: Steve Lemke <steve.lemke@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
util-linux: Use u-a for getopt

* when enabled, busybox installs getopt to ${base_bindir} and
  util-linux to ${bindir}, so there is no file conflict, but
  because busybox implementation does not support --long used
  by lsb_release (which RDEPENDS on util-linux) we need to use
  util-linux getopt even when busybox defconfig has it enabled

[GF-2548] lsb_release uses unsupported shell functions

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@palm.com>
Change-Id: Idcddf641f6e567919932e99cb294ae734c3525b2
Reviewed-on: https://g2g.palm.com/1740
Reviewed-by: Martin Jansa <martin.jansa@palm.com>
Tested-by: Martin Jansa <martin.jansa@palm.com>
Reviewed-by: Build Verification
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos_cmake: Use append instead of += for DEPENDS

* recipes setting DEPENDS after inheriting webos_cmake don't get this
  dependency
* use WEBOS_CMAKE_DEPENDS to allow recipe to inhibit this dependency
  if needed or to use different provider for it

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@palm.com>
Change-Id: Id2e83bde0131a1de337812b23bd994080076cfb5
Reviewed-on: https://g2g.palm.com/1716
Reviewed-by: Build Verification
Reviewed-by: Martin Jansa <martin.jansa@palm.com>
Tested-by: Martin Jansa <martin.jansa@palm.com>
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos_qmake: Use append instead of += for DEPENDS

* recipes setting DEPENDS after inheriting webos_qmake don't get this
  dependency
* use WEBOS_QMAKE_DEPENDS to allow recipe to inhibit this dependency
  if needed or to use different provider for it

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@palm.com>
Change-Id: Ia69b8c3c4a949b5a295099d39857b64481248f36
Reviewed-on: https://g2g.palm.com/1739
Reviewed-by: Build Verification
Reviewed-by: Martin Jansa <martin.jansa@palm.com>
Tested-by: Martin Jansa <martin.jansa@palm.com>
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos: Add WEBOS_DISTRO_API_VERSION variable

[GF-2615] Invent/create build variable for webos api version

Open-webOS-DCO-1.0-Signed-off-by: Janne Hurskainen <janne.hurskainen@palm.com>

Change-Id: I6ea743f77bdafee1b8d9061a08eeafe2ab110d3f
Reviewed-on: https://g2g.palm.com/1742
Reviewed-by: Build Verification
Reviewed-by: Janne Hurskainen <janne.hurskainen@palm.com>
Tested-by: Janne Hurskainen <janne.hurskainen@palm.com>
Reviewed-by: Keith Derrick <keith.derrick@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>