poky/meta/recipes-kernel
Bruce Ashfield dbaac8ff1c kernel-devsrc: fix mismatched compiler warning
When building a module on target, we use the native compiler
(always "gcc") versus the same compiler, but named in a cross
compiler manner, for the kernel build.

The kernel captures the compiler string in several places,
some of which we are already fixing, but others we are not
(as they don't cause issues).

But when building an on target module, the main kernel Makefile
compares compiler strings and outputs a warning similar to:

  warning: the compiler differs from the one used to build the kernel
    The kernel was built by: x86_64-poky-linux-gcc (GCC) 11.3.0
    You are using:           gcc (GCC) 11.3.0

We drop the cross compilation prefix from the captured compiler
string, and we avoid the warning.

RP: tweaked one sed expression to fix quoting issue with 5.15
(From OE-Core rev: a122e5b914d59ceaa10ddb66e8611c31f0fb958d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 70419f281a4571d01975bd79a47a6ed7ae70b1ae)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-04 17:46:24 +01:00
..
blktrace meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX license identifiers 2022-02-20 16:45:25 +00:00
cryptodev meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX license identifiers 2022-02-20 16:45:25 +00:00
dtc meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX license identifiers 2022-02-20 16:45:25 +00:00
kern-tools kern-tools: integrate ZFS speedup patch 2022-12-07 15:02:50 +00:00
kexec kexec-tools: upgrade 2.0.24 -> 2.0.25 2022-08-10 08:25:28 +01:00
kmod depmodwrapper-cross: Take into consideration kernel package name 2022-09-13 10:36:50 +01:00
linux kernel-devsrc: fix mismatched compiler warning 2023-04-04 17:46:24 +01:00
linux-firmware linux-firmware: upgrade 20230117 -> 20230210 2023-03-06 15:09:42 +00:00
linux-libc-headers linux-libc-headers: switch from SRC_URI:append to SRC_URI += 2022-09-13 10:36:50 +01:00
lttng lttng-modules: update to v2.13.9 2023-04-04 17:46:24 +01:00
make-mod-scripts make-mod-scripts: Ensure kernel build output is deterministic 2023-02-15 21:47:00 +00:00
modutils-initscripts modutils-initscripts: Change license PD -> MIT 2022-04-01 23:11:37 +01:00
perf perf: Enable debug/source packaging 2023-02-15 21:47:00 +00:00
powertop meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX license identifiers 2022-02-20 16:45:25 +00:00
systemtap systemtap: add a patch to address a python 3.11 failure 2022-08-23 15:48:55 +01:00
wireless-regdb wireless-regdb: upgrade 2022.08.12 -> 2023.02.13 2023-03-06 15:09:42 +00:00