openwrt/target/linux/generic
Rafał Miłecki 4ec80cd907 kernel: drop patch adding hardcoded kernel compilation flags
1. KCFLAGS should be used for custom flags
2. Optimization flags are arch / SoC specific
3. -fno-reorder-blocks may *worsen* network performace on some SoCs
4. Usage of flags was *reversed* since 5.4 and noone reported that

If we really need custom flags then CONFIG_KERNEL_CFLAGS should get
default value adjusted properly (per target).

Ref: 4e0c54bc5b ("kernel: add support for kernel 5.4")
Link: http://lists.openwrt.org/pipermail/openwrt-devel/2022-June/038853.html
Link: https://patchwork.ozlabs.org/project/openwrt/patch/20190409093046.13401-1-zajec5@gmail.com/
Cc: Felix Fietkau <nbd@nbd.name>
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Cc: Rui Salvaterra <rsalvaterra@gmail.com>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 22168ae681)
2022-07-08 15:38:42 +02:00
..
backport-5.4 kernel: backport wireguard blake2s patch 2022-07-03 21:27:38 +02:00
files kernel: ar8216: add get_features method 2021-10-12 11:38:20 +02:00
hack-5.4 kernel: check dst of flow offloading table 2022-07-03 20:00:16 +02:00
image target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
other-files initramfs: switch to tmpfs to fix ujail 2020-11-27 01:23:43 +00:00
pending-5.4 kernel: drop patch adding hardcoded kernel compilation flags 2022-07-08 15:38:42 +02:00
config-5.4 kernel: Remove kmod-crypto-lib-blake2s 2022-07-04 01:35:37 +02:00
config-filter build: filter out more autogenerated kernel config options 2020-11-13 13:18:20 +01:00
PATCHES kernel: update PATCHES with a stricter policy 2013-07-09 20:52:07 +00:00