kernel: move some symbols to generic config
authorAleksander Jan Bajkowski <olek2@wp.pl>
Sun, 27 Mar 2022 16:55:48 +0000 (18:55 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 9 Apr 2022 17:31:46 +0000 (19:31 +0200)
commita98ded6c5c1891087fb43499829928b3bc17702f
tree44ae09b5e7428cc0d52f18231f0ebfde9514ade3
parent5b3a75e7a6688e067c5b03573c2c9a50994091d1
kernel: move some symbols to generic config

This commit add some enabled symbols to generic config.
LTO is only supported by clang compiler and therefore should
be disabled in the generic config instead of duplicating this
symbol in each target. CONFIG_LTO_NONE do this job.

The second group of symbols is enabled by the options available
in the generic config and is therefore added here:
* CONFIG_AF_UNIX_OOB is selected by CONFIG_NET && CONFIG_UNIX,
* CONFIG_BINARY_PRINTF is selected by CONFIG_BPF_SYSCALL,
* CONFIG_NET_SOCK_MSG is selected by CONFIG_BPF_SYSCALL && CONFIG_NET.

The other symbols are disabled and should be in the generic config.

This commit also removes these symbols from subtargets.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
13 files changed:
target/linux/ath79/config-5.15
target/linux/generic/config-5.15
target/linux/imx/config-5.15
target/linux/ipq806x/config-5.15
target/linux/mediatek/mt7622/config-5.15
target/linux/mediatek/mt7623/config-5.15
target/linux/mxs/config-5.15
target/linux/octeon/config-5.15
target/linux/ramips/mt7621/config-5.15
target/linux/sunxi/config-5.15
target/linux/sunxi/cortexa53/config-5.15
target/linux/sunxi/cortexa7/config-5.15
target/linux/x86/config-5.15