summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* gnu-efi: upgrade 3.0.11 -> 3.0.12Wang Mingyu2020-05-151-3/+3
| | | | | | | (From OE-Core rev: 599bc20b9d3a2437e04894d035843f1042d34f3d) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* watchdog: upgrade 5.15 -> 5.16Wang Mingyu2020-05-152-36/+3
| | | | | | | | | | | | 0001-Include-linux-param.h-for-EXEC_PAGESIZE-definition.patch removed since it is included in 5.16 -License-Update: Copyright year updated to 2020. (From OE-Core rev: 1ec6381bb6b654076ee7eec1d3a8933a160b7811) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* freetype: upgrade 2.10.1 -> 2.10.2Wang Mingyu2020-05-151-2/+2
| | | | | | | (From OE-Core rev: 5d5adae33099101c86b00d29bcc1a2ecfb3a5888) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: fix condition for strndup detectionKhem Raj2020-05-141-6/+1
| | | | | | | | | current check does not work with gcc10 (From OE-Core rev: ce6c50ea68c34e02b487d54fdd9288e04833cdef) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Fix stpcpy detection for mingwKhem Raj2020-05-142-0/+54
| | | | | | | | | Backport an upstream patch to fix it (From OE-Core rev: 48b6f7e31ff042a4900307e830f9ed9375a8041a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* file: Remove unneccessary override of PACKAGECONFIG for nativePeter Kjellerstedt2020-05-141-1/+0
| | | | | | | | | | There is no reason to set PACKAGECONFIG_class-native to the same value as the default PACKAGECONFIG. (From OE-Core rev: 276a21cbbfc929f718fd758b64e3e0567534fd41) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wireless-regdb: Upgrade 2019.06.03 -> 2020.04.29Adrian Bunk2020-05-141-2/+1
| | | | | | | (From OE-Core rev: 5b71a3f3d1bca6b52f53b97971131a6771618420) Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/kernel: Generate reproducible kernel module tarballJoshua Watt2020-05-141-1/+7
| | | | | | | | | | | | | | | If reproducible binaries are requested, generate the kernel modules tarball in a reproducible way. Namely, sort the tarball contents, clamp the mtime to the source date epoch, compress the archive with a consistent compression level (9), and don't include the name and timestamp in the compressed file. [YOCTO #12719] (From OE-Core rev: 5c6a472c82a9b3c122fc54d3ee7171508c643a8b) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nettle: Remove workaround for gcc < 5Adrian Bunk2020-05-141-1/+0
| | | | | | | (From OE-Core rev: 09fa9dabe17f69db71f3773f8808af745fb8ed4a) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libtasn1: Remove workaround for host gcc < 5Adrian Bunk2020-05-141-2/+0
| | | | | | | (From OE-Core rev: 2c037f830856018b212d532198ae17932b3521d1) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-numpy: Remove workaround for host gcc < 5Adrian Bunk2020-05-141-3/+0
| | | | | | | (From OE-Core rev: 170ff91c90c17fe6615c1616c4298a9948b818a9) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vte: Remove workaround for gcc 4.8Adrian Bunk2020-05-142-28/+1
| | | | | | | (From OE-Core rev: 84e9c9ec86252fba7d0b472ec6f84793db51e62f) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc10: Revert using __getauxval in libgccKhem Raj2020-05-142-0/+48
| | | | | | | | | | This was added recently, but it seems be chewing more than what it should and causes non glibc packages also depend on it. (From OE-Core rev: 595d2df62b049e463568ab97cfe26d6df96a18a9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc10: Default back to -fcommonKhem Raj2020-05-141-0/+1
| | | | | | | | | | | For time being change back to -fcommon as default, helps us iron out other issues, eventually this should be removed as we fix the packages to work with -fno-common (From OE-Core rev: 951e859b1e8297970278c539e989b8a6d06a9cb3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Update to latest on 2.31 branchKhem Raj2020-05-145-349/+1
| | | | | | | | | | | | | | | | There are few fixes specifically for compiling with gcc10 that are good to have, before hitting them later Backport build fix from master for aarch64 with gcc10 Drop CVE-2020-10029 patch its already applied on latest 2.31 branch latest glibc 2.31 added fix for __getauxval/aarch64 issue (From OE-Core rev: 2c7e0e0bf32eb1ed0b7d8acddb16c0d1e93f2aa1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc10: Update to GCC 10.1 ReleaseKhem Raj2020-05-1456-701/+494
| | | | | | | | | | | | | | | | | * Package new gomp header acc_prof.h * Package lto-dump which is a new tool in gcc10 * All Changes are here [1] * Porting apps to gcc 10 help is here [2] * Backport a patch to fix CET errors on cross builds * Add patch to fix mingw libstdc++ [1] https://gcc.gnu.org/gcc-10/changes.html [2] https://gcc.gnu.org/gcc-10/porting_to.html (From OE-Core rev: 44c3881b18f74eb64379818fc150f94398fb8a49) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nettle: upgrade 3.5.1 -> 3.6Wang Mingyu2020-05-145-18/+33
| | | | | | | | | | | refresh the following patches: Add-target-to-only-build-tests-not-run-them.patch dlopen-test.patch (From OE-Core rev: cf4c4c65df5349b60895525418954281b3140173) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* populate_sdk_base.bbclass: fix warning: name not matchedwenlin.kang@windriver.com2020-05-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | When do populate_sdk with SDK_ARCHIVE_TYPE = "zip", have below warning in log file, this patch fixes it. zip warning: name not matched: sysroots/core2-64-poky-linux/etc/tmpfiles.d/etc.conf zip warning: name not matched: sysroots/core2-64-poky-linux/etc/tmpfiles.d/home.conf zip warning: name not matched: sysroots/core2-64-poky-linux/etc/resolv-conf.systemd zip warning: name not matched: sysroots/core2-64-poky-linux/etc/mtab zip warning: name not matched: sysroots/core2-64-poky-linux/etc/resolv.conf zip warning: name not matched: sysroots/core2-64-poky-linux/var/lock zip warning: name not matched: sysroots/core2-64-poky-linux/usr/lib/environment.d/99-environment.conf zip warning: name not matched: sysroots/core2-64-poky-linux/sbin/klogd zip warning: name not matched: sysroots/core2-64-poky-linux/sbin/syslogd zip warning: name not matched: sysroots/x86_64-pokysdk-linux/usr/bin/chfn zip warning: name not matched: sysroots/x86_64-pokysdk-linux/usr/bin/chsh zip warning: name not matched: sysroots/x86_64-pokysdk-linux/usr/bin/passwd zip warning: name not matched: sysroots/x86_64-pokysdk-linux/usr/bin/chpasswd zip warning: name not matched: sysroots/x86_64-pokysdk-linux/sbin/vipw zip warning: name not matched: sysroots/x86_64-pokysdk-linux/sbin/vigr zip warning: name not matched: sysroots/x86_64-pokysdk-linux/sbin/nologin (From OE-Core rev: 5f7df08aca81ac269490876fe84c7fc5b1d5739c) Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* llvm: Remove -fcommonAdrian Bunk2020-05-141-2/+0
| | | | | | | | | I cannot reproduce the problem. (From OE-Core rev: 80cc6e60b98da7c9de9e9da629353cf1fb687197) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* matchbox-wm: Replace -fcommon with fixAdrian Bunk2020-05-142-2/+42
| | | | | | | (From OE-Core rev: d69a05533048d0e50f5ee47b2c35675bc615728c) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* menu-cache: Replace -fcommon with fixAdrian Bunk2020-05-142-3/+114
| | | | | | | (From OE-Core rev: 97984f171b562f4ccaef527e6766b0e94697cf43) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* at-spi2-atk: Remove -fcommonAdrian Bunk2020-05-141-2/+0
| | | | | | | | | This was fixed in upstream version 2.34.0. (From OE-Core rev: 9562c93799a37cd18aceb6f24378ba02a69865f0) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Remove -fcommonAdrian Bunk2020-05-141-2/+0
| | | | | | | | | This was fixed in upstream version 20.0. (From OE-Core rev: 1d269a3f3a84cae92e611e02082150cfd97f8258) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xorg-xserver: Remove -fcommonAdrian Bunk2020-05-141-2/+0
| | | | | | | | | This was fixed in upstream version 1.20.8. (From OE-Core rev: be3457c76b3381d216087256effcbb3a0cb0356c) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcrypt2: Remove -fcommonAdrian Bunk2020-05-141-2/+0
| | | | | | | | | This was fixed in upstream version 4.4.12. (From OE-Core rev: 281d53ebab4c4c1b6c880ab14761d715196fb8d7) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* iproute2: Remove -fcommonAdrian Bunk2020-05-141-1/+1
| | | | | | | | | This was fixed in upstream version 5.5.0. (From OE-Core rev: 9a9f67b7c50a8c28a75fc48c8abcb8a7bb35f0e6) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* file: add PACKAGECONFIG for auto optionsKonrad Weihmann2020-05-121-2/+8
| | | | | | | | | | | | | | | | | A few options of file configure are set to auto, which can lead to unpredictable effects when something in the sysroot does provide things that satisfy the autotools checks. In the worst case this will lead to package-qa failures as libraries are not set in RDEPENDS but configured for the tool. To mitigate changes of accidental configure set explicit options via newly introduced PACKAGECONFIG variables for bzip, lzma and zlib support, where the default is just zlib, as it was before (From OE-Core rev: a2236917395239eba7a8358ca4de61fd0d25b27f) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcr: correct a build race between vapi filesAlexander Kanavin2020-05-122-0/+46
| | | | | | | (From OE-Core rev: 0bd81166946cea15eab3e6df9a1141d6a7373a20) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* selftest/imagefeatures: Enable sanity test for IMAGE_GEN_DEBUGFSYeoh Ee Peng2020-05-121-0/+32
| | | | | | | | | | | | | | Add new testcase to check IMAGE_GEN_DEBUGFS. Test makes sure that debug filesystem is created accordingly. Test also check for debug symbols for some packages as suggested by Ross Burton. [YOCTO #10906] (From OE-Core rev: 727e8819df17f0f959b602e6f7b6af15993fc466) Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com> Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-runtime: Avoid march conflicts with newer cortex-a55 CPUsKhem Raj2020-05-121-0/+4
| | | | | | | | | | | gcc-runtime/libatomic explicitly add -march=armv8-a+lse for all arch64 but cortex-a55 is armv8.2-a, which essentially conflicts, so let gcc override it by not forcing the -mcpu option from TUNE_CCARGS (From OE-Core rev: 882df891e13ce5c64718c364efb9ef2bf189eabf) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tunes: Add new tune files for cortexa55 and cortexa73-cortexa53Khem Raj2020-05-122-0/+40
| | | | | | | (From OE-Core rev: fd4a454b5a357c7a26792bf486212957c698839c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cpio: add patch to fix issues with gcc 10Richard Leitner2020-05-122-0/+29
| | | | | | | | | | gcc 10 introduced "-fno-common" as default. Therefore backport the according cpio patch to fix this issue. (From OE-Core rev: ca6e5511b59b585de793ff6424c7c6ccfcd8e61e) Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: add patch to fix issues with gcc 10Richard Leitner2020-05-122-0/+62
| | | | | | | | | | gcc 10 introduced "-fno-common" as default. Therefore backport the according binutils patch to fix this issue. (From OE-Core rev: fbeb572e1872cf64786d01d5c6408a6765f814ce) Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcomps: update to 0.1.15Richard Leitner2020-05-124-47/+15
| | | | | | | | | | | | | In this update the 0001-Make-__comps_objmrtree_all-static-inline.patch was mainlined by commit 18f52cb. Furthermore mainline commit 3237f44 fixes a build problem with the default "-fno-common" of gcc 10. (From OE-Core rev: 90b942d01decbcff3b883ee6fb4bba67fb446817) Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libtirpc: remove extra "-fcommon" from CFLAGSRichard Leitner2020-05-121-2/+0
| | | | | | | | | | | commit daed7eedba ("Avoid multiple-definiton with gcc -fno-common") of libtirpc fixed the -fno-common issues. Therefore it should be save to remove the extra "-fcommon" in CFLAGS. (From OE-Core rev: 9e4546701775fe98532f011f5ad146cfb1b33715) Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: Fix enum typedefJacob Kroon2020-05-122-0/+32
| | | | | | | | | | | 'pseudo_access_t' is a type, so use typedef. Fixes building pseudo with gcc 10 where -fno-common is the default. (From OE-Core rev: a7d519f742aadc9110c2401f359254210a784f6b) Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson.bbclass: Close the log file after readingAnton Eliasson2020-05-121-1/+2
| | | | | | | | | | | | | | | | This fixes warnings like: WARNING: package-name-0.0.1-r0 do_configure: <string>:164: ResourceWarning: unclosed file <_io.TextIOWrapper name='/source_directory/build/tmp/work/arch/package-name/0.0.1-r0/package-name-0.0.1//meson-logs/meson-log.txt' mode='r' encoding='UTF-8'> (From OE-Core rev: 4fe8bb4e3f15a3f4e153605d57096c565c5fac21) Signed-off-by: Anton Eliasson <anton.eliasson@axis.com> Reviewed-by: Ola x Nilsson <ola.x.nilsson@axis.com> Signed-off-by: Anton Eliasson <anton.eliasson@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pypi.bbclass: use new pypi UPSTREAM_CHECK_URITim Orling2020-05-121-1/+1
| | | | | | | | | | Upstream https://pypi.python.org/pypi/${PYPI_PACKAGE}/ redirects to https://pypi.org/project/${PYPI_PACKAGE}/ (From OE-Core rev: 308206a1d2dad33ba70a1461e7e101eaea0e1675) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pypi.bbclass: mind package suffix on version checkKonrad Weihmann2020-05-121-1/+1
| | | | | | | | | | | | Some pypi packages do have suffixes like dev, or a0 or b1. When doing a version check on these, the version will get falsely identified as major release versions. Add a terminating slash to rule out those false positives (From OE-Core rev: 21e3b2226597fce9ae9328cf4bdbb4cdba3aa711) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-git: 3.0.5 -> 3.1.2Kai Kang2020-05-121-2/+2
| | | | | | | (From OE-Core rev: 8cf74d626d562aa83acf0b05597b85392e4943c5) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Prevent git from detecting parent repo in recipeJoshua Watt2020-05-091-1/+5
| | | | | | | | | | | | | Prevents git commands run in a recipe from moving up past ${WORKDIR} when searching for a .git directory, and thus prevents them from detecting the parent OE-core .git directory. Fixes several reproducibility issues where recipes would use the OE-core version as the recipe version due to git walking up the tree. (From OE-Core rev: e496605ea197414b58025293e73dec099a8976c6) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: add the missing rdependsMingli Yu2020-05-091-0/+1
| | | | | | | | | | | | | | Add the missing rdepends to fix below error: # python3 [snip] >>> import setuptools [snip] ModuleNotFoundError: No module named 'json' (From OE-Core rev: f1dce04d2643352cd7a2c5a91eefc01d52926ecd) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/package_manager: update default rpm config %_prefer_colorChangqing Li2020-05-091-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | * %_prefer_color is used by rpm to determine which color's ELF file is preferred to be installed. Here are file colors: 0 is unknown or other 1 is Elf32 2 is Elf64 4 is MIPS64 n32 (this color is added by oe-core's patch) if default value set to 7, all colors are preferred color, always be last-in-wins. For this scenario, when we have 64bits python3 installed first, then install 32bits python3 later, 64bits python3 will be overwrited, and sys.path will point to /usr/lib, not /usr/lib64, this may cause some python3 modules not work. so fixed by remove setting of default value 7, and use default value 2 of rpm * other distro like fedora also use the default %_prefer_color 2 (From OE-Core rev: 56fa74497393a10f751d01c600c1936761e00294) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: fix file conflicts for MIPS64 N32Changqing Li2020-05-092-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following error occurred when prefer_color set to 2: Error: Transaction check error: file /sbin/ldconfig conflicts between attempted installs of ldconfig-2.31+git0+71f2b249a2-r0.mips64_n32 and lib32-ldconfig-2.31+git0+71f2b249a2-r0.mips32r2 file /usr/bin/gencat conflicts between attempted installs of lib32-libc6-utils-2.31+git0+71f2b249a2-r0.mips32r2 ... This was because: transactions_color = 001 (ELF32) & 010 (ELF64) & 100 (ELF32 N32 MIPS64) FColor = Current file color (001) & transaction_color (111) oFcolor = Previous file color (100) & transaction_color (111) when "neither preferred" happened, handled as conflicts. this is too restrictive for three way conflicts(mips64/mips64 n32/mips(32)). Fixed by perform a 'last-in-wins' resolution when "neither is preferred". refer: https://github.com/rpm-software-management/rpm/issues/193 https://git.openembedded.org/openembedded-core/commit/meta/recipes-devtools/rpm?id=36c225704daa58b98a4b7f2ef315eb944d8628b5 (From OE-Core rev: f94511fe5c163de8fb34d00ff3ba995437c3922c) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wget: improve reproducible buildJoe Slater2020-05-091-2/+7
| | | | | | | | | | | | Modify DEBUG_PREFIX_MAP as used by sed to handle whitespace correctly. This modifies an existing patch. (From OE-Core rev: bf746c2dea3ade181e91ef12d41dfe4286949e1d) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Add PACKAGECONFIG knob to enable VDPAU state tracker and driversZoltan Boszormenyi2020-05-091-1/+5
| | | | | | | (From OE-Core rev: 7ea4c7c32cbad1743852c27a2f0a87d6cf5a1820) Signed-off-by: Böszörményi Zoltán <zboszor@pr.hu> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Add PACKAGECONFIG knob to enable VAAPIZoltan Boszormenyi2020-05-091-0/+1
| | | | | | | | | | The previously added libva-initial recipe makes it possible and trivial. (From OE-Core rev: 1169238a4586852f807a63d9e70a8a556d84dac6) Signed-off-by: Böszörményi Zoltán <zboszor@pr.hu> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libva-initial: New bootstrap recipeZoltan Boszormenyi2020-05-093-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | Mesa needs libva.pc and libva headers to enable the VAAPI state tracker and drivers. This recipe is a variant of the full libva package build as in: * it only depends on libdrm to build so it doesn't introduce the circular dependency between mesa and libva, and * it doesn't include the libraries in the final package. However, there is another issue with build dependency handling in Yocto. libva depends on mesa and mesa depends on this package. Any package that depends on libva therefore would pull in libva and this package resulting in an error in the prepare-sysroot phase because they would install identical files into the per-recipe sysroot. Using the package name "*-initial" avoids this because of the interaction between sstate.bbclass and staging.bbclass: any package with the pattern "*-initial" in the name is excluded from the dependency list unless explicitly added to DEPENDS. (From OE-Core rev: b697f0446f9b016c6c229edda1bf20ca3a7c88ce) Signed-off-by: Böszörményi Zoltán <zboszor@pr.hu> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libva: Factor out base parts into an include fileZoltan Boszormenyi2020-05-092-24/+26
| | | | | | | | | | | | | | | To enable the VAAPI state tracker and drivers in mesa, it needs libva.pc and the libva headers. To enable GLX support in libva, it needs mesa to be compiled first. At the recipe level, this would create a circular dependency between libva and mesa. This is a preparation step before introducing a new libva recipe variant to break the circular dependency. (From OE-Core rev: 3028a2194e9ade70840600867e38d8873f07a93f) Signed-off-by: Böszörményi Zoltán <zboszor@pr.hu> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate.bbclass: Do not fail if files cannot be touchedPeter Kjellerstedt2020-05-091-4/+11
| | | | | | | | | | It may be that a file is not allowed to be touched, e.g., if it is a symbolic link into a global sstate cache served over NFS. (From OE-Core rev: 462e3f505217c9b9e0d2c1cbdafb0c8910bb6a59) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>