Leonid Iziumtsev dbdab2cecd kernel-selftest: remove flag assignments only
The do_compile() step removes flags from the kernel Makefile
before building the selftests.

On older kernels (pre-5.12), -mrecord-mcount is guarded by a
cc-option probe:
    ifeq ($(call cc-option-yn,-mrecord-mcount),y)
        CC_FLAGS_FTRACE += -mrecord-mcount
    endif
Previously, the sed expression matched mrecord-mcount regardless
of its context in the line. This removed both the flag assignment
and the ifeq guard, leaving an orphaned endif and causing the
selftest build to fail.

Anchor the expression on += so that the sed only removes flag
assignments, giving us more precise control over which Makefile
lines are deleted.
Apply the same adjustment to the -Wno-alloc-size-larger-than
expressions for consistency.

Signed-off-by: Leonid Iziumtsev <leonid.iziumtsev@est.tech>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-10-01 07:40:53 -07:00
2026-06-23 00:45:59 -07:00
2026-10-01 07:40:49 -07:00
2026-03-02 19:25:48 -08:00

Collection of layers for the OE-core universe

Main layer maintainer: Khem Raj raj.khem@gmail.com

This repository is a collection of layers to supplement OE-Core with additional packages, Each layer have designated maintainer Please see the respective READMEs in the layer subdirectories

S
Description
No description provided
Readme
129 MiB
0 Stars 1 Watchers 0 Forks
Languages
BitBake 85.1%
Shell 5.6%
NASL 3.4%
C 2.6%
Roff 1.8%
Other 1.3%