aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-03-31linux-yocto/4.1: Apollo Lake/Broxton mmc backportsBruce Ashfield
Backporting the following commits: 2b0cc0f0ca23 mmc: It is not an error for the card to be removed while suspended 67903c1f4c77 mmc: sdhci: 64-bit DMA actually has 4-byte alignment 4e434f483381 mmc: sdhci: Do not BUG on invalid vdd 05be442eb234 mmc: mmc: Fix incorrect use of driver strength switching HS200 and HS400 97a5f396dca6 mmc: core: Make runtime resume default behavior for MMC/SD b6ee1ac07f14 mmc: mmc: Improve reliability of mmc_select_hs400() 45de48ce0b3c mmc: mmc: Move mmc_switch_status() 9d6aaaa0f6b7 mmc: mmc: Fix HS setting in mmc_select_hs400() d7795de930c5 mmc: mmc: Improve reliability of mmc_select_hs200() ac98e33a088d mmc: sdhci-acpi: Add more ACPI HIDs for Intel controllers 87f52cce8123 mmc: sdhci-pci: Add more PCI IDs for Intel controllers cf3a4d2d4c7d mmc: sdhci-pci: Add another PCI ID for an Intel eMMC host controller b3ef45585504 mmc: sdhci-pci: Build o2micro support in the same module b32a4e71f49d mmc: sdhci: enable tuning for DDR50 f8e213bee1e1 mmc: sdhci: call sdhci_init() before request irq ece0925eb94e mmc: sdhci-pci: Enable HS400 for some Intel host controllers 1c01bcdceaf6 mmc: sdhci-pci: Add support for drive strength selection for SPT c1d6e92915a9 mmc: sdhci: Add a callback to select drive strength 40deb3ac3331 mmc: mmc: Add driver strength selection e7d602f5992f mmc: mmc: Read card's valid driver strength mask bc193a886571 mmc: core: Record card drive strength a548d3993cc8 mmc: core: Factor out common code in drive strength selection 6713f5cf3164 mmc: core: Add 'card' to drive strength selection callback 852e6bd69b77 mmc: core: Simplify card drive strength mask 0bb40266bbb9 mmc: core: Allow card drive strength to be different to host 940d30f1a212 mmc: core: Reset driver type to default efbc6ba8cd27 mmc: cast u8 to unsigned long long to avoid unexpected error bafe0e5beba9 mmc: core: Don't print reset warning if reset is not supported 5b2789151852 mmc: block: Retry errored data requests when re-tuning is needed d14211a4b2fe mmc: block: Check re-tuning in the recovery path 1ff15c648159 mmc: core: Flag re-tuning is needed on CRC errors 12544ee1cdbb mmc: sdhci: Change to new way of doing re-tuning 995073b182f7 mmc: core: Add support for HS400 re-tuning 53a0d731e824 mmc: core: Separate out the mmc_switch status check so it can be re-used d3f59f108bf7 mmc: mmc: Hold re-tuning in mmc_sleep() 465db9504a27 mmc: core: Hold re-tuning while bkops ongoing 60cacf85ee10 mmc: core: Hold re-tuning during erase commands 5bd43535f4c1 mmc: core: Hold re-tuning during switch commands 4baa45ff8d15 mmc: core: Add support for re-tuning before each request cd2ca27f9282 mmc: core: Enable / disable re-tuning 65723236b746 mmc: host: Add facility to support re-tuning (From OE-Core rev: 934fd9d7310ffc72e206f48590a0f10ba0a78e1b) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-31linux-yocto/4.1: i2c: designware: Backport i2c patchesBruce Ashfield
To enable Apollo Lake/Broxton, we backport the following changes: da451824f75f i2c: designware: Convert to use unified device property API 58b1b5365f4a i2c: designware: Do not require clock when SSCN and FFCN are provided 8995091cfa0f i2c: designware: retry transfer on transient failure 1fc62907f84e i2c: designware: Move common probe code into i2c_dw_probe() 678110c0f2b8 i2c: designware: Rename platform driver probe and PM functions c51c2e104d40 i2c: designware: Make dw_readl() and dw_writel() static 98d2b6e244ad i2c: designware: Remove unused functions 3d04c6e99652 i2c: designware: Disable interrupts before requesting PCI device interrupt fb5b7be0fbe7 i2c: designware: Remove interrupt clearing from i2c_dw_pci_probe() d48fd08b11c8 i2c: designware: Make debug print in i2c_dw_isr() shorter 28f94bc07450 i2c: designware-pci: use IRQF_COND_SUSPEND flag 95f494846fc1 i2c: designware: Avoid unnecessary resuming during system suspend fb2ae3705a3a i2c: dw: Add APM X-Gene ACPI I2C device support 516a0fc91e00 i2c: designware: Add support for AMD Seattle I2C 874d63b3c95c i2c: designware: fix IO timeout issue for AMD controller 47543e80c6dd i2c: designware: reverts "i2c: designware: Add support for AMD I2C controller" 076fe383c4b5 i2c: designware: use to_pci_dev() (From OE-Core rev: 7b4b8a2481ce256e35fb86ebdeb944ee29ad5231) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-31linux-yocto/4.1: device property backportsBruce Ashfield
Integrating the following 4.4 backports: 630b726098c9 mfd: make mfd_remove_devices() iterate in reverse order aab24907568b driver core: Do not overwrite secondary fwnode with NULL if it is set 89775462ef50 device property: return -EINVAL when property isn't found in ACPI a9eebae4a2c0 device property: check fwnode type in to_of_node() (From OE-Core rev: 4dd3bd968042d943f279d91d220abc61ebd574a5) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-31linux-yocto/qemuarm64: enable 32 bit compatibilityBruce Ashfield
It was requested that CONFIG_COMPAT be enabled for qemuarm64 so that 32bit applications could be tested. This is simple enough to do, so there is now a 32bit compat feature, and it is included only in qemuarm64 to avoid impacting any other ARM targets (but the feature is available for others to use). [YOCTO #8646] (From OE-Core rev: 26488894a2fdea0e0b003ff060b5a88ec6625a5f) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-31linux-yocto/4.1: SMBus/iTCO backportsBruce Ashfield
Backporting the following mainline commits to add Intel Broxton and Denverton support: 49b34899e7ca i2c: i801: Add support for Intel Broxton 69f6eeceb5b1 i2c: i801: Add support for Intel DNV b131e3e13838 watchdog: iTCO_wdt: Add support for TCO on Intel Sunrisepoint fce230a538de mfd: watchdog: iTCO_wdt: Expose watchdog properties using platform data a1a2140e856d intel_pmc_ipc: Update kerneldoc formatting e407caf0a583 intel_pmc_ipc: Fix compiler casting warnings 909588e549d7 intel_pmc_ipc: Add Intel Apollo Lake PMC IPC driver 1cd89340c1a9 mfd: lpc_ich: Assign subdevice ids automatically 729025b3e8d3 i2c: i801: Create iTCO device on newer Intel PCHs (From OE-Core rev: b4c2a90a2c6d224c041f44b6104b1dd9678d7c62) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-31default-distrovars.inc: remove gnutls + libtasn1 from LGPLv2_WHITELIST_GPL-3.0Andre McCurdy
With the modern license handling code, gnutls and libtasn1 are both buildable in distros which blacklist GPL-3.0 without needing to be explicitly whitelisted (since they both provide at least one non GPLv3 package). (From OE-Core rev: 0a42e49bdcbc2f1f63b9d3fda9d4bc0f87a8eb01) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-31sanity.bbclass: Use pythonexception to raise real exceptions without backtracesRichard Purdie
If the sanity code encounters a version change is doesn't understand, the current output is unreadable and confusing for the user, particularly due to the presence of the backtrace. Use improved functionality in bitbake to improve this and correctly pass python exceptions around. [YOCTO #9291] (From OE-Core rev: a0860e308645f17dbf4b9005b2fc0e9869d730bf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-31sanity: Require bitbake 1.29.1Richard Purdie
This is for the improved exec_func functionality. (From OE-Core rev: aedef9d6a585db9c1289f6117e72bdb576a1a304) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-31uninative: Switch md5sum -> sha256Richard Purdie
There are various concerns about md5 so use sha256 instead. (From OE-Core rev: a88603cb2ffd4f995e16349a389902eb884252e5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-31bitbake: cookerdata.py: remove slash in the endRobert Yang
It's very possible that we added layer as: BBLAYERS += "/path/to/meta/" then there would be warning: WARNING: No bb files matched BBFILE_PATTERN_core '^/path/to/meta//' This patch can fix the problem. (Bitbake rev: 2b1cb21d18fb18399e682021b866babeced9a4aa) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-31bitbake: Bump version to 1.29.1Richard Purdie
(Bitbake rev: 2f6be16c274974be5eb07641374d691ef049fe76) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-31bitbake: build/utils: Allow python functions to execute with real exception ↵Richard Purdie
handling With the code as it stands today it not possible to execute a python function and get "normal" python exception handling behaviour. If a python function raises an exception, it forces a traceback to be printed and the exception becomes a FuncFailed exception. This adds in a parameter 'pythonexception' which allows standard python exceptions to be passed unchanged with no traceback. Ultimately we may want to change to this convention in various places but at least it means we can start to add sane functions now. (Bitbake rev: 85cf22fd0ed26bb7dc7738ef2a10441891f38ae2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-31bitbake: fetch2: Ensure that incorrect checksumed files are always renamedRichard Purdie
There are some codepaths where the file checksum is verified and can be found to mismatch but the 'rename' logic doesn't kick in. If code relies on the presence of a file for the checksum having been checked (e.g. uninative.bbclass) then it can be used when the checksum hasn't matched. Therefore rename the file whenever an invalid checksum is encountered. (Bitbake rev: 69ef6c8a9db02bfa0e3fac72481ec26586a29a01) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-31bitbake: cooker: fix CookerParser.shutdown()Markus Lehtonen
Prevent a hang when shutdown() is called during parsing (e.g. after SIGINT). We must not append 'None' to the jobs queue. Otherwise the worker loop inside Parser.realrun() may break out at the wrong point, causing the results queue thread blocking bitbake indefinitely. [YOCTO #9319] (Bitbake rev: 7ebea3e9a60232222efa8a546a0ff28a53029949) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-30gcc: Fix musl ldso name for mips64Khem Raj
Now we have mips64 port of musl and there is a name for ldso, backport the fix from upstream gcc master (From OE-Core rev: fd37da3a559e0c494c7481849746ec12d492a7b2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-30selftest/buildoptions.py: use INHERIT +=Robert Yang
* INHERIT = -> INHERIT += (From OE-Core rev: 727566ea0e4d19797ecb4cce5750f78e895f6293) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-30archiver.bbclass: addtask do_deploy_archives_setsceneRobert Yang
There was a do_deploy_archives_setscene, but no addtask. (From OE-Core rev: 81db27c208468dc460e9d8f0063ad24b2b37dc97) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-30bitbake: cooker: Ensure bbappend order is deterministicRichard Purdie
Currently bbappend files in a layer are applied in the order they're found on disk (as reported by glob) which means things are not deterministic. By sorting the glob results, the order becomes deterministic, the parsing order for .bb files also should be deterministic as a result of this change. [YOCTO #9138] (Bitbake rev: 3f8febc4212fbd3485ac9bdd4ac71b8fb0a05693) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-30bitbake: checksum: In FileChecksumCache don't follow directory symlinksMarkus Lehtonen
Before this patch, directory symlinks mathcing filename pattern (either a file name or a glob pattern) were followed. However, directory symlinks deeper in the search chain were omitted by os.walk(). Now directory traversal behaves consistently, ignoring syminks on all levels. One reason for choosing not to "walk into" directory symlinks is that dir symlinks in externalsrc.bbclass in oe-core are causing problems in source tree checksumming. [YOCTO #8853] (Bitbake rev: 66dff37ebcd1dd14ebd6933d727df9cf0a641866) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-30gcc-5.3/gcc-4.9: -fdebug-prefix-map support to remap relative pathHongxu Jia
For relative path in DWARF, -fdebug-prefix-map could not remap it, so translate to real path before mapping. [YOCTO #9305] (From OE-Core rev: e50d23c30cd8259941b25e336b11cd96e4f6cd31) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-30ptest-runner_2.0.bb: Update recipe to point git.yoctoproject.org repo.Aníbal Limón
Since ptest-runner is a Yocto Project tool is better to have hosted into git.yoctoproject.org. (From OE-Core rev: 2fa1e9b3ebf3abb2b0b49ba1404e4f18483695d9) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-30man: fix src/Makefile to work with parallel makeBill Randle
The Makefile for man has a rule to create two generated targets with a program run from the shell. Because the rule was run twice, with parallel make, the generated files were being overwritten at the same time they were being compiled. This patch forces the rule to be run only once. [YOCTO #9333] (From OE-Core rev: 61f3ef6a209805577c0e731a73c4f0eab1ace748) Signed-off-by: Bill Randle <william.c.randle@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-30oeqa/selftest/bbtests: Test bbappend orderDaniel Istrate
BitBake should append to recipe in a predictable order. fix for [YOCTO #9145] test for [YOCTO #9138] (From OE-Core rev: 51bef86ce52fdc2455cd1879e3e19d5ccc5c1c9c) Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-29bitbake: cookerdata: Improve handling of ParseErrorRichard Purdie
If local.conf contains an invalid line, e.g.: APPEND += " igor" (note the leading space) then nasty tracebacks are shown which confuse the user. Change so the parse error is simply shown without a traceback, improving the user experience. [YOCTO #9332] (Bitbake rev: 148aa1fb45dcb37a756a08301a7daf270e753180) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-29gcc: Backport fixes for musl ssp configurationKhem Raj
We were trying to inject cached configure variables via EXTRA_OECONF, but that was not working due to the fact that gcc configure is called recursively via makefiles and hence these were getting lost. These backports from master fixes the problem by defining the options in configure itself dl_iterate_phdr is provided by musl as well, so lets not depend on glibc defines like inhibit_libc alone (From OE-Core rev: b3f80743cd1b9a15a8ee4d20c2a54c2f6cbcd13c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-29siteinfo: Fix musl 64bit targetsKhem Raj
Found that ssize_t was being wrongly computed for mips64 musl because it was using wrong cache files. alias them to glibc versions, musl doesn't _yet_ have target incompatibilities to note in siteinfo thankfully. Add musl aliases for aarch64 and ppc64 targets (From OE-Core rev: d3867743e7028046454dc135efeefadfa382f463) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-29musl: Update to tipKhem Raj
Rich Felker (2): fix padding string formats to width in wide printf variants fix outdated pathnames in COPYRIGHT file Szabolcs Nagy (7): deduplicate bits/mman.h mips64: add recent linux syscall numbers add copy_file_range syscall numbers from linux v4.5 add IPV6_HDRINCL socket option from linux v4.5 add SO_ATTACH_REUSEPORT_[CE]BPF socket options from linux v4.5 add EPOLLEXCLUSIVE epoll flag from linux v4.5 add MADV_FREE madvise command from linux v4.5 Timo Teräs (1): fix gethostbyaddr_r to fill struct hostent.h_length as appropriate updated paths in copyright text see http://git.musl-libc.org/cgit/musl/commit/?id=dc4520d9c0b79bc5944f509e4e9061e5081e38ca (From OE-Core rev: 2fe87b495c0529b87dd46905e048549235f543e0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-29buildhistory.bbclass: create image directory when neededPatrick Ohly
buildhistory_get_imageinfo() assumed that the buildhistory directory for the image had already been created earlier. That assumption is not true for special images (like the virtual swupd images from meta-swupd) where the entire traditional do_rootfs/do_image is skipped. Creating files-in-image.txt still makes sense for such images, so support them by creating the directory also in buildhistory_get_imageinfo(). (From OE-Core rev: 723328319ee53235969ec9cce7ff5d7729dcf8d7) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-29runqemu: fix for isoRobert Yang
It should be the similar type as hddimg, rather than ext234 or btrfs. (From OE-Core rev: d5ddc5ec1628c94bd5edc45bc821da1ce616e80f) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-29init-live.sh: fix overlay fsRobert Yang
* The name changes from overlayfs to overlayo * The workdir is a must when mount * The updir must be a subdir of rootfs.rw This patch plus with another one which has been sent to linux-yocto can fix the error when boot iso: EXT4-fs (loop0): re-mounted. Opts: data=ordered Populating dev cache /etc/init.d/rc: /etc/rcS.d/S37populate-volatile.sh: line 1: can't create /etc/volatile.cache.build: Read-only file system /etc/rcS.d/S36udev-cache: line 73: can't create /etc/udev-cache.tar.gz: Read-only file system udev-cache: update failed! rm: can't remove '/etc/udev/cache.data': Read-only file system /etc/init.d/rc: /etc/rcS.d/S37populate-volatile.sh: line 1: can't create /etc/volatile.cache.build: Read-only file system /etc/init.d/rc: /etc/rcS.d/S37populate-volatile.sh: line 1: can't create /etc/volatile.cache.build: Read-only file system /etc/init.d/rc: /etc/rcS.d/S37populate-volatile.sh: line 1: can't create /etc/volatile.cache.build: Read-only file system /etc/init.d/rc: /etc/rcS.d/S37populate-volatile.sh: line 1: can't create /etc/volatile.cache.build: Read-only file system /etc/init.d/rc: /etc/rcS.d/S37populate-volatile.sh: line 1: can't create /etc/volatile.cache.build: Read-only file system /etc/init.d/rc: /etc/rcS.d/S37populate-volatile.sh: line 1: can't create /etc/volatile.cache.build: Read-only file system /etc/init.d/rc: /etc/rcS.d/S37populate-volatile.sh: line 1: can't create /etc/volatile.cache.build: Read-only file system /etc/init.d/rc: /etc/rcS.d/S37populate-volatile.sh: line 1: can't create /etc/volatile.cache.build: Read-only file system rm: can't remove '/tmp': Read-only file system ln: /tmp/tmp: Read-only file system /etc/init.d/rc: /etc/rcS.d/S37populate-volatile.sh: line 1: can't create /etc/volatile.cache.build: Read-only file system /etc/init.d/rc: /etc/rcS.d/S37populate-volatile.sh: line 1: can't create /etc/volatile.cache.build: Read-only file system /etc/init.d/rc: /etc/rcS.d/S37populate-volatile.sh: line 1: can't create /etc/volatile.cache.build: Read-only file system ln: /etc/resolv.conf: Read-only file system /etc/init.d/rc: /etc/rcS.d/S37populate-volatile.sh: line 1: can't create /etc/volatile.cache.build: Read-only file system /etc/init.d/rc: /etc/rcS.d/S37populate-volatile.sh: line 1: can't create /etc/volatile.cache.build: Read-only file system (From OE-Core rev: ba918e0e36418ec6e14aef537ff4fdf45af6d8d4) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-29init-live.sh: fix ROOT_MOUNTRobert Yang
The '/' in the end is not needed, which caused '//' in the path. (From OE-Core rev: 6b0fc87ced857763ae7e9d1012fb9f5c952c2cc8) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-29no-static-libs.inc: build static libusb1-nativeMartin Jansa
(From OE-Core rev: c8256a88b366fdc9605e31765b4398f99520f483) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-29sstatesig: Ensure we keep native depends for allarch recipesRichard Purdie
Without this, do_package_write_rpm doesn't depend on rpm-native which it really should since that is needed to build rpms. [YOCTO #8047] (From OE-Core rev: 3fab4f9920d004fe13fb01434d4c7f3b8bbd7895) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-29oe-selftest: generate .env only in test_image_envEd Bartosh
Most of wic functionality doesn't depend on .wicenv file, so it's better to generate it only in test_image_env test case where it's used. (From OE-Core rev: caf9b41e1db7b565ef977200195d57b385127de9) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-28build-appliance-image: Update to master head revisionRichard Purdie
(From OE-Core rev: a3e254992444b0cc92e182151fefba7e3324ad55) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-28build-appliance-image: Fix permissionsJuro Bystricky
Explicitly set all permissions. This fixes various problems such as: Unable to create '/home/builder/poky/bitbake/lib/bb/pysh/pyshtables.py' [Errno 22] invalid mode ('w') or filename '/home/builder/poky/bitbake/lib/bb/pysh/pyshtables.py' and failure to create sub-directories in the directory 'poky': mkdir: cannot create directory '<dir>': Invalid argument While in there, added a few non-functional changes: Added sample proxy settings into .bashrc Added environmental variable with SRCREV actually used to populate the Build Appliance into .bashrc (BA_SRCREV) [YOCTO#9314] (From OE-Core rev: fcc558874d1ea533fb6ca488d2ab2223c1e21881) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-28bitbake: fetch2/wget.py: _check_latest_version_by_dir fix prefix detectionAníbal Limón
When prefix is part of the version directory it need to ensure that only version directory is used so remove previous directories if exists. Example: pfx = '/dir1/dir2/v' and version = '2.5' the expected result is 'v2.5' instead of '/dir1/dir2/v2.5'. [YOCTO #8778] (Bitbake rev: c760531c6dbf88135ab9f8e6f0784ccbf2cce1e4) Signed-off-by: Aníbal Limón <limon.anibal@gmail.com> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-28bitbake: fetch2/wget.py: _check_latest_version_by_dir use group namesAníbal Limón
Little improvement for reference tokens by names instead of index. (Bitbake rev: e8ea15eeb1857ed4bb6337836bd2fb1f5dbb1bdf) Signed-off-by: Aníbal Limón <limon.anibal@gmail.com> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-28conf/bitbake.conf package.bbclass: fix dbg package not contain sources while ↵Hongxu Jia
-fdebug-prefix-map used Tweak DEBUG_FLAGS to use "/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}" as source target path in DWARF. While use gdb to debug binary, it could work with sources in dbg package. While -fdebug-prefix-map is used for compiling, we do not need invoking debugedit to edit DWARF at do_package time, but list where sources files are. The copydebugsources uses the list to copy sources to dbg package. It works whether -fdebug-prefix-map used or not. [YOCTO #9305] (From OE-Core rev: ecb56a6ae0c870af680da03db9d39703b525fc98) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-28externalsrc: remove nostamp from do_configureMarkus Lehtonen
Extend the srctree_hash_files() function in externalsrc.bbclass to handle non-Git source trees. If the source tree is not a git repository, srctree_hash_files() now simply adds the whole source tree as a dependency, causing bitbake to basically hash every file in it. Hidden files and directories in the source tree root are ignored by the glob currently used. This has the advantage of automatically ignoring .git directory, for example. During the first bitbake run preparing of the task runqueue may take much longer if the source tree is not a git repository. The reason is that all the files in the source tree are hashed. Subsequent builds are not significantly slower because (most) file hashes are found from the cache. [YOCTO #8853] (From OE-Core rev: a797abe08bfe4144e120c984d1718c2cc3d87c0a) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-28externalsrc: do not use do_configure[nostamp] for git srctreesMarkus Lehtonen
Be a bit more intelligent than mindlessly re-compiling every time. Instead of always using 'nostamp' flag for do_compile run a python function to get a list of files to add as 'file-checksums' flag. The intention is to only re-run do_compile if something in the source tree content changes. This python function, srctree_hash_files(), works differently, depending if the source tree is a git repository clone or not. If the source tree is a git repository, the function runs 'git add .' and 'git write tree' to get a hash of the working tree and writes this hash into a file under the .git directory. This file containing the hash is then returned as the file for the task to depend on. Hash is changed if any changes are made in the source tree causing the task to be re-run. A trick is used to parse the recipe every time so that the hash file gets updated. If the source tree is not a git repository behaviour remains the same. In this case srctree_hash_files() currently sets the 'nostamp' flag for do_compile causing it to be re-run every time. This method of tracking changes source tree changes to determine if re-build is needed does not work perofectly, though. Many packages are built under ${S} which effectively changes the source tree causing some unwanted re-compilations. However, if do_compile of the recipe does not produce new/different artefacts on every run (as commonly is and should be the case) the re-compilation loop stops. Thus, you should usually see only one re-compilation (if any) after which the source tree is "stabilized" and no more re-compilations happen. [YOCTO #8853] (From OE-Core rev: a26becdf981b35d7ef8524f9e65c25a74b842f1d) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-28archiver.bbclass: Just archive gcc-source for all gcc recipesMariano Lopez
It is pointless to archive several times the gcc source. This change will archive gcc source once, for the gcc-source-{PV} recipe. [YOCTO #9327] (From OE-Core rev: 2f53fb2ae561e2eb599682ba95ce83ad1b4b7ada) 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-28oeqa/utils/ftools: improve remove_from_file algorithmRoss Burton
The algorithm was sub-optimal so replace it with something more elegant. (From OE-Core rev: 6119a90173f9222efa6df25aacf873af85d64bcd) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-28scripts:/oe-selftest: Use timestamp instead of test names in coverage data fileHumberto Ibarra
This fixes the problem by changing the name to the coverage data file, using the timestamp as an identifier. The name for the coverage data file is constructed based on the tests ran; this has created a couple of issues so far, affecting coverage report. If --run-tests-by option is given, the data file name won't have any identifier, causing following runs to overwrite themselves. On the other hand, if too many tests are given, the file name exceeds linux limits and fails to store the coverage data all together. [Yocto #9253] (From OE-Core rev: 7c0c9d1411e04935675f4c4be8768723c1d09b50) 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-28xcursor-transparent-theme: upgrade to latest git revisionJohannes Pointner
Incorporates the patches we were carrying, and adds some icon names that were not handled. (From OE-Core rev: 8ec6e1f57cb4d0594b96d317e89851630c984087) (From OE-Core rev: 43d8006c51b09ce4b158965a73433101186929f4) (From OE-Core rev: ae81abb3f5ec247114f7ba904d0b31fad5b16599) Signed-off-by: Johannes Pointner <johannes.pointner@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-28gdb: Fix build on mips64/muslKhem Raj
Define _ABIO32 if not already defined heps in fixing gdb for mips64 (From OE-Core rev: 512d976585086028f22ea88218a2bbf900062588) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-28libunwind: Fix build on mips/mips64 for musl targetsKhem Raj
(From OE-Core rev: c1847278dbfc3424790f7256be2b35bcdbaaf018) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-28toolchain-shar-extract.sh: check the length for target_sdk_dirWenlin Kang
Check the length for target_sdk_dir to ensure the relocation behaviour in relocate_sdk.py is correct. (From OE-Core rev: 2145bd0d188158c2db85b583b4d7f3ad4612593b) Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-28relocate_sdk: fixed .gccrelocprefix section handlingWenlin Kang
When fixing paths for .gccrelocprefix section, it will corrupt the next entry during updating the current one if "new_prefix" length is more than "DEFAULT_INSTALL_DIR", this problem is obvious on the code, but it's only found when install sdk onto a net file system. (From OE-Core rev: c43192c46bb1759bf6909190b89d3b60918777c5) Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-28glib-2.0: Fix packagingJussi Kukkonen
* move gdbus-codegen to ${PN}-codegen * move other development tools and data files to ${PN}-dev * remove references to non-existent paths (From OE-Core rev: 351064e9c5deb6411c8a0d40ebd4fd4f83299d4e) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>