aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-03-28site: Cache config vars for ccacheKhem Raj
ccache's configure tries to do a runtime test to determine hw_cv_func_snprintf_c99 and hw_cv_func_vsnprintf_c99 which wont work in OE. c99 versions of these functions are provided on all supported libc implementations in OE-Core (From OE-Core rev: dbf2ac39913429a0d2a8ce129cebe4469d6a2c22) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-28gdb-cross: use PACKAGECONFIG for python and readlineJonathan Liu
(From OE-Core rev: 41673bb53108cd4d0f0f37c8c675256c80173135) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-26add !meta-poky to .gitignore fileBill Randle
Another meta-yocto -> meta-poky transition item. Git complained on commit that files in meta-poky could not be committed. Signed-off-by: Bill Randle <william.c.randle@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-26scripts/lib/bsp/help.py: Add missing options to yocto-bsp help and usageHumberto Ibarra
Add the options --codedump and --skip-git-check to the yocto-bsp help and yocto-bsp usage, since they are currently missing. [YOCTO #8322] (From meta-yocto rev: dfdf97b4239639affc8ce22e338a291d4b0dfc76) Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-26poky-sanity.bbclass: update conf/templateconf.cfg for existing installationsBill Randle
Updates of existing installations for the meta-yocto to meta-poky transition will update the bblayers.conf file, but not the templateconf.cfg file. This patch updates the template file to point to meta-poky/conf, if necessary. Fixes [YOCTO #9278] (From meta-yocto rev: e560e9b157fd53cccbe73659b44777715660f0b2) Signed-off-by: Bill Randle <william.c.randle@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-26site.conf.sample: fix reference to oe-git-proxy scriptPaul Eggleton
The name of the script is oe-git-proxy, not oe-git-proxy.sh. (From meta-yocto rev: c10150d94e8830c82937f6b229672c194ef270bf) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-26conf-notes: remove reference to adt-installerEd Bartosh
As adt-installer is not supported anymore in 2.1, removed the reference to it from "Common targets". [YOCTO #9256] (From meta-yocto rev: b4b516f69da3127d3861116d77373f96f8257d50) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-26linux-yocto: Update SRCREV for genericx86* for 4.4Alejandro Hernandez
(From meta-yocto rev: 954e800f0641ad44db32501aaa51dd2431fd342a) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-26linux-yocto: Update SRCREV for genericx86* for 4.1Alejandro Hernandez
(From meta-yocto rev: 11cbd985ece8d70cb5152b5c5ad500f12150aecf) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-26bitbake: fetch2: Handle lockfiles for file:// urls redirected to mirrorsRichard Purdie
We recently dropped lockfiles for file:// urls which in itself makes sense. If a file url redirects to something like an http:// mirror, we'd have no lock taken for the original file and could race against others trying to download the file. We therefore need to ensure there is a lock taken in the mirror handling code. This adds code to take such a lock, assuming it isn't the same lock as the parent url. (Bitbake rev: 913b6ce22cd50eac96e8937c5ffc704bfce2c023) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-26bitbake: toaster: get all dependents for pkg for removalDave Lerner
For customised image package removal change behavior. From: Only display the immediate dependents of the requested package to remove, not the full dependent list, that is dependents of dependents ... Do not remove the displayed dependents, just notify the user of the list. To: Display the complete dependent tree, traversing all reverse dependencies starting from the package to be removed and then it's dependents. Change the modal dialog to note that all of these dependents will be removed automatically. [YOCTO #9121] (Bitbake rev: 1185a5bfe1b05a1b63a927c9583dfc031fdac8a9) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-26bitbake: toaster: new customise package-remove modal dlgDave Lerner
For customised image package removal, show a different modal dialog that lists ALL of the packages dependent on this package, with a Remove All button - implying that all of the dependents will be removed. [YOCTO #9121] (Bitbake rev: 768e6bb90c433687b0d52f256b7115499ca3418b) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-26bitbake: toaster: show full list of dependents to removeDave Lerner
When a package is to be removed, show the full list of packages that are dependent on that package, telling user that these packages will also be removed. [YOCTO #9121] (Bitbake rev: f5cb59b6b10a714b18b1c00b9a8598dd855c84b5) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-26bitbake: bitbake: fetch2/gitsm: Fix fetch when the repository contains ↵Derek Straka
nested submodules This fixes a problem when the repository contains multiple levels of submodules via a resursive submodule init. (Bitbake rev: dbafbe229360ffe5908b106a9c10e274712b9b17) Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-26pseudo: backport a patch to fix xattr removalJoshua Lock
xattr removal doesn't work in pseudo 1.7.5, backport a patch from pseudo master to fix this. [YOCTO #9324] (From OE-Core rev: e4f6156ffdc840e99b546369493aaf37c4856b3b) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-26uninative: don't try to relocate static binariesRoss Burton
patchelf will understandably error out if there isn't a .interp section to relocate, so don't try to relocate static binaries. (From OE-Core rev: 2a1803e64174825d9392094ae6e680a1ac96eb4a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-26lib/oe/qa: add method to check if static or dynamic linkedRoss Burton
It's useful to know if a binary is statically or dynamically linked, so add a method to determine this. (From OE-Core rev: 96813445e6618fd8442600d81e53c448310b6e8b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-26uninative: ensure patchelf errors are visibleRoss Burton
(From OE-Core rev: 9840bfbe7d860bdb7ad9ac444a82f95510d48c2d) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25libmad: remove use of obsolete _thumb over-rideAndre McCurdy
The _thumb over-ride was first used by the libmad recipe in 2006 [1], but should have been removed in 2007, when the libmad recipe dropped support for building for thumb [2]. [1] http://git.openembedded.org/openembedded-core/commit/?id=f1f8c5a6a7234a7b618f98efbb3d28e414890fa9 [2] http://git.openembedded.org/openembedded-core/commit/?id=1aa801ac7b991790dce9cb2618d0816700e52a16 (From OE-Core rev: e533e634f2ac757311f7888e764227ccdc5b0de1) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25perf: package python modules into perf-pythonBruce Ashfield
The scripts that are part of perf require python and supporting modules. The existing perf-pyton dependency only brought in core python, which left us unable to actually execute the scripts on target. With this additional runtime dependency, we can now execte the sample analysis scripts when perf-scripting is availble. This is a partial fix for [YOCTO #9069], since there are still scripts looking for non-existent modules, and those will be dealt with in future releases. (From OE-Core rev: 1aa2d2a5e91fddb80c792d6c2ff5fd2e80c751eb) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25perf: fix python scripts QA errorsBruce Ashfield
Two QA warnings were being generated from perf, due to the location of python scripts changing in the kernel build: WARNING: perf-1.0-r9 do_package_qa: QA Issue: /usr/libexec/perf-core/scripts/python/call-graph-from-postgresql.py contained in package perf-python requires /usr/bin/python2, but no providers found in RDEPENDS_perf-python? [file-rdeps] WARNING: QA Issue: /usr/libexec/perf-core/tests/attr.py_perf contained in package perf requires /usr/bin/python, but no providers found in its RDEPENDS [file-rdeps] By adding libexec dir to both the tests and scripts packaging, we get the appropriate RDEPENDS on the packages that actually contain the python scripts (without making perf-core depend on python). We also tweak any python scripts to use '/usr/bin/env python', rather than a version specific python, since it won't be provided and generate a QA error. [YOCTO #8991] (From OE-Core rev: d7888b6d7fd1a1930013f3d4e31a2522038cdc62) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25linux-yocto/4.1: MFD backportsBruce Ashfield
Integrating the following series of MFD backports: e9b00f938e99 driver core: platform: Add support for built-in device properties a63ef2c57b90 mfd: core: propagate device properties to sub devices drivers a7e1dabefaf8 klist: implement klist_prev() 2da2857b20b9 PM / QoS: Make it possible to expose device latency tolerance to userspace 36b2a287373a driver core: implement device_for_each_child_reverse() a6c7cb3da8e7 mfd: intel-lpss: Pass HSUART configuration via properties 1f0da901349b mfd: intel-lpss: Pass SDA hold time to I2C host controller driver 391ec7713003 mfd: intel-lpss: Add support for passing device properties fe9fb6da9164 mfd: lpss: Add Broxton ACPI IDs 702a4f1f13fd mfd: lpss: Add Intel Broxton PCI IDs 982bcf977be4 mfd: intel-lpss: Use writeq() helper d35dbf0dbaa7 mfd: Add support for Intel Sunrisepoint LPSS devices (From OE-Core rev: 79603557a1db051675e1eb2a79cf3a792fe87c01) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25linux-yocto/4.1: device property : Backport device property patchesBruce Ashfield
Integrating the following mainline commits for Apollo Lake/Broxton support: 568c4910b938 device property: always check for fwnode type bd2ac1821e91 device property: fallback to pset when gettng one string 44a76bd61eed ACPI / property: Extend fwnode_property_* to data-only subnodes 76f301877fab ACPI / property: Add support for data-only subnodes 95010db1e8f9 ACPI / property: Add routine for extraction of _DSD properties 3d257abeae4d device property: Return -ENXIO if there is no suitable FW interface 15f7db3cd1d0 device property: attach 'else if' to the proper 'if' effb3f07966e ACPI / OF: Rename of_node() and acpi_node() to to_of_node() and to_acpi_node() 30aa0ae9ebf0 ACPI / scan: Parse _CCA and setup device coherency c8b4218d1523 ACPI / property: Define a symbol for PRP0001 3d20c5d27e99 ACPI / property: Refine consistency check for PRP0001 f753cbe35057 device property: avoid allocations of 0 length 6985a3d56431 device property: the secondary fwnode needs to depend on the primary 6c23f8de37ff device property: add spaces to PROPERTY_ENTRY_STRING macro 216b251c170c include/linux/property.h: fix build issues with gcc-4.4.4 c579da0b4812 device property: Take a copy of the property set e0c7ce6ec1eb device property: Fallback to secondary fwnode if primary misses the property a657577af2af device property: improve readability of macros 599f18f62daf device property: Add fwnode_property_match_string() 03599b274370 device property: helper macros for property entry creation 5247e6af02d6 device property: keep single value inplace c12af01cf0d4 device property: refactor built-in properties support 1390c21efa11 device property: rename helper functions (From OE-Core rev: cd4288126b01903fe69714eda772cd4f725ad43a) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25linux-yocto: ktypes/standard: Add tmpfs-posix-acl featureBruce Ashfield
This enables the CONFIG_TMPFS_POSIX_ACL, which is wanted by things like systemd. We also explicitly enable the features's dependencies and options selected by the feature for clarity. [YOCTO #9269] (From OE-Core rev: 1f501a8f6e7b7f2d79bf2a18a8b83f413eb5cc19) Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25linux-firmware: Break out some additional firmwareSaul Wold
This breaks out new firmware from the iwlwifi firmware along with the i915 graphics firmware. (From OE-Core rev: 3c695c1db7efb0a4cef3f31cb3c4b5e96ed23363) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25linux-firmware: Clean-up and sync license dataSaul Wold
This re-orders the licenses to be alpha by Firmware-* license name, not by LICEN*E name. This adds licneses that had not been in the list before. Firmware-adsp_sst Firmware-amdgpu Firmware-atmel Firmware-cavium Firmware-e100 Firmware-hfi1_firmware Firmware-i915 Firmware-kaweth Firmware-moxa Firmware-nvidia Firmware-qla1280 Firmware-ti-keystone (From OE-Core rev: 87a89d4e2d6b9a869bb06859e855b3688d3ba7ba) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25linux-firmware: Collapse iwlwifi firmware blobs for 7260 and 7265Saul Wold
There are newer blobs that are not include since we currently package blobs independtly, this will ensure that future updates are correctly added to the packages. (From OE-Core rev: 23372863b511ac07ba8ee33e3677073b1c7e2417) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25linux-firmware: Update to latest HEADSaul Wold
5f8ca0c Sherry Hurwitz linux-firmware: Update AMD microcode patch firmware f6cd3d8 Kyle McMartin Merge branch 'master' of git://people.freedesktop.org/~vivijim/linux-firmware-i915 fa9baa0 Kyle McMartin Merge branch 'skl' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/firmware 0a0c976 Tom O'Rourke linux-firmware/i915: Major GuC release for Skylake - ver 6.1 780f4ee Vinod Koul linux-firmware: intel: Update Skylake audio firmware deb1d83 Kyle McMartin Merge branch 'master' of git://git.ti.com/wilink8-wlan/linux-firmware 9be9ff2 Emmanuel Grumbach iwlwifi: add -21.ucode to WHENCE a9ad059 Kyle McMartin Merge tag 'iwlwifi-fw-2016-03-09' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware 69a250d Yaniv Machani wl18xx: update firmware file a2c354e Emmanuel Grumbach iwlwifi: add new -21.ucode for 7265D, 8260, 3168 and 8265 devices 8d1fd61 Alexandre Courbot nvidia: Add GM20B signed firmware c4f6a36 Alexandre Courbot nvidia: Add GM200, GM204 and GM206 signed firmware f66ecca John Fleck Update Intel OPA hfi1 firmware b2deae5 Dmitry Tunin linux-firmware: Add AR3012 firmware 4f11252 Kyle McMartin Merge branch 'master' of git://people.freedesktop.org/~vivijim/linux-firmware-i915 2394c7d Kyle McMartin Merge branch 'skl' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/firmware c44bc5b Rodrigo Vivi linux-firmware: New minor DMC release for Skylake - ver1_26 f799665 Vinod Koul linux-firmware: intel: Update Skylake audio firmware 91d5dd1 Jes Sorensen rtlwifi: v19 firmware for rtl8192eu 7b1a5cb Tedd Ho-Jeong An linux-firmware: Update firmware patch for Intel Bluetooth 7260 (B3/B4) ede3068 Tedd Ho-Jeong An linux-firmware: Update firmware patch for Intel Bluetooth 7260 (B5/B6) 4592e37 Tedd Ho-Jeong An linux-firmware: Update firmware patch for Intel Bluetooth 7265 (C0/D0) c713cb2 Vinod Koul linux-firmware: intel: add symbolic link and file versions (From OE-Core rev: ef8983e8d144aa7b7365142ebb8c627cb8d0ecce) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25archiver.bbclass: Fix tar name for git repositoriesMariano Lopez
When archiving the original source, the git repositories have the name as they are in the $DL_DIR plus the source revision; i.e. "git.yoctoproject.org.linux-yocto-4.4.git.89419d8b90_dadb436904.tar.gz". This change set the tar name to $PF.tar.gz instead, to have consistency with the others archives created by the class. (From OE-Core rev: 3f903cb767150e316337929d72559cad6931039a) Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25archiver.bbclass: Fix gcc-source corner caseMariano Lopez
Bitbake couldn't add the task ar_configured when trying to archive the configured source for gcc-source-${PV} recipes. This is because the task depended in the do_configure and this task doesn't exist for gcc-source. This fix allows to archive configured gcc-source recipe. (From OE-Core rev: 5be5eae2e1630a151a9f5866d60325d439150ced) Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25archiver.bbclass: Fix use of ARCHIVER_WORKDIR and ARCHIVER_OUTDIRMariano Lopez
Currently do_unpack_and_patch() and do_ar_configured() are using the ARCHIVER_OUTDIR as the ARCHIVER_WORKDIR, this lead to have duplicated files inside the tars when using the archiver class for patched and configured source. (From OE-Core rev: 09dfc99a813090043262529beb6d900900e983dc) Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25archiver.bbclass: Don't expand python functions in dumpdataMariano Lopez
Currently the dumpdata task expands python data in the datastore, in some functions this causes a silent error and the task will fail. The change also rewrite the function to make a bit clearer. (From OE-Core rev: e3239ade430ff48e00dce47066abe8fcb990af61) Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25bind: /var/cache/bindJoe Slater
Change the ownership of /var/cache/bind to bind rather than root. (From OE-Core rev: 6c76c9e5bb4f4bf6adfac7ccece03d7dcdea7f3d) Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25sysvinit: downgrade ALTERNATIVE_PRIORITY[mountpoint]Richard Tollerton
sysvinit is objectively less maintained than util-linux or busybox, each of which may supply its own mountpoint implementation. Adjust the ALTERNATIVE_PRIORITY to select the sysvinit implementation as the last resort. (From OE-Core rev: 92c6b896e3b11283e2c313e6a2ac3497a99a13a0) Signed-off-by: Richard Tollerton <rich.tollerton@ni.com> Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25util-linux: split out util-linux-mountpointRichard Tollerton
Allow mountpoint to be installed separately from the rest of util-linux, to conserve disk space, and to minimize the impact of switching to/from this version of mountpoint. (From OE-Core rev: ea643811f44774dd9038d76ff01e13f33478c9cb) Signed-off-by: Richard Tollerton <rich.tollerton@ni.com> Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25gconf: fix buildpaths QA issueHongxu Jia
The build paths come from debug mode, and GConf is effectively unmaintained these days anyway. So explicitly disable debug to fix build paths QA issue. The minimum still keeps Glib check and assert which can result in crashes if bad data is passed to the API. [YOCTO #7058] (From OE-Core rev: 63ff01539914fe36a91196c792e5404d668b6b81) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25python-pygobject: use Python 2 instead of Python 3Ross Burton
Ideally this would be an option but that means conditional inherits. For now Python 2 is clearly the default Python in oe-core so switch to Python 2 instead of 3. This stops python3 being pulled inadvertently into builds, and appearing in images that have ptest-pkgs installed (via dbus-test). (From OE-Core rev: 7ae7277a577b2732eff7812860a7c7967644e532) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25sanity.bbclass: check host tool dependencies on change in NATIVELSBSTRINGBill Randle
When a user upgrades their host distro, it may no longer have all the required tools installed, but this won't be caught by bitbake resulting in possible build errors. Rather than check for installed tools on every startup, use the NATIVELSBSTRING change as indicator to rescan for host tool dependencies. Store the NATIVELSBSTRING in the sanity_info file. [YOCTO #8585] (From OE-Core rev: e838b581397bbea9a0f4d74648fcc250073db1ae) Signed-off-by: Bill Randle <william.c.randle@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25libunwind: Fix build with fstack-protector on muslKhem Raj
libunwind makery inserts -nostdlib during linking which fails the build on musl when security flags are enabled since it remove ssp from linking, so add them explicitly to SECURITY_LDFLAGS disable tests for musl targets, tests use obsolete posix APIs e.g. getcontext patchout x86_local_resume() on x86, gets a working linunwind on x86, it seems that it wont work even in glibc case but lets leave it as it is for glibc and apply the patch only for musl (From OE-Core rev: c8ac9d483f6e1cfca82dad8cf3e0745935e96214) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25ltp: Fix build on x86/muslKhem Raj
In last patch it covered out the non-glibc case well but did not define else case, when __GLIBC__ is not defined, as a result errors like | getcpu01.c:107:41: error: use of undeclared identifier 'sys_support' | if (((tst_kvercmp(2, 6, 20)) < 0) || !(sys_support)) { appeared, fixed it with this updated patch (From OE-Core rev: 04cbc4834076fef6b46af4c5c66046862de7634d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25package.bbclass: Treat .node files same as .so when checking what to stripBrendan Le Foll
Typically in a node/npm compiled modules the module is named .node. This is a binary module without a wrapper so it can actually be relatively large if unstripped. (From OE-Core rev: d14bc2667575bc0e29b9e90d80c01703639b76f1) Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25bootimg.bbclass: only inherit syslinux when pcbiosRobert Yang
syslinux.bbclass should not be seen when use efi. (From OE-Core rev: f994eef0aeae861857756d3cc05c49cca17bd12b) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25grub-efi.bbclass: make it can build vm and live togetherRobert Yang
* Make it can build vm and live (e.g., iso + vmdk) together as we did for syslinux. * GRUBCFG -> GRUB_CFG as other GRUB_FOO vars (From OE-Core rev: e38039e43f22d55a443064efa91752e2943fda79) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25bootimg.bbclass: fix settings for grub-efi.bbclassRobert Yang
Fixed: - Found potential conflicted var LABELS ... Set LABELS to "boot install" would build out broken images when build vm + live together, use set_live_vm_vars() to fix the problem. - Use ROOT and LABEL in boot-directdisk.bbclass and image-foo.bbclass, they are not only used by syslinux.bbclass, but also grub-efi.bbclass, add "SYSLINUX_" prefix would mislead users. (From OE-Core rev: d7d1e0193c94abb1cd2daf1c298c8c1788f3616d) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25pixz: Fix build on big-endian/musl systemsKhem Raj
(From OE-Core rev: 364f625480dca41d2902e209e4bfb675b1a93dce) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25sanity.bbclass cleanupBill Randle
Limit search for a version var name to start at the beginning of a line, otherwise, if the var name is used in a comment, that comment line will be replaced, rather than the desired assignment line. Move bblayer update message into function where it's actually updated, rather than assuming all successful config file update are to the bblayers.conf file. Replace a stray tab with spaces for consistency. [Fixes YOCTO #9318] (From OE-Core rev: 7c1e53bb802f021f06231243077d0e007a64274c) Signed-off-by: Bill Randle <william.c.randle@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25matchbox-wm: Update to fix XChangeProperty datatype issueJussi Kukkonen
This brings us to master HEAD and adds a single commit compared to the previous version: 8178e70 ewmh: Fix data type of a few XChangeProperty calls This fixes broken Home-button in matchbox panel on mips64 (and probably other platforms). [YOCTO #9284] (From OE-Core rev: b5ed789a6fe2d395b74a073c28060eb0f5a04a1b) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25matchbox-panel-2: Fix Home-button icon load issueJussi Kukkonen
Home (showdesktop) button sometimes did not load the icon because the active state was never initialized. Backport fix for this issue. [YOCTO #9026] (From OE-Core rev: 556da4760e2bf4afa1c825b927b62314174632eb) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25gstreamer1.0: fix introspection support also for git recipesAlexander Kanavin
This is generally done by moving necessary patches to common include files, and a few other fixes. (From OE-Core rev: 2b81ea383029a55168e1fb8016f64f04643d39a8) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25gstreamer1.0-plugins-bad: fix incorrect handling of Cflags in ↵Alexander Kanavin
gstreamer-gl.pc file Cflags had GL_CFLAGS appended, which contained full sysroot path to libdrm include; generally such dependencies should be handled by pkgconfig's Requires facility. It's unlikely that this .pc file is used by anything, but it was causing a QA error. (From OE-Core rev: 67fc36615351dff37516ee6c9239025198379112) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>