summaryrefslogtreecommitdiffstats
path: root/meta/conf
Commit message (Collapse)AuthorAgeFilesLines
...
* python3-jinja2: Import from meta-oe/meta-pythonRichard Purdie2020-09-211-0/+1
| | | | | | | | | | | | | | This is used by some of the results handling code and needed as part of buildtools tarball on various autobuilder worker for testing. ptest is disabled for OE-Core, at least for now since it depends on python3-pytest which in turn has may other dependencies. Acked-by: Tim Orling <ticotimo@gmail.com> (From OE-Core rev: 9d30a3b95ef4dce8925f88c8d8d854ed48c5f367) Signed-off-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-markupsafe: Import from meta-oe/meta-pythonRichard Purdie2020-09-211-0/+1
| | | | | | | | | | | | Needed as a dependency of python3-jinja2. ptest is disabled for OE-Core, at least for now since it depends on python3-pytest which in turn has may other dependencies. Acked-by: Tim Orling <ticotimo@gmail.com> (From OE-Core rev: 94a04a42826ee95a27abe52d43b31b0f053260d9) Signed-off-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: use ${TCMODE}-${TCLIBC} directory for CACHEMartin Jansa2020-09-172-6/+4
| | | | | | | | | | | | | | | | | | | | | | | * move TCMODE and TCLIBC from defaultsetup.conf to bitbake.conf * set CACHE as it was in defaultsetup.conf and drop it from defaultsetup.conf * most if not all DISTROs are now including defaultsetup.conf and TCLIBC is pretty much expected to be always set correctly, e.g.: meta/recipes-core/systemd/systemd_243.2.bb: if d.getVar('TCLIBC') == "musl": meta/recipes-devtools/gcc/gcc-runtime.inc: if [ "${TCLIBC}" != "glibc" ]; then meta/recipes-devtools/gcc/libgcc.inc: if [ "${TCLIBC}" != "glibc" ]; then meta/recipes-devtools/icecc-toolchain/nativesdk-icecc-toolchain_0.1.bb:ENV_NAME="${DISTRO}-${TCLIBC}-${SDK_ARCH}-@TARGET_PREFIX@${DISTRO_VERSION}.tar.gz" meta/recipes-devtools/valgrind/valgrind_3.15.0.bb:RRECOMMENDS_${PN} += "${TCLIBC}-dbg" meta/recipes-kernel/linux/kernel-devsrc.bb:RDEPENDS_${PN} = "bc python3 flex bison ${TCLIBC}-utils" meta/classes/buildhistory.bbclass:BUILDHISTORY_DIR_IMAGE = "${BUILDHISTORY_DIR}/images/${MACHINE_ARCH}/${TCLIBC}/${IMAGE_BASENAME}" meta/classes/cross-canadian.bbclass: if d.getVar("TCLIBC") in [ 'baremetal', 'newlib' ]: meta/classes/kernel.bbclass: tclibc = d.getVar('TCLIBC') meta/classes/toaster.bbclass: BUILDHISTORY_DIR_IMAGE_BASE = e.data.expand("%s/images/${MACHINE_ARCH}/${TCLIBC}/"% BUILDHISTORY_DIR) (From OE-Core rev: 57aa60ef6422568b425b6ccc4451567efc578469) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image-artifact-names: introduce new bbclass and move some variables into itMartin Jansa2020-09-171-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * similar to kernel-artifact-names for other recipes/bbclasses which need to use some deployed artifacts * bitbake.conf: move IMAGE_BASENAME, IMAGE_VERSION_SUFFIX, IMAGE_NAME, IMAGE_LINK_NAME variables * image_types.bbclass: move IMAGE_NAME_SUFFIX variable * currently IMAGE_NAME_SUFFIX is used only by image.bbclass, image_types.bbclass and meta/recipes-core/images/build-appliance-image_15.0.0.bb but if it's needed by some recipe which isn't itself an image, then it's useful in bitbake.conf, e.g. we have a recipe for creating VirtualBox appliances which combines .wic.vmdk with .ovf file to create .zip with appliance, but for that we need the filename of .wic.vmdk which now contains IMAGE_NAME_SUFFIX https://github.com/webOS-ports/meta-webos-ports/blob/4980ce52a43ac6897657602810313af359f0b839/meta-luneos/recipes-core/images/luneos-emulator-appliance.inc#L24 * we were hardcoding .rootfs suffix where needed, but for quite long time it's configurable with IMAGE_NAME_SUFFIX since: commit 380ee36811939d947024bf78de907e3c071b834f Author: Patrick Ohly <patrick.ohly@intel.com> Date: Mon Mar 7 18:07:52 2016 +0100 image creation: allow overriding .rootfs suffix and might not match with hardcoded .rootfs, so make it easier to use IMAGE_NAME_SUFFIX where needed even without inheritting whole image_types.bbclass [YOCTO #12937] (From OE-Core rev: 456b700d51a5052a285a8477304f902c335223be) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcmode-default: Drop gcc-cross-initial, gcc-crosssdk-initial referencesDouglas Royds2020-09-143-7/+1
| | | | | | | | | | | Further to 5b2fd1c724 Also a few remaining references in comments and in distro_alias.inc (From OE-Core rev: 35d4dd42477f316b6af889a0aec16439693e0849) Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune-cortexa*: CleanupsJon Mason2020-09-106-6/+6
| | | | | | | | | | Make the existing ARMv8 Cortex-A tunings similar in the way the cascade the settings. (From OE-Core rev: cde415c640164ffd3593aff1ba32b252e68adbd8) Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune-cortexa57-cortexa53.inc: add CRC and set marchJon Mason2020-09-101-2/+2
| | | | | | | | | | | | | Add CRC to the default tuning of big.LITTLE Cortex-A57-A53. This puts it inline with all other ARMv8a tunings. Also, reference PACKAGE_EXTRA_ARCHS_tune-armv8a-crc instead of PACKAGE_EXTRA_ARCHS_tune-aarch64, which sets the -march to armv8 and enables the CRC. (From OE-Core rev: 96b556ec509e224573fe34ba8001416dcc0e1ad4) Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune-cortexa55.inc: clean-up ARMv8.2a usesJon Mason2020-09-101-2/+2
| | | | | | | | | | | | | Remove 'crc', as that is implied by 8.2 (per GCC https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html#AArch64-Options). Also, the PACKAGE_EXTRA_ARCHS should refer to the ARMv8.2a version, not the more generic ARMv8 version. (From OE-Core rev: 0e34eeeeb4dd60cfa86beb84f867e1940dbbefaa) Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cortex-m0plus.inc: change file permissionsJon Mason2020-09-101-0/+0
| | | | | | | | | File is executable, and should be read/write. (From OE-Core rev: fe211b16007848a36a5415e5b9bcf8ab3364dc74) Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: Upgrade to 1.15 major releaseKhem Raj2020-09-051-1/+1
| | | | | | | | | | | | | | | | | 1.15 is latest major release changelog is [1] and detailed blog is [2] Drop hardcoding ldso patch in favor of setting it using GO_LDSO variable which can be defined in terms of linuxloader defined by OE Setting GOBUILDMODE to pie is no longer needed [1] https://golang.org/doc/go1.15 [2] https://blog.golang.org/go1.15 (From OE-Core rev: aa1bfaff4adc9246a2d65592b3a8061d55829086) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* help2man: rewrite recipeRoss Burton2020-09-051-1/+1
| | | | | | | | | | | | | | | | | | This recipe was originally explicitly minimal because it was needed to bootstrap autotools, but that isn't the case anymore. Instead of being explicitly native, use BBCLASSEXTEND. No need to explicitly depend on autoconf-native automake-native, because the autotools class does that. As this recipe isn't needed in early build anymore there's no need to avoid reconfiguring. (From OE-Core rev: 1e98edf46d0b96da2aea7dabd1d7cf3ce6c5e7bd) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: hash equivalency and pr serviceMark Hatle2020-09-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the PR service is enabled a number of small changes may happen to variables. In the do_package step a call to package_get_auto_pr will end up setting PRAUTO and modifying PKGV (if AUTOINC is there). PRAUTO is then used by EXTENDPRAUTO, which is then used to generate PKGR. Since this behavior typically happens BEFORE the BB_UNIHASH is calculated for do_package, we need a way to defer the expansion until after we have the unihash value. Writing out the pkgdata files w/o AUTOPR and PKGV (AUTOINC) expanded to placeholder values is the easiest way to deal with this. All other variables are expanded as expected. In the next task, typically do_packagedata, we will then use the UNIHASH from the do_package to get the PR (AUTOPR) as well as generate the AUTOINC replacement value (now PRSERV_PV_AUTOINC). The do_packagedata then translates the placeholders to the final values when copying the data from pkgdata to pkgdata-pdata-input. Also update the prservice test case. With unihash, just changing the do_package (via a _append) will not change the PR. So write the date to a specific file that is incorporated into the unihash to ensure it is always different for the test. Various assert messages were also updated to make it easier to figure out where/why a problem occured. (From OE-Core rev: 2e32f37b0e4abc438c8f60e673cd18a5cc110768) Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dhcp: remove from coreakuster2020-09-021-1/+0
| | | | | | | | | update maintainers.inc too (From OE-Core rev: 7e3357892f204788162747e907d68f857118cf42) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* maintainers.inc: Add me as dhcpcd maintainerakuster2020-09-021-0/+1
| | | | | | | (From OE-Core rev: 8e9a602249f5d3e9430542372366aeeeffd57adf) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* maintainers.inc: Add me as kea & log4plus maintainer.akuster2020-09-021-0/+2
| | | | | | | (From OE-Core rev: 741af7792fd0d2b188981e6f954aae1caeece9ab) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: bump default reference kernel to v5.8Bruce Ashfield2020-08-252-2/+2
| | | | | | | | | | Now that the 5.8 recipes are available, we bump the default versions to use them. (From OE-Core rev: 61b7d0c61b5fce319a8a1fc2c4ff38299d41202e) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uninative: Upgrade to 2.9Khem Raj2020-08-221-5/+5
| | | | | | | | | This supports glibc upto 2.32 which is now rolling into distributions (From OE-Core rev: 5cda8c7d642cfb72242c95f450e3391bd6537709) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cortex-m0plus.inc: Add tuning for cortex M0 plusJonathan Richardson2020-08-202-0/+30
| | | | | | | | | | Add tuning files for ARM cortex m0 plus and the armv6-m architecture that it is based on. (From OE-Core rev: 1a2d05b504c7a6f5a917cb2e7d026e57bb2daf8f) Signed-off-by: Jonathan Richardson <jonathan.richardson@broadcom.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libc-headers: update to v5.8Bruce Ashfield2020-08-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | Updating the libc-headers to v5.8. Adjustments to the recipe include: The license checksum. Needs to be updated to account for kernel commit 74835c7db0322b [COPYING: state that all contributions really are covered by this file]. And the ARM multilib headers need to check the version to adjust for kernel commit: 541ad0150ca4 [arm: Remove 32bit KVM host support]. We don't want to break potential other libc-header users, so we check the version and continue to install the file if the version is less than v5.8 One patch is refreshed to remove fuzz when building musl. (From OE-Core rev: 4c3750bbc9dae30d91bd0e5efc8f614810289b31) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib.conf: add u-boot to NON_MULTILIB_RECIPESMing Liu2020-08-181-1/+1
| | | | | | | | | u-boot should be a non multilib recipe, add it in NON_MULTILIB_RECIPES. (From OE-Core rev: 5e7dc0d68efb2d43bbd5b1be9e6d555fc4456fb6) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* conf/machine: set UBOOT_MACHINE for qemumips and qemumips64Ming Liu2020-08-182-0/+4
| | | | | | | | | These machines support booting U-Boot, so set the machine appropriately. (From OE-Core rev: b812fad85aed6cb9e433c689f3b14425488dfc68) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Upgrade to 10.2.0Khem Raj2020-08-181-1/+1
| | | | | | | | | | Drop 0036-Enable-CET-in-cross-compiler-if-possible.patch and pr96130.patch they are already in 10.2 (From OE-Core rev: 35eda14fbdc38ae5e686c2d30a2c1d5569bd3088) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Upgrade 5.0.0 -> 5.1.0Richard Purdie2020-08-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | * Drop backported CVE fixes * Drop cpu backtrace patch from 2015 for debugging an issue which we no longer see (patch throws rejects, files have moved) * Update mips patch to account for file renames * Update chardev patch to match upstream code changes * Update webkitgtk patch, qemumips build works ok but qemux86 musl webkitgtk still fails. Need to figure out the correct fix and upstream it for this, current revert patch is not maintainable. Release notes for 5.1.0 mention slight qemumips performance improvements which would be valuable to us. My tests show no improvement in qemumips testimage execution time for core-image-sato-sdk. Fix a ptest issue for a file looking for /usr/bin/bash when we have /bin/bash. (From OE-Core rev: 686b770af67fdd2251f4ddab5b0eefc8fb0870ef) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-compare: Drop recipeRichard Purdie2020-08-152-2/+0
| | | | | | | | | | If we no longer have the packagefeed-stability class, we no longer need need build-compare as it was the only user of it. Therefore drop the recipe too. (From OE-Core rev: d6eb93d7c5c9bb1891527581eb0675c3aee271f6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* maintainers: Update entries for Mark HatleRichard Purdie2020-08-111-5/+5
| | | | | | | | | | db/rpm/depmodwrapper-cross no longer have a maintainer, update his address on prelink. I take pseudo since I'm doing the work there in the absence of anyone else. (From OE-Core rev: 0aba2a78ed9a51bf71d9180352518764386454ab) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Upgrade to 2.32 releaseKhem Raj2020-08-081-1/+1
| | | | | | | | | | | | | | | | | | | Drop 0001-localedef-Add-hardlink-resolver-to-build.patch as its applied to localedef upstream Drop CVE patches which are already part of 2.32 release Drop unused attribute patch as its fixed differently in 2.32 Add a patch to mitigate the sideffect of [1] for ppc which detect wrong cpu in OE since we are cross compiling [1] https://sourceware.org/git/?p=glibc.git;a=commit;h=146fea07640387c78e334933de24b6353e1f0eba (From OE-Core rev: fe3d5136ef02721f9bbe01d98c1743b8dbcb69c5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Upgrade to 2.35 releaseKhem Raj2020-08-061-1/+1
| | | | | | | | | | | | | | assembler supports dwarf-5 format line numbers linker has -M -MP gcc-like option for detailed release notes see [1] [1] https://lists.gnu.org/archive/html/info-gnu/2020-07/msg00008.html (From OE-Core rev: 7a7667127625244aae2b1ff179e431fc9ad25737) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* allarch: Add missing allarch ttf-bitstream-veraDaniel Gomez2020-08-061-0/+1
| | | | | | | | | | allarch is missing in ttf-bitstream-vera recipe. Add it and include the recipe in the SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS list. (From OE-Core rev: 31c02477a4fb91f19f8c3ef3f8bc9a20e416c859) Signed-off-by: Daniel Gomez <daniel@qtec.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kbd: update 2.2.0 -> 2.3.0Alexander Kanavin2020-08-021-1/+0
| | | | | | | | | | | | | Drop ptest support: upstream has rewritten the tests in GNU autotest, which is another m4 monstrosity entirely incompatible with the idea of installing tests to the target system. All dropped patches are either merged upstream, or made for ptest. (From OE-Core rev: 79f456da4b752f897bb5546d9ec291cdf4196ae8) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* conf/machine: set UBOOT_MACHINE for qemuarm and qemuarm64Ross Burton2020-08-012-0/+4
| | | | | | | | | These machines support booting U-Boot, so set the machine appropriately. (From OE-Core rev: 7dd4100bf00fca0b98b762bb3815b8055f1201f2) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemumips: Use 34Kf CPU emulationKhem Raj2020-08-011-0/+2
| | | | | | | | | | | | | | | | | Few years ago we switched to using mips32r2 tunings for qemumips however the default CPU emulation still remained 24Kf which is not optimal for mips32r2 ISA for qemu [1], therefore switch to recommended 32Kf for CPU emulation when running qemu in system mode Boot time to console is ~1s faster with this setting, hopefully this should speed up qemumips in general [1] https://www.qemu.org/docs/master/system/target-mips.html#preferred-cpu-models-for-mips-hosts (From OE-Core rev: e68d2afd4a5529437824b5d6b9a2077c2fefd337) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* llvm: upgrade 9.0.1 -> 10.0.1Trevor Gamblin2020-07-281-1/+1
| | | | | | | (From OE-Core rev: 0e9f286e1c4567e6d3812c0681c168720984b8ce) Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* layer.conf: fix adwaita-icon-theme signature change problemChangqing Li2020-07-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | allarch package adwaita-icon-theme inherit both allarch and gtk-icon-cache, since commit 31e3d34c8a9c3e8481aa837aa0bf52adf095fe62 [gtk-icon-cache.bbclass: add runtime dependency], it start depend on non-allarch packages gdk-pixbuf and gtk+3, which make it's signature changes when machine changed. like for task do_prepare_recipe_sysroot: "Hash for dependent task gdk-pixbuf/gdk-pixbuf_2.40.0.bb:do_populate_sysroot changed from a72aba8432699c8ce4ca1f71833ef14a89ffde0ea4063e37b9d819fdb1e407f4 to 1ad4e1bd76921b71482657f3b017184e9ade8e2a0b9f43ad64ed2dda83b1520f" the only way to fix this is remove the task dependency. SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS not work in class, so add it in layer.conf. Maybe we have other recipes under other layers have similar problem, we can only add one by one to its layer.conf, seems not a good idea. but add *->pixbuf will influence other packages (From OE-Core rev: ec0888d73d7e7f811961f50f334c72fbc6b1d401) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune-cortexa55.inc: switch to using armv8.2a include fileDmitry Baryshkov2020-07-271-1/+1
| | | | | | | | | | Since Cortex-A55 is an ARMv8.2 core, switch to using arch-armv8-2a.inc file. (From OE-Core rev: ab94bf205b7450e9dff6b9c7aa060178b39e48fe) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* arch-armv8-2a.inc: add tune include for armv8.2aDmitry Baryshkov2020-07-271-0/+19
| | | | | | | | | | | | Add tune include for armv8.2a. This adds support only for bare armv8.2a (and for crypto extension). There is no support for additional instructions added by architecture extensions (except the main crypto extension support). (From OE-Core rev: 88c79a56b4ddab61c16cd4cb7b887e7d7223d845) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: fix whitespace issuesKonrad Weihmann2020-07-081-2/+2
| | | | | | | (From OE-Core rev: a58672fdf7e3b26b57ec31b9ba4f1eaaa7f5a53c) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opensbi: Update to OpenSBI v0.8 releaseAlistair Francis2020-06-281-1/+1
| | | | | | | (From OE-Core rev: f160800ec79973a5e8d8454fe3d695729a993f8b) Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcmode-default: use go-binary-native by defaultRoss Burton2020-06-241-0/+4
| | | | | | | | | | go-binary-native is faster and more portable than go-native, so use it by default. (From OE-Core rev: c23f9e80492e4b1d47c0ada8eae3decf736253c7) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go-binary-native: add binary Go to bootstrapRoss Burton2020-06-241-0/+1
| | | | | | | | | Use PREFERRED_PROVIDER_go-native = "go-binary-native" (From OE-Core rev: 64e40574cd2577d618035f56097885adfb61f81e) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro_alias: Remove unused grub-efi distro aliasesJacob Kroon2020-06-241-2/+0
| | | | | | | | | | | | The target architecture is no longer embedded in the native package names. See OE-Core commit 53d3f12739: grub-efi: change to generate EFI image in target package (From OE-Core rev: 959e4cbf775267e48232148a633e1aa1ec2bf1ec) Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libuv: move from meta-oe to core for bind updateArmin Kuster2020-06-231-0/+1
| | | | | | | (From OE-Core rev: 07bcc80df1118c0bcc5b4b60beaa3e5674f1855e) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* igt-gpu-tools: add new packageArthur She2020-06-231-0/+1
| | | | | | | | | | | | | | | | | | | | igt-gpu-tools is a collection of tools for development and testing of the DRM drivers. (https://gitlab.freedesktop.org/drm/igt-gpu-tools) This recipe is originally copied from meta-intel and added the following modifications 1. Enable ARM architecture 2. Enable igt-runner 3. Build git HEAD code instead of a specific version The original recipe in the meta-intel will be removed and replaced by this one to avoid having a duplicate recipe. It is applicable to be submitted to oe-core, because it provides a core validation functionality that is needed by all providing DRM drivers and not just to a single arch. (From OE-Core rev: d98e9b3612ab2c03503843cb3ea77bec7811a1d4) Signed-off-by: Arthur She <arthur.she@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub: Remove native version of grub-efiJacob Kroon2020-06-231-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The native version of grub-efi only installs the tools /usr/bin/grub-editenv /usr/bin/grub-mkimage to sysroots-components/, but equivalent tools are already provided by grub-native, the difference on x86_64 being 4 hardwired paths in grub-mkimage (values taken from grub-native): LOCALEDIR = $TMPDIR/work/x86_64-linux/grub-native/2.04-r0/recipe-sysroot-native/usr/share/locale GRUB_DATADIR = $TMPDIR/work/x86_64-linux/grub-native/2.04-r0/recipe-sysroot-native/usr/share GRUB_LIBDIR = $TMPDIR/work/x86_64-linux/grub-native/2.04-r0/recipe-sysroot-native/usr/lib GRUB_SYSCONFDIR = $TMPDIR/work/x86_64-linux/grub-native/2.04-r0/recipe-sysroot-native/etc If grub-native and grub-efi-native are built with the following patch --- grub-2.04.orig/configure.ac +++ grub-2.04/configure.ac @@ -1980,10 +1980,10 @@ grub_libdir="$(eval echo "$libdir")" grub_localedir="$(eval echo "$localedir")" grub_datadir="$(eval echo "$datadir")" grub_sysconfdir="$(eval echo "$sysconfdir")" -AC_DEFINE_UNQUOTED(LOCALEDIR, "$grub_localedir", [Locale dir]) -AC_DEFINE_UNQUOTED(GRUB_LIBDIR, "$grub_libdir", [Library dir]) -AC_DEFINE_UNQUOTED(GRUB_DATADIR, "$grub_datadir", [Data dir]) -AC_DEFINE_UNQUOTED(GRUB_SYSCONFDIR, "$grub_sysconfdir", [Configuration dir]) +AC_DEFINE_UNQUOTED(LOCALEDIR, "/non-existent", [Locale dir]) +AC_DEFINE_UNQUOTED(GRUB_LIBDIR, "/non-existent", [Library dir]) +AC_DEFINE_UNQUOTED(GRUB_DATADIR, "/non-existent", [Data dir]) +AC_DEFINE_UNQUOTED(GRUB_SYSCONFDIR, "/non-existent", [Configuration dir]) the produced grub-editenv/grub-mkimage binaries become binary equivalent, assuming reproducible builds is active. Since the unpatched values of LOCALEDIR/GRUB_DATADIR/GRUB_LIBDIR/GRUB_SYSCONFDIR point to directories that are not expected to exist at runtime, they can be ignored. Therefore: * remove grub-efi-native and instead rely on the same tools from grub-native * replace references to grub-efi-native with grub-native * remove unused grub-efi-native security flags overrides (From OE-Core rev: 7044181df7487f047d175242f7ebbc3c35bf5402) Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: uprev v4.2.0 -> v5.0.0Sakib Sajal2020-06-238-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Major update after v4.2. Changes: - os_find_datadir() was changed after the v4.2 release causing v5.0 to not find the bios and not boot the image. Fix is sent to upstream qemu. See: qemu/find_datadir.patch - v5.0 binary had host contamination for dynamically linked libraries, "--extra-ldflags='${LDFLAGS}'" in EXTRA_OECONF resolved the issue - bluetooth code was removed: qemu.git$ git show 1d4ffe8dc7 hence removed PACKAGECONFIG[bluez] - -show-cursor qemu option is now deprecated, updated scripts/runqemu to use updated option instead - added PACKAGECONFIG definitions - added qemu-ptest to conf/distro/include/ptest-packagelists.inc - increased support for ARM architecture, cpu and board - removed patches merged upstream and refreshed existing ones Testing: Build core-image-minimal against the machines in openembedded-core/meta/conf/machine and succesfully booted with qemu v5.0 Ran qemu-ptest on x86-64 and arm64 with identical results: PASS: 1166 SKIP: 0 FAIL: 0 (From OE-Core rev: ee9ec9e344541c1ccd9b9b8e3b8c1e00d008ad85) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Remove TERM from default BB_HASHBASE_WHITELISTJacob Kroon2020-06-171-1/+1
| | | | | | | | | | | Since BitBake commit 0d5cdd0c0d65f2f81c3af0f3767fee86c4142c3a TERM is no longer preserved in the environment by BitBake, so there should be no need to whitelist it by default. (From OE-Core rev: 72c4222b095a49d5ba8252abbae5025196519cd5) Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.conf: Require bitbake 1.47.0 as the minimum versionRichard Purdie2020-06-171-1/+1
| | | | | | | | | The recent siggen changes need the new version of bitbake, update the minimum version to match (should also help the TERM environment change too). (From OE-Core rev: cb0213721893e5336995b38faffc7b65338a1b5f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "bitbake.conf: Remove unused DEPLOY_DIR_TOOLS variable"Richard Purdie2020-06-121-0/+1
| | | | | | | | | | | This reverts commit b1f15f651461d07a8cfbd3bdcfea0e89f195212d. The variable is used by multiple other layers and users are requesting it be added back. (From OE-Core rev: 49d0f822618890b61d2498b07dda6418f885321e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* security_flags: Remove stack protector flag from LDFLAGSJunling Zheng2020-06-041-2/+2
| | | | | | | | | | | SECURITY_LDFLAGS contains stack protector flag inappropriately, which has already be contained in SECURITY_CFLAGS. Let's remove it from SECURITY_LDFLAGS. (From OE-Core rev: 549cce578b859986e37900bf15c1bf904d33e47b) Signed-off-by: Junling Zheng <zhengjunling@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts/init-system-helpers: fix mountnfs.sh dependencyJens Rehsack2020-06-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | With commit c9fc9110be33fe0f24bc3a7c242b584a4ca33e04 Author: Yue Tao <Yue.Tao@windriver.com> Date: Fri May 25 10:48:08 2018 +0800 initscripts: Avoid starting rpcbind daemon twice Check the status before start it to avoid duplicates. the use of a script {/usr/sbin/}service is introduced - maybe earlier provided by systemd, nowadays mostly by init-system-helpers from debian project. For the very first shot, maybe discussions and improvements based on that script collection, use just the init-system-helpers-service in initscripts/mountnfs.sh to avoid problems mounting NFS in later boot stage. (From OE-Core rev: db690c3bf4664ce71fc21650fbcd8b6ac2eb71f1) Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* maintainers: Update Ross' email addressRichard Purdie2020-06-041-63/+63
| | | | | | | | Update Ross' address to a valid one. (From OE-Core rev: 22e1605ce45482c49d06a7c56a46b71f76955e31) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>