[openwrt/openwrt] malta: prune subtarget configs

LEDE Commits lede-commits at lists.infradead.org
Wed Mar 17 14:35:52 GMT 2021


ynezz pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/6eca2e40e74e8385459d9437f49eb7e058f78548

commit 6eca2e40e74e8385459d9437f49eb7e058f78548
Author: Tony Ambardar <itugrok at yahoo.com>
AuthorDate: Thu Feb 18 22:52:20 2021 -0800

    malta: prune subtarget configs
    
    Drop autogenerated kernel config options. These aren't needed to build and
    can obscure options relevant to the subtarget.
    
    Signed-off-by: Tony Ambardar <itugrok at yahoo.com>
---
 target/linux/malta/be/config-default   |  8 --------
 target/linux/malta/be64/config-default | 23 -----------------------
 target/linux/malta/le/config-default   |  8 --------
 target/linux/malta/le64/config-default | 23 -----------------------
 4 files changed, 62 deletions(-)

diff --git a/target/linux/malta/be/config-default b/target/linux/malta/be/config-default
index 735296f5b3..5586be6b7c 100644
--- a/target/linux/malta/be/config-default
+++ b/target/linux/malta/be/config-default
@@ -1,12 +1,4 @@
 CONFIG_CPU_BIG_ENDIAN=y
-CONFIG_CPU_HAS_RIXI=y
 # CONFIG_CPU_LITTLE_ENDIAN is not set
 CONFIG_CPU_MIPS32_R2=y
-CONFIG_CPU_MIPSR2=y
-CONFIG_CPU_SUPPORTS_MSA=y
-CONFIG_HAVE_CBPF_JIT=y
-CONFIG_HAVE_KVM=y
 CONFIG_HIGHMEM=y
-CONFIG_MIPS_CBPF_JIT=y
-CONFIG_MIPS_SPRAM=y
-CONFIG_TARGET_ISA_REV=2
diff --git a/target/linux/malta/be64/config-default b/target/linux/malta/be64/config-default
index fee1bc8c9d..ef044bb8ca 100644
--- a/target/linux/malta/be64/config-default
+++ b/target/linux/malta/be64/config-default
@@ -1,32 +1,9 @@
 # CONFIG_32BIT is not set
 CONFIG_64BIT=y
-CONFIG_ARCH_DMA_ADDR_T_64BIT=y
 CONFIG_ARCH_MMAP_RND_BITS=12
-CONFIG_ARCH_MMAP_RND_BITS_MAX=18
-CONFIG_ARCH_MMAP_RND_BITS_MIN=12
-CONFIG_ARCH_USE_CMPXCHG_LOCKREF=y
 CONFIG_CPU_BIG_ENDIAN=y
-CONFIG_CPU_HAS_RIXI=y
 # CONFIG_CPU_LITTLE_ENDIAN is not set
-CONFIG_CPU_MIPS64=y
 CONFIG_CPU_MIPS64_R2=y
-CONFIG_CPU_MIPSR2=y
-CONFIG_CPU_SUPPORTS_64BIT_KERNEL=y
-CONFIG_CPU_SUPPORTS_HUGEPAGES=y
-CONFIG_CPU_SUPPORTS_MSA=y
-CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
-CONFIG_HAVE_EBPF_JIT=y
-CONFIG_HAVE_KVM=y
-CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
 # CONFIG_MIPS32_N32 is not set
 # CONFIG_MIPS32_O32 is not set
-CONFIG_MIPS_EBPF_JIT=y
-CONFIG_MIPS_PGD_C0_CONTEXT=y
-CONFIG_MIPS_SPRAM=y
 # CONFIG_MIPS_VA_BITS_48 is not set
-CONFIG_MODULES_USE_ELF_RELA=y
-CONFIG_PGTABLE_LEVELS=3
-CONFIG_PHYS_ADDR_T_64BIT=y
-CONFIG_SYS_SUPPORTS_HUGETLBFS=y
-CONFIG_TARGET_ISA_REV=2
-CONFIG_ZONE_DMA32=y
diff --git a/target/linux/malta/le/config-default b/target/linux/malta/le/config-default
index 2c6148195e..ff8a7a84c6 100644
--- a/target/linux/malta/le/config-default
+++ b/target/linux/malta/le/config-default
@@ -1,11 +1,3 @@
-CONFIG_CPU_HAS_RIXI=y
 CONFIG_CPU_LITTLE_ENDIAN=y
 CONFIG_CPU_MIPS32_R2=y
-CONFIG_CPU_MIPSR2=y
-CONFIG_CPU_SUPPORTS_MSA=y
-CONFIG_HAVE_CBPF_JIT=y
-CONFIG_HAVE_KVM=y
 CONFIG_HIGHMEM=y
-CONFIG_MIPS_CBPF_JIT=y
-CONFIG_MIPS_SPRAM=y
-CONFIG_TARGET_ISA_REV=2
diff --git a/target/linux/malta/le64/config-default b/target/linux/malta/le64/config-default
index 531d93d58e..69e5387a1f 100644
--- a/target/linux/malta/le64/config-default
+++ b/target/linux/malta/le64/config-default
@@ -1,31 +1,8 @@
 # CONFIG_32BIT is not set
 CONFIG_64BIT=y
-CONFIG_ARCH_DMA_ADDR_T_64BIT=y
 CONFIG_ARCH_MMAP_RND_BITS=12
-CONFIG_ARCH_MMAP_RND_BITS_MAX=18
-CONFIG_ARCH_MMAP_RND_BITS_MIN=12
-CONFIG_ARCH_USE_CMPXCHG_LOCKREF=y
-CONFIG_CPU_HAS_RIXI=y
 CONFIG_CPU_LITTLE_ENDIAN=y
-CONFIG_CPU_MIPS64=y
 CONFIG_CPU_MIPS64_R2=y
-CONFIG_CPU_MIPSR2=y
-CONFIG_CPU_SUPPORTS_64BIT_KERNEL=y
-CONFIG_CPU_SUPPORTS_HUGEPAGES=y
-CONFIG_CPU_SUPPORTS_MSA=y
-CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
-CONFIG_HAVE_EBPF_JIT=y
-CONFIG_HAVE_KVM=y
-CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
 # CONFIG_MIPS32_N32 is not set
 # CONFIG_MIPS32_O32 is not set
-CONFIG_MIPS_EBPF_JIT=y
-CONFIG_MIPS_PGD_C0_CONTEXT=y
-CONFIG_MIPS_SPRAM=y
 # CONFIG_MIPS_VA_BITS_48 is not set
-CONFIG_MODULES_USE_ELF_RELA=y
-CONFIG_PGTABLE_LEVELS=3
-CONFIG_PHYS_ADDR_T_64BIT=y
-CONFIG_SYS_SUPPORTS_HUGETLBFS=y
-CONFIG_TARGET_ISA_REV=2
-CONFIG_ZONE_DMA32=y



More information about the lede-commits mailing list