kernel: use KCFLAGS for passing EXTRA_OPTIMIZATION flags
authorRafał Miłecki <rafal@milecki.pl>
Wed, 15 Jun 2022 08:41:37 +0000 (10:41 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Fri, 8 Jul 2022 09:28:01 +0000 (11:28 +0200)
commit614a4200841ed2cbd101cdce0966bc291d01642f
tree05f84aaa993c5c4a0b3e6f6e151f5eac2e123542
parentf854de6adaba7671f223b436b53244097589cf86
kernel: use KCFLAGS for passing EXTRA_OPTIMIZATION flags

This uses kernel's generic variable and doesn't require patching it with
a custom Makefile change. It's expected *not* to change any behaviour.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 1d42af720c6b6dcfcdd0b89bce386fca1607dcb3)
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
(cherry picked from commit 24e27bec9a6df1511a504cf04cd9578a23e74657)
include/kernel.mk
rules.mk
target/linux/generic/pending-5.10/201-extra_optimization.patch