diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2022-06-15 12:36:37 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2022-07-08 15:38:42 +0200 |
commit | 4ec80cd907f25a056c1bca82d6ab722e59321eba (patch) | |
tree | 272aabcc5d727cfb19cfb0db4cf4272f7f8b373b /tools/firmware-utils | |
parent | b0968be02e264876e79e297d984ec82262344e7a (diff) | |
download | upstream-4ec80cd907f25a056c1bca82d6ab722e59321eba.tar.gz upstream-4ec80cd907f25a056c1bca82d6ab722e59321eba.tar.bz2 upstream-4ec80cd907f25a056c1bca82d6ab722e59321eba.zip |
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: 4e0c54bc5bc8 ("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 22168ae68101b95d03741b0e9e8ad20b8a5ae5b7)
Diffstat (limited to 'tools/firmware-utils')
0 files changed, 0 insertions, 0 deletions