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/sunxi | |
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/sunxi')
-rw-r--r-- | target/linux/sunxi/config-5.15 | 8 | ||||
-rw-r--r-- | target/linux/sunxi/cortexa53/config-5.15 | 4 | ||||
-rw-r--r-- | target/linux/sunxi/cortexa7/config-5.15 | 2 |
3 files changed, 0 insertions, 14 deletions
diff --git a/target/linux/sunxi/config-5.15 b/target/linux/sunxi/config-5.15 index 9432a97ee6..2c09114f55 100644 --- a/target/linux/sunxi/config-5.15 +++ b/target/linux/sunxi/config-5.15 @@ -1,4 +1,3 @@ -CONFIG_AF_UNIX_OOB=y # CONFIG_AHCI_SUNXI is not set CONFIG_ALIGNMENT_TRAP=y CONFIG_ARCH_32BIT_OFF_T=y @@ -49,7 +48,6 @@ CONFIG_AUTO_ZRELADDR=y CONFIG_AXP20X_POWER=y CONFIG_BACKLIGHT_CLASS_DEVICE=y CONFIG_BACKLIGHT_PWM=y -CONFIG_BINARY_PRINTF=y CONFIG_BINFMT_FLAT_ARGVP_ENVP_ON_STACK=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_SD=y @@ -257,7 +255,6 @@ CONFIG_LOGO=y CONFIG_LOGO_LINUX_CLUT224=y CONFIG_LOGO_LINUX_MONO=y CONFIG_LOGO_LINUX_VGA16=y -CONFIG_LTO_NONE=y CONFIG_MACH_SUN4I=y CONFIG_MACH_SUN5I=y CONFIG_MACH_SUN6I=y @@ -301,7 +298,6 @@ CONFIG_NEON=y CONFIG_NET_FLOW_LIMIT=y CONFIG_NET_PTP_CLASSIFY=y CONFIG_NET_SELFTESTS=y -CONFIG_NET_SOCK_MSG=y CONFIG_NET_VENDOR_ALLWINNER=y CONFIG_NLS=y CONFIG_NLS_CODEPAGE_437=y @@ -425,9 +421,7 @@ CONFIG_SND_PCM=y CONFIG_SND_SIMPLE_CARD=y CONFIG_SND_SIMPLE_CARD_UTILS=y CONFIG_SND_SOC=y -# CONFIG_SND_SOC_ADI is not set CONFIG_SND_SOC_I2C_AND_SPI=y -# CONFIG_SND_SOC_PCM5102A is not set # CONFIG_SND_SUN4I_I2S is not set # CONFIG_SND_SUN4I_SPDIF is not set # CONFIG_SND_SUN8I_CODEC is not set @@ -444,7 +438,6 @@ CONFIG_SPI_SUN6I=y CONFIG_SRCU=y CONFIG_STMMAC_ETH=y CONFIG_STMMAC_PLATFORM=y -# CONFIG_STMMAC_SELFTESTS is not set CONFIG_SUN4I_A10_CCU=y # CONFIG_SUN4I_EMAC is not set CONFIG_SUN4I_TIMER=y @@ -490,7 +483,6 @@ CONFIG_UNCOMPRESS_INCLUDE="debug/uncompress.h" CONFIG_UNWINDER_ARM=y CONFIG_USB=y CONFIG_USB_ANNOUNCE_NEW_DEVICES=y -# CONFIG_USB_AUDIO is not set CONFIG_USB_COMMON=y CONFIG_USB_DWC2=y CONFIG_USB_DWC2_HOST=y diff --git a/target/linux/sunxi/cortexa53/config-5.15 b/target/linux/sunxi/cortexa53/config-5.15 index 634373e027..4678c065ce 100644 --- a/target/linux/sunxi/cortexa53/config-5.15 +++ b/target/linux/sunxi/cortexa53/config-5.15 @@ -11,8 +11,6 @@ CONFIG_ARM64_4K_PAGES=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_TAGGED_ADDR_ABI=y CONFIG_ARM64_VA_BITS=39 CONFIG_ARM64_VA_BITS_39=y @@ -74,9 +72,7 @@ CONFIG_SYSCTL_EXCEPTION_TRACE=y CONFIG_THREAD_INFO_IN_TASK=y CONFIG_UNMAP_KERNEL_AT_EL0=y CONFIG_USB_MUSB_DUAL_ROLE=y -# CONFIG_USB_MUSB_GADGET is not set CONFIG_USB_MUSB_HDRC=y -# CONFIG_USB_MUSB_HOST is not set CONFIG_USB_MUSB_SUNXI=y CONFIG_USB_PHY=y CONFIG_VMAP_STACK=y diff --git a/target/linux/sunxi/cortexa7/config-5.15 b/target/linux/sunxi/cortexa7/config-5.15 index c3ceb99c3d..31bb4d9f1a 100644 --- a/target/linux/sunxi/cortexa7/config-5.15 +++ b/target/linux/sunxi/cortexa7/config-5.15 @@ -17,8 +17,6 @@ CONFIG_NET_SWITCHDEV=y CONFIG_NOP_USB_XCEIV=y CONFIG_RTC_DRV_SUN6I=y CONFIG_USB_MUSB_DUAL_ROLE=y -# CONFIG_USB_MUSB_GADGET is not set CONFIG_USB_MUSB_HDRC=y -# CONFIG_USB_MUSB_HOST is not set CONFIG_USB_MUSB_SUNXI=y CONFIG_USB_PHY=y |