aboutsummaryrefslogtreecommitdiffstats
path: root/meta
AgeCommit message (Collapse)Author
2016-07-01oeqa.buildperf: add method for measuring file disk usageMarkus Lehtonen
Add a new method to BuildPerfTest class for measuring the disk usage of a file of directory. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01oeqa.buildperf: add method to log shell commandsMarkus Lehtonen
Add new methods to BuildPerfTest class for running a shell command and logging its output. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01oeqa.buildperf: method for measuring system resource usageMarkus Lehtonen
Extend BuildPerfTest class with a new method for measuring the system resource usage of a shell command to BuildPerfTest class. For now, easurement of the elapsed time is done with the Gnu time utility, similarly to the build-perf-test.sh shell script. And, it currently only records the elapsed (wall clock). The measured values (currently, only the elapsed time) is actually a dictionary, making it possible to extend it with additional resource values, e.g. cpu time or i/o usage, in the future. In addition to the actual values of the measurement each record contains a 'name' and 'legend' where name is supposed to function as a common key or id over test runs, making comparison and trending easier, for example. Legend is supposed to be a short human readable description. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01oeqa.buildperf: add BuildPerfTest classMarkus Lehtonen
The new class will be used as an abstract base class for build performance tests. This implementation contains some common functionality used in multiple tests, "copied" from the build-perf-test.sh shell script. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01oeqa.buildperf: functionality to drop kernel cachesMarkus Lehtonen
Add a new utility class for dropping Linux kernel caches. It uses sudo and tee to write to the drop_caches file. Checking if the user has the permissions to drop caches (without a password) is done by trying to writing an invalid value to the drop_caches file. This way, we will find if writing (with tee) is possible but not really dropping caches, yet. User can avoid giving the password by adding something like: <user> ALL = NOPASSWD: /usr/bin/tee /proc/sys/vm/drop_caches to the system sudoers file. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01oe-build-perf-test: introduce oeqa.buildperf moduleMarkus Lehtonen
Wireframe of a new Python module for containing build performance tests and utility functions. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01oeqa.utils.commands: runCmd: return stderr output, tooMarkus Lehtonen
Useful if one wants to separate stdout and stderr. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01oeqa.utils.commands: use get_bb_vars() in get_bb_var()Markus Lehtonen
Get rid of duplicate code. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01oeqa.utils.commands: Introduce get_bb_vars()Markus Lehtonen
A new function for getting values of multiple bitbake variables at the same time. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01lib/oe/package_manager: keep platform_extra and default_platform_extra lists ↵Bill Randle
ordered In RpmPM:insert_feeds_uris, the paths are kept in sets, which are unordered, but they are later used to set the priority for the Smart channels, so unexpected results could occur. Change the sets to lists and use the same code as in create_configs() to add items to the list, rather than the set operators. [YOCTO #9717] Signed-off-by: Bill Randle <william.c.randle@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01linux-libc-headers: Update doc for recipe dependsPatrick Williams
The previous documentation has not been accurate since at least commit 6a1ff0e. Recipes that follow the old documentation will not correctly build when sstate is enabled because the kernel source will not actually be available. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01gstreamer1.0-libav_git: bump version to 1.8.2Maxin B. John
Upgrade _git version to 1.8.2 release Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01gstreamer1.0-plugins-ugly_git: bump version to 1.8.2Maxin B. John
Upgrade _git version to 1.8.2 release Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01gstreamer1.0-plugins-base_git: bump version to 1.8.2Maxin B. John
Upgrade _git version to 1.8.2 release Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01gstreamer1.0-plugins-bad_git: bump version to 1.8.2Maxin B. John
Upgrade _git version to 1.8.2 release Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01gstreamer1.0-plugins-good_git: bump version to 1.8.2Maxin B. John
Upgrade _git version to 1.8.2 release Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01gstreamer1.0_git: bump to 1.8.2Maxin B. John
Upgrade _git version to 1.8.2 release Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01gstreamer1.0: Upgrade to 1.8.2Khem Raj
[ fix gstreamer1.0-libav checksum - RB ] Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01kernel-module-split.bbclass: add a prefix for module package name patternRicardo Neri
When splitting kernel modules into individual packages, such packages take their names from the module name. This is OK under most of the circumstances. However, it may lead to package naming collisions if there exists two modules with the same name. Situations like this can occur when building testing modules. For instance, there exists testing versions of the modules for non-volatile memory that are built with different linker options but bear the same module name. If one wants to package such modules, it is be good to be able to name packages differently. This can be done by prefixing the package name with a KERNEL_MODULE_PACKAGE_PREFIX that can be set by the recipes that inherit from module.bbclass. Cc: Megha Dey <megha.dey@intel.com> Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01watchdog: Fix build with muslKhem Raj
A similar patch has been submitted upstream Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01gcc5: Upgrade to gcc 5.4Khem Raj
Drop patches which has been applied to gcc5 branch until 5.4 release Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01uclibc: re-enable verbose compilationAndré Draszik
uClibc-ng swapped the meaning of V=1 and V=2 in 2015 before the 1.0.3 release. Before that, V=2 printed the full commands while V=1 printed the abbreviated versions. This recipe was never updated to follow the change and we since see brief build output only. At the same time, convert V from an environment variable to a make variable by adding to EXTRA_OEMAKE, so as to be in line with how things are done in other recipes that use kbuild. Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01uclibc: backport patch to fix gdb 7.11 compilationAndré Draszik
[YOCTO #9781] Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01classes/kernel: fix symlink logic when bundling initramfs imagesAndré Draszik
If linkpath points to the a file in KERNEL_OUTPUT_DIR, rather than outside, then symlink creation for the bundled initramfs image files fails. This is because in that case $linkpath.initramfs and $realpath.initramfs are in the same directory, KERNEL_OUTPUT_DIR, and hence are the same. Since we just created $realpath.initramfs, creating a symlink with the same name will fail. Given that $linkpath is not necessarily the same as the kernel image type, just removing this symlink creation is not the right thing to do, as in that case kernel_do_deploy() wouldn't find the bundled file. What we really want is a symlink from the name of the initramfs-bundled kernel image type to the real initramfs-bundled kernel image, as that is what is actually used later in do_deploy(). This brings the code path for when $KERNEL_OUTPUT_DIR/$type is a symlink in line with when it is not. Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01binutils: backport patch to fix mipsel (malta) kernel compileAndré Draszik
This fixes the following compilation error when building a mipsel yocto kernel for qemu: | CC arch/mips/mm/sc-ip22.o | {standard input}: Assembler messages: | {standard input}:128: Error: number (0x9000000080000000) larger than 32 bits | {standard input}:151: Error: number (0x9000000080000000) larger than 32 bits | {standard input}:186: Error: number (0x9000000080000000) larger than 32 bits We leave out the testsuite bits and the changelog in this backport. Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01glib: disable valgrind support when compiling in mips16e modeAndré Draszik
| mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -msoft-float \ | -march=mips32r2 -mips16 -minterlink-compressed -mtune=24kec \ | -mdsp --sysroot=<sysroot> -DHAVE_CONFIG_H -I. \ | -I<glib>/glib -I.. -I.. -I../glib -I<glib>/glib -I<glib> \ | -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DGLIB_COMPILATION \ | -DPCRE_STATIC -pthread -Wall -Wstrict-prototypes \ | -Werror=declaration-after-statement -Werror=missing-prototypes \ | -Werror=implicit-function-declaration -Werror=pointer-arith \ | -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs \ | -fvisibility=hidden -O2 -pipe -g -feliminate-unused-debug-types \ | -c <glib>/glib/gslice.c -fPIC -DPIC -o .libs/libglib_2_0_la-gslice.o | {standard input}: Assembler messages: | {standard input}:2485: Error: invalid operands `move $11,$8' | {standard input}:2487: Error: invalid operands `srl $0,$0,13' | {standard input}:2488: Error: invalid operands `srl $0,$0,29' | {standard input}:2489: Error: invalid operands `srl $0,$0,3' | {standard input}:2490: Error: invalid operands `srl $0,$0,19' | {standard input}:2491: Error: invalid operands `or $13,$13,$13' | Makefile:2076: recipe for target 'libglib_2_0_la-gslice.lo' failed The alternative would probably be to force compilation in normal mips mode for all of glib (as is done for armv4 and armv5). While that would retain the valgrind support, valgrind support itself shouldn't be needed on the target device, and we rather keep the mips16e mode. Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01libffi: don't compile in mips16e modeAndré Draszik
libffi contains hand-written assembly which is not compatible with the MIPS16e mode. Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01uclibc: don't compile in mips16e modeAndré Draszik
uClibc contains hand-written assembly which is not compatible with the MIPS16e mode. Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01gmp: don't compile in mips16e modeAndré Draszik
gmp contains hand-written assembly which is not compatible with the MIPS16e mode. Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01json-c: backport patch to fix uClibc link issuesAndré Draszik
We need to link against libm as we get linker errors otherwise: <sysroot>/usr/lib/libjson-c.so.2: undefined reference to `__isnan' <sysroot>/usr/lib/libjson-c.so.2: undefined reference to `__isinf' collect2: error: ld returned 1 exit status Backport the upstream patch. Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01libidn: fix QA warning (uClibc)André Draszik
WARNING: libidn-1.32-r0 do_package_qa: QA Issue: libidn rdepends on libiconv, but it isn't a build dependency, missing libiconv in DEPENDS or PACKAGECONFIG? [build-deps] We already have virtual/libiconv which is set appropriately in all environments, so let's use it to fix the issue. Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01classes/kernel: fix symlink creation in DEPLOYDIR for bundled initramfsAndré Draszik
If multiple kernel image types have been specified, only the very first one would receive a symlink in DEPLOYDIR. The reason is that we're looping over the list of image types and check if a bundled initramfs images exists using a relative path. As part of the loop we're changing the current directory, hence all additional iterations fail to see the files we're looking for, and hence no symlinks are being created. Fix by not changing the directory and adjusting the ln invocation instead. Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01musl: Upgrade to tipKhem Raj
Rich Felker (4): fix undefined pointer arithmetic in CMSG_NXTHDR macro fix a64l undefined behavior on ILP32 archs, wrong results on LP64 archs avoid padding gaps in struct sockaddr_storage remove comments on copyright status from UTF-8 implementation files Szabolcs Nagy (8): fix the use of uninitialized value in regcomp add preadv2 and pwritev2 syscall numbers for linux v4.6 add SO_CNX_ADVICE to sys/socket.h, new in linux v4.6 add ETH_P_MACSEC netinet/if_ether.h, new in linux v4.6 update siginfo struct for linux v4.6 add CLONE_NEWCGROUP clone flag, new in linux v4.6 add new tcp_info fields from linux v4.6 update sys/socket.h to linux v4.6 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01pythonnative.bbclass, python3native.bbclass: use DEPENDS_append instead of ↵Alexander Kanavin
DEPENDS += Otherwise -native variants of recipes that use these classes don't get a proper python[3]-native dependency for some reason. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01systemd: upgrade to 230Chen Qi
Patches are rebased or removed for the latest version. Python testing scripts are removed for systemd-ptest as systemd is configured with '--without-python'. systemd-bootchart is now seprated from systemd, thus removing the related configuration items. And we add systemd-bootchart recipe. [ systemd-bootchart: add missing distro features check - RB ] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01bash-completion: delete files util-linux providesChen Qi
Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01util-linux: upgrade to 2.28Chen Qi
Related patches are rebased. util-linux-ng-2.16-mount_lock_path.patch is removed because there's no _PATH_MOUNTED_LOCK in the latest codes. util-linux-native.patch is removed because 2.28 version of util-linux has taken mkostemp into consideration and provide fallback if mkostemp fails. avoid_unsupported_sleep_param.patch is removed and coreutils is added as a runtime dependency to util-linux-ptest to solve the same problem. avoid_unsupported_grep_opts.patch is removed and grep is added as a runtime dependency to util-linux-ptest to solve the sanme problem. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01libcap: fix the libcap-native building failure on CentOS 6.7Roy Li
Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01libsdl2: Add missing comma typoAndrew F. Davis
Signed-off-by: Andrew F. Davis <afd@ti.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01pythonnative.bbclass, python3native.bbclass: export STAGING_INCDIR, ↵Alexander Kanavin
STAGING_LIBDIR, PYTHON variables We patch Python's distutils modules to access STAGING_INCDIR/LIBDIR, so when they are not set, scripts that utilize distutils (e.g. python-config) fail. Several recipes need to export those manually to prevent such failures, so let's do that in the class instead. PYTHON variable is exported because otherwise autotools' python.m4 macro will pick up its own internal default, which may not be the version that we want. glib recipe in particular was previously using Python 2.x during build due to python.m4 defaulting to it - now it's using Python 3.x, and so needs a small fix in deletion of *.pyc files. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01gdb-cross: do not hardcode the use of Python 2Alexander Kanavin
This was overlooked in the move to Python 3 Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01connman-gnome: StatusIcon adapts to size changesJussi Kukkonen
Update the Gtk3 patch to make the StatusIcon load pixbufs at (more) correct sizes -- Gtk3 does not seem to reliably position the icon otherwise. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01vte: don't build test appJussi Kukkonen
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01gsettings-desktop-schemas: inherit upstream-version-is-evenJussi Kukkonen
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01cairo: inherit upstream-version-is-evenJussi Kukkonen
Even versions are releases, odd are "snapshots". Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01puzzles: Keep building even with deprecation warningsJussi Kukkonen
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01clutter-gtk-1.0: Upgrade 1.6.6 -> 1.8.0Jussi Kukkonen
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01at-spi2-atk: Upgrade 2.18.1 -> 2.20.1Jussi Kukkonen
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01at-spi2-core: Upgrade 2.18.3 -> 2.20.2Jussi Kukkonen
Add systemd unit, patch in a configure flag to set the correct dir. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01atk: Upgrade 2.18.0 -> 2.20.0Jussi Kukkonen
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>