]> code.ossystems Code Review - openembedded-core.git/commit
kernel: Rework kernel make flag to variable mappings
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 Oct 2021 16:18:16 +0000 (17:18 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 16 Oct 2021 16:37:45 +0000 (17:37 +0100)
commit7fd06a57a1d91d8534721923f6e3951ec8220cec
treefafc78a88d2abd9f420beee45ad29fa0861b1c47
parentd15fb02c7ee7da50e322d74bc6a545234e20c7f3
kernel: Rework kernel make flag to variable mappings

In 2017 we added changes to pass the BUILD_CFLAGS into the kernel
via BUILD_CC. This isn't really correct and the upstream kernel now has
places to pass build cflags, ldflags and more. Update our kernel
make flags to correctly use the kernel's variables. This addresses
concerns raised by kernel developers.

If this breaks some usecase please report it so we can work out how
to fix it properly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass