Remove unused BoardConfig variables.

Determined via codesearch.

Test: treehugger
Change-Id: I5138e1b2294d39e11b46f9e1751c41b842c1743b
This commit is contained in:
Elliott Hughes 2019-07-18 15:03:52 -07:00
parent dcb6644719
commit 2e6e73bb01
42 changed files with 17 additions and 255 deletions

View File

@ -33,12 +33,6 @@ ifeq ($(strip $(TARGET_$(combo_2nd_arch_prefix)ARCH_VARIANT)),)
TARGET_$(combo_2nd_arch_prefix)ARCH_VARIANT := mips32r2-fp
endif
TARGET_ARCH_SPECIFIC_MAKEFILE := $(BUILD_COMBOS)/arch/$(TARGET_$(combo_2nd_arch_prefix)ARCH)/$(TARGET_$(combo_2nd_arch_prefix)ARCH_VARIANT).mk
ifeq ($(strip $(wildcard $(TARGET_ARCH_SPECIFIC_MAKEFILE))),)
$(error Unknown MIPS architecture variant: $(TARGET_$(combo_2nd_arch_prefix)ARCH_VARIANT))
endif
include $(TARGET_ARCH_SPECIFIC_MAKEFILE)
include $(BUILD_SYSTEM)/combo/fdo.mk
define $(combo_var_prefix)transform-shared-lib-to-toc

View File

@ -33,12 +33,6 @@ ifeq ($(strip $(TARGET_ARCH_VARIANT)),)
TARGET_ARCH_VARIANT := mips64r6
endif
TARGET_ARCH_SPECIFIC_MAKEFILE := $(BUILD_COMBOS)/arch/$(TARGET_ARCH)/$(TARGET_ARCH_VARIANT).mk
ifeq ($(strip $(wildcard $(TARGET_ARCH_SPECIFIC_MAKEFILE))),)
$(error Unknown MIPS architecture variant: $(TARGET_ARCH_VARIANT))
endif
include $(TARGET_ARCH_SPECIFIC_MAKEFILE)
include $(BUILD_SYSTEM)/combo/fdo.mk
define $(combo_var_prefix)transform-shared-lib-to-toc

View File

@ -1,7 +1,6 @@
# Configuration for Linux on ARM.
# Generating binaries for the ARMv7-a architecture and higher with NEON
#
ARCH_ARM_HAVE_ARMV7A := true
ARCH_ARM_HAVE_VFP := true
ARCH_ARM_HAVE_VFP_D32 := true
ARCH_ARM_HAVE_NEON := true

View File

@ -3,7 +3,6 @@
#
# Many libraries are not aware of armv8-2a, and AArch32 is (almost) a superset
# of armv7-a-neon. So just let them think we are just like v7.
ARCH_ARM_HAVE_ARMV7A := true
ARCH_ARM_HAVE_VFP := true
ARCH_ARM_HAVE_VFP_D32 := true
ARCH_ARM_HAVE_NEON := true

View File

@ -3,7 +3,6 @@
#
# Many libraries are not aware of armv8-a, and AArch32 is (almost) a superset
# of armv7-a-neon. So just let them think we are just like v7.
ARCH_ARM_HAVE_ARMV7A := true
ARCH_ARM_HAVE_VFP := true
ARCH_ARM_HAVE_VFP_D32 := true
ARCH_ARM_HAVE_NEON := true

View File

@ -1,5 +0,0 @@
# Configuration for Android on MIPS.
# Generating binaries for MIPS32/hard-float/little-endian
ARCH_MIPS_HAS_FPU :=true
ARCH_HAVE_ALIGNED_DOUBLES :=true

View File

@ -1,6 +0,0 @@
# Configuration for Android on Ingenic xb4780/Xburst MIPS CPU.
# Generating binaries for MIPS32R2/hard-float/little-endian without
# support for the Madd family of instructions.
ARCH_MIPS_HAS_FPU :=true
ARCH_HAVE_ALIGNED_DOUBLES :=true

View File

@ -1,5 +0,0 @@
# Configuration for Android on MIPS.
# Generating binaries for MIPS32R2/hard-float/little-endian
ARCH_MIPS_HAS_FPU :=true
ARCH_HAVE_ALIGNED_DOUBLES :=true

View File

@ -1,7 +0,0 @@
# Configuration for Android on MIPS.
# Generating binaries for MIPS32R2/hard-float/little-endian/dsp
ARCH_MIPS_HAS_DSP :=true
ARCH_MIPS_DSP_REV :=1
ARCH_MIPS_HAS_FPU :=true
ARCH_HAVE_ALIGNED_DOUBLES :=true

View File

@ -1,7 +0,0 @@
# Configuration for Android on MIPS.
# Generating binaries for MIPS32R2/hard-float/little-endian/dsp
ARCH_MIPS_HAS_DSP :=true
ARCH_MIPS_DSP_REV :=2
ARCH_MIPS_HAS_FPU :=true
ARCH_HAVE_ALIGNED_DOUBLES :=true

View File

@ -1,4 +0,0 @@
# Configuration for Android on MIPS.
# Generating binaries for MIPS32R6/hard-float/little-endian
ARCH_MIPS_REV6 := true

View File

@ -1,6 +0,0 @@
# Configuration for Android on mips64r2.
# This target is for temporary use only, until mips64r6 is supported by Android's qemu.
ARCH_MIPS_HAS_FPU :=true
ARCH_HAVE_ALIGNED_DOUBLES :=true

View File

@ -1,3 +0,0 @@
# Configuration for Android on mips64r6.
ARCH_MIPS64_REV6 := true

View File

@ -3,11 +3,4 @@
# that have AVX2 feature flag
#
ARCH_X86_HAVE_SSSE3 := true
ARCH_X86_HAVE_SSE4 := true
ARCH_X86_HAVE_SSE4_1 := true
ARCH_X86_HAVE_SSE4_2 := true
ARCH_X86_HAVE_AVX := true
ARCH_X86_HAVE_AVX2 := true
ARCH_X86_HAVE_POPCNT := true
ARCH_X86_HAVE_MOVBE := true

View File

@ -4,6 +4,3 @@
#
# See build/make/core/combo/arch/x86/x86.mk for differences.
#
ARCH_X86_HAVE_SSSE3 := true
ARCH_X86_HAVE_MOVBE := true
ARCH_X86_HAVE_POPCNT := false # popcnt is not supported by current Atom CPUs

View File

@ -3,11 +3,4 @@
# that have AVX2 feature flag
#
ARCH_X86_HAVE_SSSE3 := true
ARCH_X86_HAVE_SSE4 := true
ARCH_X86_HAVE_SSE4_1 := true
ARCH_X86_HAVE_SSE4_2 := true
ARCH_X86_HAVE_AVX := true
ARCH_X86_HAVE_AVX2 := true
ARCH_X86_HAVE_POPCNT := true
ARCH_X86_HAVE_MOVBE := true

View File

@ -1,11 +1,4 @@
# Configuration for Linux on x86.
# Generating binaries for Haswell processors.
#
ARCH_X86_HAVE_SSSE3 := true
ARCH_X86_HAVE_SSE4 := true
ARCH_X86_HAVE_SSE4_1 := true
ARCH_X86_HAVE_SSE4_2 := true
ARCH_X86_HAVE_AES_NI := true
ARCH_X86_HAVE_AVX := true
ARCH_X86_HAVE_POPCNT := true
ARCH_X86_HAVE_MOVBE := true

View File

@ -3,12 +3,4 @@
# that have AVX2 feature flag
#
ARCH_X86_HAVE_SSSE3 := true
ARCH_X86_HAVE_SSE4 := true
ARCH_X86_HAVE_SSE4_1 := true
ARCH_X86_HAVE_SSE4_2 := true
ARCH_X86_HAVE_AVX := true
ARCH_X86_HAVE_AVX2 := true
ARCH_X86_HAVE_AVX512 := true
ARCH_X86_HAVE_POPCNT := true
ARCH_X86_HAVE_MOVBE := true

View File

@ -1,11 +1,4 @@
# Configuration for Linux on x86.
# Generating binaries for Ivy Bridge processors.
#
ARCH_X86_HAVE_SSSE3 := true
ARCH_X86_HAVE_SSE4 := true
ARCH_X86_HAVE_SSE4_1 := true
ARCH_X86_HAVE_SSE4_2 := true
ARCH_X86_HAVE_AES_NI := true
ARCH_X86_HAVE_AVX := true
ARCH_X86_HAVE_POPCNT := true
ARCH_X86_HAVE_MOVBE := false

View File

@ -3,11 +3,4 @@
# that support AVX2 feature flag
#
ARCH_X86_HAVE_SSSE3 := true
ARCH_X86_HAVE_SSE4 := true
ARCH_X86_HAVE_SSE4_1 := true
ARCH_X86_HAVE_SSE4_2 := true
ARCH_X86_HAVE_AVX := true
ARCH_X86_HAVE_AVX2 := true
ARCH_X86_HAVE_POPCNT := true
ARCH_X86_HAVE_MOVBE := true

View File

@ -1,11 +1,4 @@
# Configuration for Linux on x86.
# Generating binaries for SandyBridge processors.
#
ARCH_X86_HAVE_SSSE3 := true
ARCH_X86_HAVE_SSE4 := true
ARCH_X86_HAVE_SSE4_1 := true
ARCH_X86_HAVE_SSE4_2 := true
ARCH_X86_HAVE_AES_NI := false
ARCH_X86_HAVE_AVX := false
ARCH_X86_HAVE_POPCNT := true
ARCH_X86_HAVE_MOVBE := false

View File

@ -4,10 +4,4 @@
# See build/make/core/combo/arch/x86/x86-atom.mk for differences.
#
ARCH_X86_HAVE_SSSE3 := true
ARCH_X86_HAVE_SSE4 := true
ARCH_X86_HAVE_SSE4_1 := true
ARCH_X86_HAVE_SSE4_2 := true
ARCH_X86_HAVE_AES_NI := true
ARCH_X86_HAVE_POPCNT := true
ARCH_X86_HAVE_MOVBE := true

View File

@ -3,13 +3,4 @@
# that support AVX2 feature flag
#
ARCH_X86_HAVE_SSSE3 := true
ARCH_X86_HAVE_SSE4 := true
ARCH_X86_HAVE_SSE4_1 := true
ARCH_X86_HAVE_SSE4_2 := true
ARCH_X86_HAVE_AVX := true
ARCH_X86_HAVE_AVX2 := true
ARCH_X86_HAVE_AVX512 := true
ARCH_X86_HAVE_POPCNT := true
ARCH_X86_HAVE_MOVBE := true

View File

@ -1,12 +1,4 @@
# Configuration for Linux on x86.
# Generating binaries for Stoney Ridge processors.
#
ARCH_X86_HAVE_SSSE3 := true
ARCH_X86_HAVE_SSE4 := true
ARCH_X86_HAVE_SSE4_1 := true
ARCH_X86_HAVE_SSE4_2 := true
ARCH_X86_HAVE_AES_NI := true
ARCH_X86_HAVE_AVX := true
ARCH_X86_HAVE_AVX2 := true
ARCH_X86_HAVE_POPCNT := true
ARCH_X86_HAVE_MOVBE := true

View File

@ -3,12 +3,4 @@
# that have AVX2 feature flag
#
ARCH_X86_HAVE_SSSE3 := true
ARCH_X86_HAVE_SSE4 := true
ARCH_X86_HAVE_SSE4_1 := true
ARCH_X86_HAVE_SSE4_2 := true
ARCH_X86_HAVE_AVX := true
ARCH_X86_HAVE_AVX2 := true
ARCH_X86_HAVE_AVX512 := true
ARCH_X86_HAVE_POPCNT := true
ARCH_X86_HAVE_MOVBE := true

View File

@ -3,11 +3,4 @@
# that have AVX2 feature flag
#
ARCH_X86_HAVE_SSSE3 := true
ARCH_X86_HAVE_SSE4 := true
ARCH_X86_HAVE_SSE4_1 := true
ARCH_X86_HAVE_SSE4_2 := true
ARCH_X86_HAVE_AVX := true
ARCH_X86_HAVE_AVX2 := true
ARCH_X86_HAVE_POPCNT := true
ARCH_X86_HAVE_MOVBE := true

View File

@ -8,9 +8,3 @@
# These features are optional and shall not be included in the base platform
# Otherwise, sdk_x86-eng system images might fail to run on some
# developer machines.
ARCH_X86_HAVE_SSSE3 := false
ARCH_X86_HAVE_MOVBE := false
ARCH_X86_HAVE_POPCNT := false
ARCH_X86_HAVE_AVX := false
ARCH_X86_HAVE_AVX2 := false
ARCH_X86_HAVE_AVX512 := false

View File

@ -4,9 +4,4 @@
# The generic 'x86' variant cannot be used, since it resets some flags used
# by the 'x86_64' variant.
ARCH_X86_HAVE_SSSE3 := true
ARCH_X86_HAVE_MOVBE := false # Only supported on Atom.
ARCH_X86_HAVE_POPCNT := true
ARCH_X86_HAVE_SSE4 := true
ARCH_X86_HAVE_SSE4_1 := true
ARCH_X86_HAVE_SSE4_2 := true

View File

@ -3,11 +3,4 @@
# that have AVX2 feature flag
#
ARCH_X86_HAVE_SSSE3 := true
ARCH_X86_HAVE_SSE4 := true
ARCH_X86_HAVE_SSE4_1 := true
ARCH_X86_HAVE_SSE4_2 := true
ARCH_X86_HAVE_AVX := true
ARCH_X86_HAVE_AVX2 := true
ARCH_X86_HAVE_POPCNT := true
ARCH_X86_HAVE_MOVBE := true

View File

@ -3,11 +3,4 @@
# that have AVX2 feature flag
#
ARCH_X86_HAVE_SSSE3 := true
ARCH_X86_HAVE_SSE4 := true
ARCH_X86_HAVE_SSE4_1 := true
ARCH_X86_HAVE_SSE4_2 := true
ARCH_X86_HAVE_AVX := true
ARCH_X86_HAVE_AVX2 := true
ARCH_X86_HAVE_POPCNT := true
ARCH_X86_HAVE_MOVBE := true

View File

@ -1,11 +1,4 @@
# Configuration for Linux on x86_64.
# Generating binaries for Haswell processors.
#
ARCH_X86_HAVE_SSSE3 := true
ARCH_X86_HAVE_SSE4 := true
ARCH_X86_HAVE_SSE4_1 := true
ARCH_X86_HAVE_SSE4_2 := true
ARCH_X86_HAVE_AES_NI := true
ARCH_X86_HAVE_AVX := true
ARCH_X86_HAVE_POPCNT := true
ARCH_X86_HAVE_MOVBE := true

View File

@ -3,12 +3,4 @@
# that have AVX2 feature flag
#
ARCH_X86_HAVE_SSSE3 := true
ARCH_X86_HAVE_SSE4 := true
ARCH_X86_HAVE_SSE4_1 := true
ARCH_X86_HAVE_SSE4_2 := true
ARCH_X86_HAVE_AVX := true
ARCH_X86_HAVE_AVX2 := true
ARCH_X86_HAVE_AVX512 := true
ARCH_X86_HAVE_POPCNT := true
ARCH_X86_HAVE_MOVBE := true

View File

@ -1,11 +1,4 @@
# Configuration for Linux on x86_64.
# Generating binaries for Ivy Bridge processors.
#
ARCH_X86_HAVE_SSSE3 := true
ARCH_X86_HAVE_SSE4 := true
ARCH_X86_HAVE_SSE4_1 := true
ARCH_X86_HAVE_SSE4_2 := true
ARCH_X86_HAVE_AES_NI := true
ARCH_X86_HAVE_AVX := true
ARCH_X86_HAVE_POPCNT := true
ARCH_X86_HAVE_MOVBE := false

View File

@ -3,11 +3,4 @@
# that have AVX2 feature flag
#
ARCH_X86_HAVE_SSSE3 := true
ARCH_X86_HAVE_SSE4 := true
ARCH_X86_HAVE_SSE4_1 := true
ARCH_X86_HAVE_SSE4_2 := true
ARCH_X86_HAVE_AVX := true
ARCH_X86_HAVE_AVX2 := true
ARCH_X86_HAVE_POPCNT := true
ARCH_X86_HAVE_MOVBE := true

View File

@ -1,11 +1,4 @@
# Configuration for Linux on x86_64.
# Generating binaries for SandyBridge processors.
#
ARCH_X86_HAVE_SSSE3 := true
ARCH_X86_HAVE_SSE4 := true
ARCH_X86_HAVE_SSE4_1 := true
ARCH_X86_HAVE_SSE4_2 := true
ARCH_X86_HAVE_AES_NI := false
ARCH_X86_HAVE_AVX := false
ARCH_X86_HAVE_POPCNT := true
ARCH_X86_HAVE_MOVBE := false

View File

@ -4,10 +4,4 @@
# See build/make/core/combo/arch/x86/x86-atom.mk for differences.
#
ARCH_X86_HAVE_SSSE3 := true
ARCH_X86_HAVE_SSE4 := true
ARCH_X86_HAVE_SSE4_1 := true
ARCH_X86_HAVE_SSE4_2 := true
ARCH_X86_HAVE_AES_NI := true
ARCH_X86_HAVE_POPCNT := true
ARCH_X86_HAVE_MOVBE := true

View File

@ -3,12 +3,4 @@
# that have AVX2 feature flag
#
ARCH_X86_HAVE_SSSE3 := true
ARCH_X86_HAVE_SSE4 := true
ARCH_X86_HAVE_SSE4_1 := true
ARCH_X86_HAVE_SSE4_2 := true
ARCH_X86_HAVE_AVX := true
ARCH_X86_HAVE_AVX2 := true
ARCH_X86_HAVE_AVX512 := true
ARCH_X86_HAVE_POPCNT := true
ARCH_X86_HAVE_MOVBE := true

View File

@ -1,12 +1,4 @@
# Configuration for Linux on x86_64.
# Generating binaries for Stoney Ridge processors.
#
ARCH_X86_HAVE_SSSE3 := true
ARCH_X86_HAVE_SSE4 := true
ARCH_X86_HAVE_SSE4_1 := true
ARCH_X86_HAVE_SSE4_2 := true
ARCH_X86_HAVE_AES_NI := true
ARCH_X86_HAVE_AVX := true
ARCH_X86_HAVE_AVX2 := true
ARCH_X86_HAVE_POPCNT := true
ARCH_X86_HAVE_MOVBE := true

View File

@ -3,12 +3,4 @@
# that have AVX2 feature flag
#
ARCH_X86_HAVE_SSSE3 := true
ARCH_X86_HAVE_SSE4 := true
ARCH_X86_HAVE_SSE4_1 := true
ARCH_X86_HAVE_SSE4_2 := true
ARCH_X86_HAVE_AVX := true
ARCH_X86_HAVE_AVX2 := true
ARCH_X86_HAVE_AVX512 := true
ARCH_X86_HAVE_POPCNT := true
ARCH_X86_HAVE_MOVBE := true

View File

@ -3,11 +3,4 @@
# that have AVX2 feature flag
#
ARCH_X86_HAVE_SSSE3 := true
ARCH_X86_HAVE_SSE4 := true
ARCH_X86_HAVE_SSE4_1 := true
ARCH_X86_HAVE_SSE4_2 := true
ARCH_X86_HAVE_AVX := true
ARCH_X86_HAVE_AVX2 := true
ARCH_X86_HAVE_POPCNT := true
ARCH_X86_HAVE_MOVBE := true

View File

@ -5,12 +5,4 @@
# that are run in the emulator under KVM emulation (i.e. running directly on
# the host development machine's CPU).
ARCH_X86_HAVE_SSSE3 := true
ARCH_X86_HAVE_MOVBE := false # Only supported on Atom.
ARCH_X86_HAVE_POPCNT := true
ARCH_X86_HAVE_SSE4 := true
ARCH_X86_HAVE_SSE4_1 := true
ARCH_X86_HAVE_SSE4_2 := true
ARCH_X86_HAVE_AVX := false
ARCH_X86_HAVE_AVX2 := false
ARCH_X86_HAVE_AVX512 := false

View File

@ -101,6 +101,23 @@ $(KATI_obsolete_var BUILD_BROKEN_ENG_DEBUG_TAGS)
$(KATI_obsolete_export It is a global setting. See $(CHANGES_URL)#export_keyword)
$(KATI_obsolete_var BUILD_BROKEN_ANDROIDMK_EXPORTS)
$(KATI_obsolete_var PRODUCT_STATIC_BOOT_CONTROL_HAL,Use shared library module instead. See $(CHANGES_URL)#PRODUCT_STATIC_BOOT_CONTROL_HAL)
$(KATI_obsolete_var \
ARCH_ARM_HAVE_ARMV7A \
ARCH_DSP_REV \
ARCH_HAVE_ALIGNED_DOUBLES \
ARCH_MIPS_HAS_DSP \
ARCH_MIPS_HAS_FPU \
ARCH_MIPS_REV6 \
ARCH_X86_HAVE_AES_NI \
ARCH_X86_HAVE_AVX \
ARCH_X86_HAVE_AVX2 \
ARCH_X86_HAVE_AVX512 \
ARCH_X86_HAVE_MOVBE \
ARCH_X86_HAVE_POPCNT \
ARCH_X86_HAVE_SSE4 \
ARCH_X86_HAVE_SSE4_2 \
ARCH_X86_HAVE_SSSE3 \
)
# Used to force goals to build. Only use for conditionally defined goals.
.PHONY: FORCE