webos: Move requires and most definitions to .inc file

* allows to reuse webos.inc by other distributions
* this is first part of bigger DISTRO conf cleanup

[GF-2417] Reorganize distro configs

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@palm.com>
Change-Id: I06eba72b1d1f97d676217bdcd14db3e3311d167c
Reviewed-on: https://g2g.palm.com/1590
Reviewed-by: Martin Jansa <martin.jansa@palm.com>
Tested-by: Martin Jansa <martin.jansa@palm.com>
Reviewed-by: Keith Derrick <keith.derrick@lge.com>
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos: Move DISTRO_FEATURES to separate .inc

* doesn't look very useful now, but later we'll limit DISTRO_FEATURES
  and DISTRO_FEATURES_LIBC
* this is part of bigger DISTRO conf cleanup

[GF-2417] Reorganize distro configs

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@palm.com>
Change-Id: Ia48df832a1dcf383ebe9f660d186d6bf45f47ebe
Reviewed-on: https://g2g.palm.com/1591
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: Move toolchain related settings to separate .inc

* this is part of bigger DISTRO conf cleanup

[GF-2417] Reorganize distro configs

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@palm.com>
Change-Id: I345cba29557cb5eb7b0e4b7e7ec1edad92572bd7
Reviewed-on: https://g2g.palm.com/1592
Reviewed-by: Martin Jansa <martin.jansa@palm.com>
Tested-by: Martin Jansa <martin.jansa@palm.com>
Reviewed-by: Keith Derrick <keith.derrick@lge.com>
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos: Move SDK related settings to separate .inc file

* this is part of bigger DISTRO conf cleanup

[GF-2417] Reorganize distro configs

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@palm.com>
Change-Id: I61769e673b57effb12a407201537ca29c334609d
Reviewed-on: https://g2g.palm.com/1593
Reviewed-by: Martin Jansa <martin.jansa@palm.com>
Tested-by: Martin Jansa <martin.jansa@palm.com>
Reviewed-by: Keith Derrick <keith.derrick@lge.com>
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos: Move repositories URLs to separate .inc

* this is part of bigger DISTRO conf cleanup

[GF-2417] Reorganize distro configs

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@palm.com>
Change-Id: I8dcfed33278483dab768086d44cb25a00a421c24
Reviewed-on: https://g2g.palm.com/1594
Reviewed-by: Martin Jansa <martin.jansa@palm.com>
Tested-by: Martin Jansa <martin.jansa@palm.com>
Reviewed-by: Keith Derrick <keith.derrick@lge.com>
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-repositories: Define WEBOS_REPO_NAME

* this is part of bigger DISTRO conf cleanup

[GF-2417] Reorganize distro configs

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@palm.com>
Change-Id: I2087b36fafd12eb2d5f995ecc762d80cd2a463eb
Reviewed-on: https://g2g.palm.com/1595
Reviewed-by: Keith Derrick <keith.derrick@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>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos: Use stronger override for opkglibdir

* bbappend expects this set consistently, so we don't support
  setting different value e.g. in local.conf
* this is part of bigger DISTRO conf cleanup

[GF-2417] Reorganize distro configs

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@palm.com>
Change-Id: I5970185694088c275c9da7d116a7e99446861c46
Reviewed-on: https://g2g.palm.com/1603
Reviewed-by: Martin Jansa <martin.jansa@palm.com>
Tested-by: Martin Jansa <martin.jansa@palm.com>
Reviewed-by: Keith Derrick <keith.derrick@lge.com>
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-toolchain: Drop default settings set in defaultsetup.inc

* TCLIBCAPPEND is defined as empty in local.conf generated by mcf
* all packages will rebuild, because this also fixes flags being
   appended twice:
  $ bitbake-diffsigs \
    sstate-diff-after[34]*/*/*/i586*/eglibc-ini*package.*sigdata*
  basehash changed from 5c008e34ecce97ef2dd2eda087316456 to 60189f8611c8cc20c6e4b09ea4a27653
  Variable CXXFLAGS value changed from ${TARGET_CXXFLAGS} -fvisibility-inlines-hidden -fvisibility-inlines-hidden to ${TARGET_CXXFLAGS} -fvisibility-inlines-hidden
  Variable TARGET_LDFLAGS value changed from -Wl,-O1 ${TARGET_LINK_HASH_STYLE} ${ASNEEDED} ${ASNEEDED} to -Wl,-O1 ${TARGET_LINK_HASH_STYLE} ${ASNEEDED}
  Hash for dependent task eglibc-initial_2.16.bb.do_install changed from d007af5564e4ffa12866b95b297554c1 to 6868746765d684645a383b372866660e
  Hash for dependent task eglibc-initial_2.16.bb.do_install_locale changed from 3ed5b82b45c65454a91f011693dc73ac to 7fe87a27037b2312006fdbb743b280fa
  Hash for dependent task eglibc-initial_2.16.bb.do_populate_lic changed from cc7510775c01e3a36bbd86f803cc7367 to 933708533b870b7f222d36279ca52cb9
* keep this file to limit DISTRO_FEATURES_LIBC later for [OWEBOS-2492]
  build-webos builds extraneous eglibc-* packages for webos-image
* this is part of bigger DISTRO conf cleanup

[GF-2417] Reorganize distro configs

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@palm.com>
Change-Id: I02fbb010b940776d24f2e57577ac8f873feff845
Reviewed-on: https://g2g.palm.com/1604
Reviewed-by: Keith Derrick <keith.derrick@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>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos: Disable QA warnings about unsafe cross-partition references

* unsafe-references-in-binaries, unsafe-references-in-scripts are not
  important for us as we don't plan to support separate /usr partition.
* Note that
  http://git.openembedded.org/openembedded-core/commit/?id=2fb58da56e8e7044de21fd10fe9164d204587236
  removes them from default config.

[GF-2266] Warning while building some recipes

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@palm.com>
Change-Id: I00da726fc2c3d023431e57c7b582bb3055d10943
Reviewed-on: https://g2g.palm.com/1686
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Martin Jansa <martin.jansa@palm.com>
Tested-by: Martin Jansa <martin.jansa@palm.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
recipes: Remove protocol=git parameter

* this is default for git fetcher
* makes it easier to change OPENWEBOS_GIT_REPO to private repo
  with protocol=ssh
* deliberately not incrementing PR as this change has no effect on what
  is built

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@palm.com>
Change-Id: Ib43b1934fb731c8401a56d7da362bc67433e756d
Reviewed-on: https://g2g.palm.com/1685
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Martin Jansa <martin.jansa@palm.com>
Tested-by: Martin Jansa <martin.jansa@palm.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos_enhanced_submissions: Replace indirect getVar calls

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@palm.com>
Change-Id: Ic54e4f5516cb32e82dc83d08386d7385f3a1961f
Reviewed-on: https://g2g.palm.com/1602
Reviewed-by: Build Verification
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Reviewed-by: Martin Jansa <martin.jansa@palm.com>
Tested-by: Martin Jansa <martin.jansa@palm.com>
webos_qmake5: export STAGING_INCDIR

- This is needed by webappmanager recipes

Open-webOS-DCO-1.0-Signed-off-by: Eric Blade <eric.blade@palm.com>

Change-Id: I3df997cca5fbfac6d2b70c24cab247f4c82613c9
Reviewed-on: https://g2g.palm.com/1698
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Eric Blade <eric.blade@palm.com>
Tested-by: Eric Blade <eric.blade@palm.com>
nyx-modules: Add support for OSInfo device type module

The module needs settings from OE and expects lsb_release to be
available.

[GF-2480] Add OSInfo module

Open-webOS-DCO-1.0-Signed-off-by: Pekka Ropo <pekka.ropo@palm.com>
Change-Id: I981109010407f1e917aec9bf1d2649c600ac7ccf
Reviewed-on: https://g2g.palm.com/1675
Reviewed-by: Keith Derrick <keith.derrick@lge.com>
Tested-by: Keith Derrick <keith.derrick@lge.com>
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-image: nyx-lib=64,v5.0.0 nyx-modules=81,v5.0.0

- Add API and modules for Security and OS Info
- Clean up some memory allocation problems in nyx-lib

Changes in nyx-lib:
  989fc4a Remove unused boundary enums
  677f32a Major version 5.0
  813cf0a Add security API
  fa5dfde Add API for OSInfo device type
  c6f3c82 Fix nyx_device_close memory deallocations
  6b6ab2a Do not dereference nyx_device struct after closing module

Changes in nyx-modules:
  6f4b9f0 Add module for OSInfo device type
  c41881a Add security module reference implementation draft

Open-webOS-DCO-1.0-Signed-off-by: Keith Derrick <keith.derrick@lge.com>
Change-Id: I81d3fef8b2a79493808d726063604058106ad4b9
Reviewed-on: https://g2g.palm.com/1704
Reviewed-by: Build Verification
Reviewed-by: Keith Derrick <keith.derrick@lge.com>
Tested-by: Keith Derrick <keith.derrick@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
lsb: Add .bbappend to generate desired lsb-release file

[GF-1465] Supply mechanism to report OS release and build information

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

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