summaryrefslogtreecommitdiffstats
path: root/meta-initramfs/classes
Commit message (Collapse)AuthorAgeFilesLines
* klibc: fix debug pkgs reproducibilityYoann Congal2024-08-301-1/+1
| | | | | | | | | | | | | | | | Debug packages of klibc-based recipe contains reference to TMPDIR and fail to build since "buildpaths" is a ERROR_QA: For example, from [0]: stdio: ERROR: kexec-tools-klibc-2.0.18+git-r0 do_package_qa: QA Issue: File /usr/sbin/.debug/kexec in package kexec-tools-klibc-dbg contains reference to TMPDIR stdio: ERROR: kexecboot-klibc-0.6+git-r0 do_package_qa: QA Issue: File /usr/bin/.debug/kexecboot in package kexecboot-klibc-dbg contains reference to TMPDIR [buildpaths] stdio: ERROR: ubi-utils-klibc-2.0.2-r0 do_package_qa: QA Issue: File /usr/sbin/.debug/ubirename in package ubi-utils-klibc-dbg contains reference to TMPDIR Fix this by adding DEBUG_PREFIX_MAP to the klibc build CFLAGS to rewrite these paths in a reproducible way. [0]: https://autobuilder.yoctoproject.org/typhoon/#/builders/155/builds/40 Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* klibc.bbclass, image_types_sparse.bbclass, packagegroup-meta-oe.bb: update ↵Martin Jansa2021-08-061-1/+1
| | | | | | | | | | | | the overrides syntax conversion * re-run the latest version of the script which converts CONVERSION_CMD as well since https://git.openembedded.org/openembedded-core/commit/?h=master-next&id=d9e81d66db2bc2aa56d177cef78c814c29679a4a * skip many incorrect s/_linux/:linux/g changes which were introduced by: https://git.openembedded.org/openembedded-core/commit/?h=master-next&id=9ea1041f8eab26ee871a9176e9691e5d3e6745bd Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-4/+4
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* klibc.bbclass: Add libc-klibc to overridesKhem Raj2019-03-151-2/+2
| | | | | | We can use this to apply klibc specific patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
* klibc.bbclass: Pass TUNE_CCARGS in flagsKhem Raj2017-10-041-3/+3
| | | | | | | | This is needed for ABI compatibility since march defines if -mthumb means thumb1 or thumb2 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* klibc.bbclass: Add -mfloat-abi on armKhem Raj2017-09-181-0/+2
| | | | | | | | Default toolchain is not configured for hard float therefore we need to pass the right -mfloat-abi option Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* klibc.bbclass: Use forcevariable override to define flagsKhem Raj2017-09-181-4/+3
| | | | | | | | | | This is required so it can override the CC settings when clang is used because meta-clang uses toolchain-clang override to set CC and friends so we need to use higher order override, forcevariable is highest order. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* klibc: klcc: consider --sysroot option and override gcc-cross encoded sysrootAndrea Adami2014-09-261-2/+2
| | | | | | | | | | | | | For the recipes built with klcc-cross it is necessary to pass --sysroot otherwise we default to the one encoded in gcc-cross which actually is the 'first one' built. The issue was revealed when building for armv4 after having built for armv5te: the produced binaries did contain Illegal Instruction (bx lr). Use ${TOOLCHAIN_OPTIONS} variable to specify --sysroot=${STAGING_DIR_TARGET} Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* klibc.bbclass: add a note about default of building -staticAndrea Adami2013-10-111-0/+3
| | | | Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
* klibc.bbclass: force thumb-interworking for eabi builds on armv4Andrea Adami2013-02-161-0/+2
| | | | | Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* klibc.bbclass: use klcc as CPPAndrea Adami2012-05-241-0/+1
| | | | | Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* meta-initramfs: import klibc recipe and bbclass from meta-oeAndrea Adami2012-02-221-0/+9
Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>