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>
Sun, 19 Jun 2022 21:23:18 +0000 (23:23 +0200)
commit1d42af720c6b6dcfcdd0b89bce386fca1607dcb3
tree9f8048b45b47879acf37844e2a3c235bd11c031b
parent77692d6112074f969170ec3c9b353df6565bc1c3
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>
include/kernel.mk
target/linux/generic/pending-5.10/201-extra_optimization.patch
target/linux/generic/pending-5.15/201-extra_optimization.patch