diff options
author | Aleksander Jan Bajkowski <olek2@wp.pl> | 2022-03-27 18:55:48 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-04-09 19:31:46 +0200 |
commit | a98ded6c5c1891087fb43499829928b3bc17702f (patch) | |
tree | 44ae09b5e7428cc0d52f18231f0ebfde9514ade3 /target/linux/imx | |
parent | 5b3a75e7a6688e067c5b03573c2c9a50994091d1 (diff) | |
download | openwrt-a98ded6c5c1891087fb43499829928b3bc17702f.tar.gz openwrt-a98ded6c5c1891087fb43499829928b3bc17702f.tar.bz2 openwrt-a98ded6c5c1891087fb43499829928b3bc17702f.zip |
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>
Diffstat (limited to 'target/linux/imx')
-rw-r--r-- | target/linux/imx/config-5.15 | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/target/linux/imx/config-5.15 b/target/linux/imx/config-5.15 index f27828e0bf..46be27a5a2 100644 --- a/target/linux/imx/config-5.15 +++ b/target/linux/imx/config-5.15 @@ -1,4 +1,3 @@ -CONFIG_AF_UNIX_OOB=y CONFIG_ALIGNMENT_TRAP=y CONFIG_ARCH_32BIT_OFF_T=y CONFIG_ARCH_HIBERNATION_POSSIBLE=y @@ -38,7 +37,6 @@ CONFIG_ATA=y CONFIG_ATAGS=y # CONFIG_ATA_SFF is not set CONFIG_AUTO_ZRELADDR=y -CONFIG_BINARY_PRINTF=y CONFIG_BINFMT_FLAT_ARGVP_ENVP_ON_STACK=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_PM=y @@ -247,7 +245,6 @@ CONFIG_KEYS=y CONFIG_LIBFDT=y CONFIG_LOCK_DEBUGGING_SUPPORT=y CONFIG_LOCK_SPIN_ON_OWNER=y -CONFIG_LTO_NONE=y CONFIG_LZO_COMPRESS=y CONFIG_LZO_DECOMPRESS=y CONFIG_MDIO_BUS=y @@ -289,7 +286,6 @@ CONFIG_NET_DSA_TAG_EDSA=y CONFIG_NET_FLOW_LIMIT=y CONFIG_NET_PTP_CLASSIFY=y CONFIG_NET_SELFTESTS=y -CONFIG_NET_SOCK_MSG=y CONFIG_NET_SWITCHDEV=y CONFIG_NLS=y CONFIG_NLS_CODEPAGE_437=y |