Re: [OE-core] [PATCH 1/2] kernel: Rework kernel make flag to variable mappings

2022-01-17 Thread Richard Purdie
On Fri, 2022-01-14 at 14:39 +, Paul Barker wrote: > On 14/10/2021 21:26, Richard Purdie wrote: > > 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.

Re: [OE-core] [PATCH 1/2] kernel: Rework kernel make flag to variable mappings

2022-01-14 Thread Paul Barker
On 14/10/2021 21:26, Richard Purdie wrote: 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

[OE-core] [PATCH 1/2] kernel: Rework kernel make flag to variable mappings

2021-10-14 Thread Richard Purdie
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