summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* x86-base.inc: replace intel i965 driver with crocusMarkus Volk2022-03-151-1/+1
| | | | | | | | | | | | | | this fixes do_rootfs for core-image-sato after mesa update: Problem: package packagegroup-core-x11-base-1.0-r1.noarch requires packagegroup-core-x11-xserver, but none of the providers can be installed - conflicting requests - nothing provides mesa-driver-i965 needed by packagegroup-core-x11-xserver-1.0-r40.intel_corei7_64 (try to add '--skip-broken' to skip uninstallable packages) (From OE-Core rev: 63f10412d793c6c10290838eb230f179046f1d23) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: update 1.12.22 -> 1.14.0Alexander Kanavin2022-03-154-293/+4
| | | | | | | | | | | | | | | | | Drop patches: clear-guid_from_server-if-send_negotiate_unix_f.patch stop_using_selinux_set_mapping.patch (both merged upstream) python-config.patch (patched code removed upstream) License-Update: whitespace fixes (From OE-Core rev: 4513e4369973afb71f40625da058a3eaf6ccd4c4) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: merge dbus.inc into the recipeAlexander Kanavin2022-03-152-40/+39
| | | | | | | | | The content is unchanged. (From OE-Core rev: f4da7532b726c3661e71f90e79f6641f903fdc74) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-test: merge into main dbus recipeAlexander Kanavin2022-03-157-109/+12
| | | | | | | | | | | | | | | | | | | | | | The reason it was separate is that there is a peculiar circular dependency: dbus tests require glib, while some of glib's gdbus tests require dbus. So dbus was built with tests disabled and without glib dependency, then glib was built with dbus dependency, then dbus was built again with glib dependency and tests enabled, only for the purpose of installing those tests. I find that brittle and hacky, so this removes dbus dependecy from glib (the fallout is that some gdbus tests are no longer being executed), and dbus and its tests are built once, after glib. Conversely, dbus is now dependent on glib for the purpose of building the tests. Also, dbus ptest installation is no longer using custom code, and dbus run-ptest simply uses standard installed tests execution mechanism from gnome. (From OE-Core rev: cfecef4e6925865961858d0fe5ffc7794c71cd3b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: drop landing_not_managed templateTim Orling2022-03-151-34/+0
| | | | | | | | | | This template is not referenced anywhere and therefore not used. It also refers to the obsolete "build mode" in the old docs. (Bitbake rev: f89a35155e3b8d12ac609a165c63ed206751b8da) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake: buildinfohelper.py fix for Django 3.2Tim Orling2022-03-151-11/+5
| | | | | | | | | | connection.features.autocommits_when_autocommit_is_off was deprecated in 3.0 and is no longer present in 3.2 (Bitbake rev: cc0f526fb4298349d0eea44c8f35d3dd226cc8d6) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: migratation for models.BigAutoFieldTim Orling2022-03-152-0/+221
| | | | | | | | | | Follow the default guidelines from Django 3.2 setting DEFAULT_AUTO_FIELD to django.db.models.BigAutoField which leads to these migrations. (Bitbake rev: ccfdcf5ed6b5d2024c268bace30e53753d1f4da4) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: set DEFAULT_AUTO_FIELDTim Orling2022-03-151-0/+3
| | | | | | | | | | | | | | | New in Django 3.2. Silence warnings by adding: DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' in toastermain/settings.py (Bitbake rev: cbc5a8e339a8b5eb4cdd89ad898af432f05cadfb) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: orm/models -- drop django.utils.sixTim Orling2022-03-151-1/+0
| | | | | | | | | Django 3.2 no longer has django.utils.six module. (Bitbake rev: ae03c1f05e37f70e72a2ac08f7c718b8fc4fc36e) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Update docs links in templatesTim Orling2022-03-156-11/+11
| | | | | | | | | | Update docs links from www.yoctoproject.org to the docs.yoctoproject.org equivalents. (Bitbake rev: 74194962eb294c9bd1192ddd7935d57258712ee2) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster-requirements.txt: Django 3.2 LTSTim Orling2022-03-151-1/+1
| | | | | | | | | | | Django 2.2.x goes EOL April 2022. Switch the to current LTS Django 3.2.x supported until April 2024. (Bitbake rev: 23a15c5703d5ef4190921f9bb0273e43b1de489c) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/runtime/ping: Improve failure message to include more detailRichard Purdie2022-03-131-8/+12
| | | | | | | | | | When the ping test fails due to a timeout we only get limited debug information. Tweak the code to improve that in case it sheds any light on intermittent failures. (From OE-Core rev: d81704057950e1970ef7f673fa771834fd2b3f1e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: add use-pixman PACKAGECONFIGMing Liu2022-03-131-0/+5
| | | | | | | | | | | Fbdev backend has been deprecated since weston 10.0.0, and it could be replaced by passing --use-pixman to drm backend, add a use-pixman PACKAGECONFIG for convenience. (From OE-Core rev: e3dc3ee5e41caa1691ebdb1c6ed6e51077f9ce7a) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image.bbclass: make sure do_rootfs run from a clean workspaceMing Liu2022-03-132-6/+2
| | | | | | | | | | | | Add ${IMAGE_ROOTFS} and ${IMGDEPLOYDIR} to do_rootfs[dirs] and do_rootfs[cleandirs], this ensures do_rootfs run from a clean workspace, with this change, we can now remove two bb.utils.mkdirhier lines from meta/lib/oe/rootfs.py. (From OE-Core rev: cb8b6f7eee4e059bb311330c57068e11bc477366) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "mesa: make sure GLES3 headers are installed"Richard Purdie2022-03-131-3/+0
| | | | | | | | This reverts commit 7c6effef9d471efbaea76e23e91938687fcc661c. It uses old overrides syntax which simply doesn't work. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml2: update to 2.9.13Ralph Siemsen2022-03-133-226/+8
| | | | | | | | | | | - new version includes fix for CVE-2022-23308 - drop patche which was upstream - refresh patch (From OE-Core rev: d687f1ac2017a1cc94ac4733cd46755d5aabd120) Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml2: move to gitlab.gnome.orgRalph Siemsen2022-03-131-4/+5
| | | | | | | | | | | | | | | The project has migrated from www.xmlsoft.org to gitlab.gnome.org. Update the homepage accordingly, and use gnomebase to construct the download URL, rather than including it in SRC_URI explicitly. Note that the download is now in .xz format rather than .gz, so the sha256sum is updated accordingly. Post-decompression tarballs are identical, so there is no change to the libxml2 code. (From OE-Core rev: 8bc17ceb997f8f31a03e5f5efc41c03ef1df3add) Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python_pep517: move PEP517_SOURCE_PATH to python_pep517Ross Burton2022-03-133-6/+3
| | | | | | | | | | Now we have the start of a PEP-517 base class, the PEP517_SOURCE_PATH variable can be defined in there instead of the classes that use it. (From OE-Core rev: 69944121f49f613568bf0c62ae6b3b47af195dbe) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: rename pip_install_wheel.bbclass to python_pep517.bbclassRoss Burton2022-03-138-26/+29
| | | | | | | | | | | | pip_install_wheel shouldn't restricted to just using Pip to install wheels (the installer module is simplier and likely a better option), and in the future may be extended to also provide do_compile() using the build module. (From OE-Core rev: 3bdf64b97facce9706cc579bdbc9a80e0d48428f) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: move gen_fixtures to the correct pathRichard Purdie2022-03-131-0/+0
| | | | | | | | Fix a bad patch merge and move the file to the correct path. (Bitbake rev: d173f45a88cc9460734e7cc0b87952c0ea0ff270) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: automation to generate fixture filesDavid Reyna2022-03-121-0/+445
| | | | | | | | | | | Add script to safely generate the fixture files from a table [YOCTO #14759] (Bitbake rev: ec5e9fff8f71ba81bf5e9207abcd3011d63d86d9) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Add 'Kirkstone', 'Honister', and 'Hardknott'. Remove ↵David Reyna2022-03-122-38/+100
| | | | | | | | | | | 'Dunfell' and 'Gatesgarth'. [YOCTO #14757] (Bitbake rev: 49308d1db4f7af81e31db21dc8954947de5976c7) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove obsolete PIP_INSTALL_PACKAGERoss Burton2022-03-1212-18/+0
| | | | | | | | | | PIP_INSTALL_PACKAGE isn't used anymore, so remove all instances of it from the recipes. (From OE-Core rev: 15baf24f750ab2c8b0a46d4a3bf2ae9bfa3d0aff) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* setuptools3-base: improve RDEPENDS assignmentRoss Burton2022-03-121-1/+1
| | | | | | | | | | | | | Use :append instead of += so that recipes can assign to RDEPENDS:${PN}. This fixes missing RDEPENDS for sixteen recipes in oe-core alone. Also instead of using obscure inline Python we can just use the class-target override. (From OE-Core rev: c4ecd63593df2ffd5c1b7ae1c50652ca57ebe219) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub-efi: Add option to include all available modulesDiego Sueiro2022-03-121-2/+13
| | | | | | | | | | | | | Include all available modules If 'all' is present in GRUB_BUILDIN variable. To achieve this we need to search for all .mod files in ${B}/grub-core/ and pass them to grub-mkimage command. Also, add the verbose option to grub-mkimage. (From OE-Core rev: ed1bf9aa0af8c12905cf8332bbbb212ab158fe3c) Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcompat: Update to latestKhem Raj2022-03-121-1/+1
| | | | | | | | | | | | | | | Brings in these fixes * 391b270 unistd: add __close * 8af2ff2 random_r: set `x` before calling savestate_r * cca99e8 wchar: add __mbrlen * 59e99e9 random_r: Add reentrant random functions from LSB * 6461276 gnulib: Add __fdelt_warn alias (From OE-Core rev: f2bc34d68b29077d548e280a25b19f38da126d00) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bind: all even versions now get long term maintenance windowsAlexander Kanavin2022-03-121-2/+2
| | | | | | | | | | | See here: https://www.isc.org/download/ https://kb.isc.org/docs/aa-00896 (From OE-Core rev: d3756fd781730847f9d9576d70424b0a7b3e1840) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: require wayland as a distro featureJoe Slater2022-03-111-1/+1
| | | | | | | | | | Weston will not configure successfully unless wayland is a distro feature. (From OE-Core rev: bc72eb17b74606514694a6655d65dab9b2ee96e8) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oe-pkgdata-util: Adapt to the new variable override syntaxPeter Kjellerstedt2022-03-111-1/+1
| | | | | | | (From OE-Core rev: 2bf6a0ca9fdf639418646700b20b65c9960efdbe) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* seatd: upgrade to 0.6.4 (fixes CVE-2022-25643)Ross Burton2022-03-111-2/+2
| | | | | | | | | | We need to set nobranch=1 as the 0.6.4 tag isn't on any branches at present. (From OE-Core rev: 5637ebe76885c21c2c3f975b4f412b02f9e02456) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* files: overlayfs-etc: add overlay mount options to preinitClaudius Heine2022-03-111-0/+1
| | | | | | | | | | | | | | | | | Overlayfs-etc is useful if the rootfs is read-only. One reason to have the rootfs read-only is to allow image based updating. Image based updating will change the underlying root file system, which is unsupported by overlayfs when with some mount options [1]. This disables those options. [1] https://www.kernel.org/doc/html/latest/filesystems/overlayfs.html?highlight=overlayfs#changes-to-underlying-filesystems (From OE-Core rev: 13a057d6ffc3110f891224d7af9455b53581e8a8) Signed-off-by: Claudius Heine <ch@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* files: overlayfs-etc: wrap long lines of preinit fileClaudius Heine2022-03-111-2/+9
| | | | | | | | | | Make it easier to see what is happening by wrapping the overly long lines in the preinit file for the overlayfs-etc. (From OE-Core rev: 2e116bbc1afbc571b99f2605839e3c90839471be) Signed-off-by: Claudius Heine <ch@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* iptables: do not install /etc/ethertypesTrevor Gamblin2022-03-112-0/+41
| | | | | | | | | | | | | | | Take inspiration from the ebtables recipe in meta-networking and omit installation of etc/ethertypes, since it is provided by netbase. If we don't do this, the following error occurs during build: Error: Transaction test error: file /etc/ethertypes conflicts between attempted installs of iptables-1.8.7-r0.core2_64 and netbase-1:6.3-r0.noarch (From OE-Core rev: 297fde1a6fc9ddf12bb4b0cba1d5b03664a3f378) Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pip_install_wheel: add a generic do_install for bootstrappingRoss Burton2022-03-115-11/+10
| | | | | | | | | | | | | | | | | Several recipes are duplicating the same bootstrap logic for installing a wheel without using any tools. Add an implementation to pip_install_wheel to centralise the code, and remove the duplicated code from the following recipes: - python3-flit-core - python3-pip - python3-setuptools - python3-wheel (From OE-Core rev: d5d702a2cd06f863340f8e4cdce0904c9d86384d) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: remove redundant DEPENDS on python3-setuptools-nativeRoss Burton2022-03-111-1/+1
| | | | | | | | | | This recipe inherits setuptools_build_meta which already depends on python3-setuptools-native. (From OE-Core rev: 5d514b5dbd09ce059047d849d5b7cc2b2327564d) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* flit_core: remove redundant python3-pip-native DEPENDSRoss Burton2022-03-111-1/+1
| | | | | | | | | | PIP is not needed by this class directly, but is used by pip_install_wheel which already depends on python3-pip-native. (From OE-Core rev: 2f18b35b8da5dad471c325138be52191412e4100) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* m4: Fix build on musl/ppcKhem Raj2022-03-112-0/+38
| | | | | | | (From OE-Core rev: 41ccf5b38506608032754beaff393f74e0403fd1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libtool: Recognise additional linker commandline options passed by clangKhem Raj2022-03-112-0/+38
| | | | | | | | | | Like stdlib, these options are also used to select runtime libraries by clang driver (From OE-Core rev: 6d2035b9017552f050e53add0b3ef4090141fc5e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* unzip: Pass LDFLAGS to configure testsKhem Raj2022-03-112-0/+138
| | | | | | | | | | Ensures the configure time tests are compiled/linked with the Options that it will be using to build. (From OE-Core rev: 6d01bb24f198710b7acb49c43a8a813b6e01ed14) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Fix IMAGE_INSTALL issues with _append vs :appendRichard Purdie2022-03-113-10/+10
| | | | | | | | | | | | | | | After the override syntax change, toaster isn't working correctly. This is because it uses IMAGE_INSTALL_append instead of IMAGE_INSTALL:append. This tweaks the code accordingly to fix this. I have a suspicion that exiting toaster databases may struggle with the change and there are some migration steps missing for the whole overrides syntax change step. (Bitbake rev: befc93c3e03a9b1a2b630cd5badcda756fe6cd28) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cooker: Fix environment history printingRichard Purdie2022-03-111-0/+2
| | | | | | | | | | | | | | | | | | | | bitbake -e is not showing variable history correctly for all variables. The issue was triggered by the change to knotty to default to enabling variable tracking in the base datastore but that exposed another issue. The real problem is that calling reset() inside cooker reverts to the data tracking enabled by the UI for the base datastore, then turns off tracking. In the case of the environment printing code, it needs it to be left on. Tweak the code to ensure data store tracking really is enabled. The code here is clearly a bit of a mess but this at least fixes a clear regression until more invasive improvements can be made. (Bitbake rev: 9596bffc9903f023d1cc97ce531ddb1cf010c4d7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: knotty.py: A little clean up of TerminalFilter::updateFooter()Peter Kjellerstedt2022-03-111-4/+2
| | | | | | | | | | * Use max() to clamp progress to >= 0. * Be consistent when evaluating self.quiet (treat it as a boolean). (Bitbake rev: 160f71372ff93894d9314619e9d3b547c1f3cda3) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: knotty.py: Correct the width of the progress bar for the real tasksPeter Kjellerstedt2022-03-111-5/+14
| | | | | | | | | | | | | | | | | In commit 8055ec36 (knotty: Improve setscene task display) the setscene tasks got their own line in the task output. However, the progress bar code does not handle newlines in its widgets, so the length of the setscene line was included when calculating how much space is available for the progress bar of the running tasks, making it much too short. Instead of trying to teach the progress bar code to handle newlines, separate the output of the setscene tasks from the progress bar for the real tasks. (Bitbake rev: a41f7792f17acdba8c7ea83b79e413ae6a49da68) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: knotty.py: Improve the message while waiting for running tasks to ↵Peter Kjellerstedt2022-03-111-1/+4
| | | | | | | | | | | | finish Use pluralise() to correct the grammar, and drop the colon at the end if runnning in quiet mode. (Bitbake rev: 57396289f935892390c11afe95f3eede28fd80e7) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: uievent: Fix import warning for python 3.10Richard Purdie2022-03-101-1/+1
| | | | | | (Bitbake rev: bf1de5988698c797403ecd30edda99a76e9c02dd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* overlayfs-etc: add condition to package-management feature conflictClaudius Heine2022-03-101-1/+1
| | | | | | | | | | | The conflict with the `package-managment` only happens if the `overlayfs-etc` class overwrites `/sbin/init`, which is not the case when `OVERLAYFS_ETC_USE_ORIG_INIT_NAME` is set to `0`. (From OE-Core rev: c577382c6d155b3a784d06e4c916783cde7165c8) Signed-off-by: Claudius Heine <ch@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* overlayfs: add systemd unit path prefix to FILES:${PN} arrayClaudius Heine2022-03-101-1/+2
| | | | | | | | | | | | | | The 'FILES:${PN}' array is missing the systemd unit dir prefix causing them to not be packaged and the build fails with the `installed-vs-shipped` error. This adds the `systemd_system_unitdir` variable in front of every unit file added with this class. (From OE-Core rev: d19166cbc567be0803eaf8d0a2a20f44758aae7b) Signed-off-by: Claudius Heine <ch@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* webkitgtk: Fix build when x11 is not in distro featuresKhem Raj2022-03-101-0/+3
| | | | | | | | | | | | | | | | | | | | ANGLE's copy of khrplatform.h is not uptodate with mesa/khronos khrplatform.h which uses MESA_EGL_NO_X11_HEADERS which is now renamed in newer headers to EGL_NO_X11 from mesa/khronos headers, however this define is relatively new and 3D stacks do not have this adopted but apps like qemu and bunch of others depend on it, I guess they assume mesa. One can argue that its better to fix the 3D stacks to behave like mesa but this means every BSP using these stacks will need to carry such a fix. https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/include/EGL/eglplatform.h This patch helps with that (From OE-Core rev: 4f6b987705a624da3304cb559b885c4352f9b517) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Fix build when x11 is not in distro featuresKhem Raj2022-03-101-0/+2
| | | | | | | | | | | | | | | | | There is use of MESA_EGL_NO_X11_HEADERS which is now renamed in newer headers to EGL_NO_X11 from mesa/khronos headers, however this define is relatively new and 3D stacks do not have this adopted but apps like qemu and bunch of others depend on it, I guess they assume mesa. One can argue that its better to fix the 3D stacks to behave like mesa but this means every BSP using these stacks will need to carry such a fix. https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/include/EGL/eglplatform.h (From OE-Core rev: 8c9d0bc4eb2784a3defa047e509d96e0eb521c03) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* conf/machine: fix QEMU x86 sound optionsMichael Opdenacker2022-03-102-2/+2
| | | | | | | | | | | | | This updates the QEMU sounds options for x86 emulation, when "runqemu" is called with the "audio" argument, to fix the below error: runqemu - ERROR - Failed to run qemu: qemu-system-x86_64: warning: '-soundhw ac97' is deprecated, please use '-device AC97' instead (From OE-Core rev: b802a5dd1a79c7be3bc790223a733ebc9be4f117) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>