summaryrefslogtreecommitdiffstats
path: root/meta/conf
AgeCommit message (Collapse)Author
2021-07-31bitbake.conf: change GNOME_MIRROR to new oneOleksandr Kravchuk
URI has been permanently moved and returns HTTP 301. Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a3a85d54af38a30f6de5f6d23e432afa26859888) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-05-24cve-extra-exclusions.inc: add exclusion list for intractable CVE'sRichard Purdie
The preferred methods for CVE resolution are: 1. Version upgrades where possible 2. Patches where not possible 3. Database updates where version info is incorrect 4. Exclusion from checking where it is determined that the CVE does not apply to our environment In some cases none of these methods are possible. For example the CVE may be decades old with no apparent resolution, and with broken links that make further research impractical. Some CVEs are vauge with no specific action the project can take too. This patch creates a mechanism for users to remove this type of CVE from the cve-check results via an optional include file. Based on an initial patch from Steve Sakoman <steve@sakoman.com> but extended heavily by RP. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-22uninative: Upgrade to 3.2 (gcc11 support)Michael Halstead
This upgrade builds unnative with gcc11 allowing it to work with newer distros using gcc 11. Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06yocto-uninative: Update to 3.1 which includes a patchelf fixRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1d9d38eb6b3621fed58a217eeb4de1816e3e6487) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-04-23arch-armv6m.inc: fix access rightsUlrich Ölmann
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2f7ebe444c2a78ef149b8c5f0f005ab23f24a176) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-04-05bitbake.conf: Limit the number of OpenMP threadsJoshua Watt
Limits the number of OpenMP threads to match BB_NUMBER_THREADS. This prevents OpenMP (libgomp in particular) from falling back to using all the available CPUs, which behaves poorly when attempting to limit build usage, especially when attempting to build in a container. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05conf/machine: Enable keyboard and mouse on RISC-V machinesAlistair Francis
Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05conf/machine: Enable bochs-display on RISC-V machinesAlistair Francis
Enable the bochs-display as q QEMU argument when running on RISC-V machines. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-28image-uefi: Set efi_file for rv32/rv64Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-28bitbake.conf: ensure BUILD_* tools match target toolsRoss Burton
Add a few more tools to the BUILD_* list, to match the target tool list. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-28util-linux-libuuid: Simplify recipe and rename from util-linux-uuidRichard Purdie
Rename the recipe from util-linux-uuid to util-linux-libuuid which means we can drop the custom PACKAGES and FILES defintions which simplifies things. Also move the LICENSE setting to the libuuid recipe so that it is correctly applied to the right packages. This means the standard definitions from bitbake.conf are used, avoiding errors from situations where users have customised settings causing failures. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-28bitbake.conf: correct description of HOSTTOOLS_DIRRobert P. J. Day
HOSTTOOLS_DIR contains symlinks to host tools, not copies Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-28tune-cortexa32: Add hard FPUJon Mason
A32 always has NEON and VFP. Set the FPU as hard to always have this enabled and used. Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20layer.conf: Drop gatesgarth from the layer series namesRichard Purdie
The time has come to encourage people to update actively maintained layers to use the new series name. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20xxhash: import from meta-oeAlexander Kanavin
This is needed for newer versions of apt. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15layer.conf: Add gatesgarth back for now to allow for transitionRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15layer.conf: Update for hardknott release seriesRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15go-dep: RemoveKhem Raj
go-dep was an effort for dependency management before go modules, which since 2020 has been deprecated in favor of go modules. Since its not developed any longer and go mdules is officially supported, this should be retired from OE-core as well. Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Otavio Salvador <otavio.salvador@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14Enable qemu usermode on ppc64Khem Raj
d044743cdc4 disabled it, perhaps it did not work back in 2016 Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14u-boot: Add support for building for qemuriscv32Alistair Francis
Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-12util-linux: split uuid in separate recipe to allow bootstrappingLuca Boccassi
Recently util-linux gained an (optional) build dependency on libcryptsetup. But libcryptsetup build-depends on util-linux for blkid (optional, can be disabled) and uuid (mandatory). Split out util-linux-uuid in a different recipe to break the cycle. https://github.com/karelzak/util-linux/pull/898 Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11local.conf.sample.extended: sample value for SDK_PS1Kai Kang
Provides a sample default value for SDK_PS1 in local.conf.sample.extended. It will look like: poky-glibc-x86_64--cortexa57-qemuarm64sdk:$ Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11runqemu: correct forcing of ttyS0Jon Mason
Some platforms do not use ttyS* for their serial consoles (e.g., qemuarm and qemuarm64). The hardcoding of this can cause issues. Modify runqemu to use the serial consoles defined in SERIAL_CONSOLES instead of hardcoding. Signed-off-by: Jon Mason <jon.mason@arm.com> Change-Id: I746d56de5669c955c5e29d3ded70c0a4d3171f17 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11runqemu: add QB_GRAPHICSJon Mason
Add a new runqemu field for VGA devices. Currently, these are being set in QB_OPT_APPEND, which can make them difficult to override if importing the config file into another one. Signed-off-by: Jon Mason <jon.mason@arm.com> Change-Id: I8cb9527954c5b06c083c42fe2466cb3338584b7d Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11qemuppc64: Add a QEMU machine definition for ppc64Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11machine: Initial commit of qemuriscv32Alistair Francis
Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06ptest-packagelists: remove libinput-ptestRoss Burton
The libinput ptests are very sensitive to system load, and will fail if events from the kernel don't arrive sufficiently fast (from 20ms to 200ms depending on the test). This is by design as input processing is inherently time-sensitive and to avoid code bugs the test suite considers timing problems fatal. As this is causing a large proportion of ptest runs to fail in libinput, disable the execution of these tests for now. [ YOCTO #14164 ] Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06local.conf.sample: fix typoUlrich Ölmann
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02libmd: add a recipeAlexander Kanavin
This is required by new versions of libbsd. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26bitbake.conf: Split PSEUDO_IGNORE_PATHS to be more readableRichard Purdie
We've had a lot of concern about the readability of diffs of this path setting, refactor to avoid long line length. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26llvm: Upgrade to 11.1.0 releaseKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26maintainers: add entries libssh2 libgit2Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26go: Upgrade compiler to 1.16 major releaseKhem Raj
Revert a CC/CXX check [1] which wont work with OE settings Forward port needed patches forward Details releaase notes are here [2] [1] https://go-review.googlesource.com/c/go/+/228517/ [2] https://golang.org/doc/go1.16 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-24bitbake.conf: Introduce FAKEROOTLOGS variable used by bitbake to print ↵Tomasz Dziendzielski
pseudo.log Bitbake depends on this variable while looking for pseudo.log file in case of fakeroot task failure. Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-24reproducible: Improve SOURCE_DATE_EPOCH_FALLBACK handlingRichard Purdie
Ensure the fallback value if used is written to the SDE file and hence stored in sstate, reducing any confusion within the code over '0' values. Bump the HASHEQUIV_VERSION since we've had a ton of trouble with ensuring this rolls out correctly on the autobuilder so others may too, take a clean slate for it. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23conf/machine-sdk: Add ppc64le SDK machineJoel Stanley
Previously SDKMACHINE would default to x86_64. Commit 539cd4a5fbb9 ("bitbake.conf: default SDKMACHINE to the build host architecture") changed it to default to the build machine, causing the build to fail on a ppc64le host. Reported-by: Andrew Geissler <geissonator@yahoo.com> Link: https://www.mail-archive.com/yocto@lists.yoctoproject.org/msg04364.html Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23tune-power9: Enable qemu-usermodeKhem Raj
With latest qemu it works ok Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23glibc: Build for power9 cpu when using powerpc64le tunesKhem Raj
This makes sure that we can compile glibc for powerp9 based machines irrespective of endianness or bitness Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23bitbake.conf: Do not use lib64 for baselib on musl/ppc64Khem Raj
musl is configured to use /lib and /usr/lib for ppc64 unlike glibc where it is expected to have libs in /lib64 and /usr/lib64 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21licenses.conf: Add missing 'or-later' mappingsRichard Purdie
If we handle the or-later licences separately (which we should), we need to add in the missing name mappings for the code to function correctly. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21licenses: Update license file to match current SPDX namesMeh Mbeh Ida Delphine
* Updated mappings of license fields of meta/conf/licenses.conf to match latest SPDX naming. * Add mappings to the old names * Renamed license files to match the new preferred names. * Added "or later" versions of license mappings * Added "or later" versions of common license files eg GPL-2.0-or-later Fixes: [YOCTO #13320] Signed-off-by: Meh Mbeh Ida Delphine <idadelm@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-20maintainers: Update email address for VictorRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18local.conf.sample.extended: prefer INIT_MANAGERVivien Didelot
Since the INIT_MANAGER variable has been introduced, there is no need to append the distro features and set the init manager manually. Replace the busybox/mdev and systemd examples with the 4 values currently supported for the INIT_MANAGER variable. Signed-off-by: Vivien Didelot <vdidelot@pbsc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16local.conf.sample.extended: fix double 'of' typoVivien Didelot
Remove the redundant 'of' word in the INITRAMFS_IMAGE comment. Signed-off-by: Vivien Didelot <vdidelot@pbsc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16bitbake.conf: Set as default task umask of 022Richard Purdie
Rather than trying to set the umask of every task to the correct value for determinism, set one value globally. This uses a new bitbake variable so bump the minimum version to match. This fixes strange determinism issues in at least quilt-ptest, valgrind-ptest and kernel-devsrc. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13yocto-uninative.inc: version 3.0 incorporate seccomp filter workaroundMichael Halstead
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-12security_flags.inc: Add same O<level> as in SELECTED_OPTIMIZATIONKhem Raj
Adding -O can be troublesome in some packages where it may override the O<n> specified by CFLAGS, this can be due to configure processing of CFLAGS and munging them into new values in Makefiles, which is contructed from CC and CFLAGS passed by bitbake environment. Problem arises if the sequence is altered, which seems to be the case in some packages e.g. ncurses, where the value from CC variable is added last and thus overrides -O<n> coming from CFLAGS, Therefore grok the value from SELECTED_OPTIMIZATION and append the appropriate -O<level> flag to lcl_maybe_fortify so the level does not change inaderdantly. Since we do not use -O0 anymore there is no point of checking for DEBUG_BUILD since it uses -Og now which works fine with -D_FORTIFY_SOURCE=2, so check for optlevel O0 instead Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-10documentation.conf: add both CVE_CHECK_LAYER_*akuster
Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-10sanity.conf: Increase minimum bitbake version due to logging function changeRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-08security_flags.inc: Use -O with -D_FORTIFY_SOURCEKhem Raj
compiler can only use fortify options when some level of optimization is on, otherwise it ends up sending some warnings. warning: _FORTIFY_SOURCE requires compiling with optimization (-O) [-W#warnings] this is usually OK, since -O<level> would be added via CFLAGS to compiler cmdline in normal compile stages, however during configure there are problems when CC,CPP,CXX are probed alone in configure tests which results in above warning, which confuses the configure results and autotools 2.70+ detects it as error e.g. configure:17292: error: C preprocessor "riscv32-yoe-linux-clang -target riscv32-yoe-linux -mlittle-endian -mno-relax -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/mnt/b/yoe/master/build/tmp/work/riscv32-yoe-linux/ndpi/3.4-r0/recipe-sysroot -E" fails sanity check See `config.log' for more details therefore adding a -O ( which actually is -O1 ) to lcl_maybe_fortify means we can properly test these configure tests and real -O<level> will still override -O added here, so overrall behavior improves Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>