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/mediatek/mt7622 | |
parent | 5b3a75e7a6688e067c5b03573c2c9a50994091d1 (diff) | |
download | upstream-a98ded6c5c1891087fb43499829928b3bc17702f.tar.gz upstream-a98ded6c5c1891087fb43499829928b3bc17702f.tar.bz2 upstream-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/mediatek/mt7622')
-rw-r--r-- | target/linux/mediatek/mt7622/config-5.15 | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/target/linux/mediatek/mt7622/config-5.15 b/target/linux/mediatek/mt7622/config-5.15 index 1e56202f95..523bec3a42 100644 --- a/target/linux/mediatek/mt7622/config-5.15 +++ b/target/linux/mediatek/mt7622/config-5.15 @@ -1,5 +1,4 @@ CONFIG_64BIT=y -CONFIG_AF_UNIX_OOB=y # CONFIG_AHCI_MTK is not set CONFIG_AQUANTIA_PHY=y CONFIG_ARCH_DMA_ADDR_T_64BIT=y @@ -26,8 +25,6 @@ CONFIG_ARM64_MODULE_PLTS=y CONFIG_ARM64_PAGE_SHIFT=12 CONFIG_ARM64_PA_BITS=48 CONFIG_ARM64_PA_BITS_48=y -# CONFIG_ARM64_PTR_AUTH is not set -# CONFIG_ARM64_SVE is not set # CONFIG_ARM64_SW_TTBR0_PAN is not set CONFIG_ARM64_TAGGED_ADDR_ABI=y CONFIG_ARM64_VA_BITS=39 @@ -46,7 +43,6 @@ CONFIG_ARM_PMU=y CONFIG_ARM_PSCI_FW=y CONFIG_ATA=y CONFIG_AUDIT_ARCH_COMPAT_GENERIC=y -CONFIG_BINARY_PRINTF=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_SD=y CONFIG_BLK_MQ_PCI=y @@ -220,7 +216,6 @@ CONFIG_LEDS_UBNT_LEDBAR=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_MAGIC_SYSRQ=y @@ -278,7 +273,6 @@ CONFIG_NET_FLOW_LIMIT=y CONFIG_NET_MEDIATEK_SOC=y CONFIG_NET_MEDIATEK_SOC_WED=y CONFIG_NET_SELFTESTS=y -CONFIG_NET_SOCK_MSG=y CONFIG_NET_SWITCHDEV=y CONFIG_NET_VENDOR_MEDIATEK=y CONFIG_NLS=y |