Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b55201f2 authored by Ian Rogers's avatar Ian Rogers Committed by Android Git Automerger
Browse files

am 7cbe40ef: am defe864a: am 07b212ac: Merge "Move definition of...

am 7cbe40ef: am defe864a: am 07b212ac: Merge "Move definition of -D__ARM_FEATURE_LPAE=1 cflag to top-level."

* commit '7cbe40ef':
  Move definition of -D__ARM_FEATURE_LPAE=1 cflag to top-level.
parents 24330d27 7cbe40ef
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -7,7 +7,14 @@ ARCH_ARM_HAVE_VFP_D32 := true
ARCH_ARM_HAVE_NEON              := true

ifneq (,$(filter cortex-a15 krait denver,$(TARGET_$(combo_2nd_arch_prefix)CPU_VARIANT)))
	# TODO: krait is not a cortex-a15, we set the variant to cortex-a15 so that
	#       hardware divide operations are generated. This should be removed and a
	#       krait CPU variant added to GCC/clang.
	arch_variant_cflags := -mcpu=cortex-a15

	# Fake an ARM compiler flag as these processors support LPAE which GCC/clang
	# don't advertise.
	arch_variant_cflags += -D__ARM_FEATURE_LPAE=1
else
ifeq ($(strip $(TARGET_$(combo_2nd_arch_prefix)CPU_VARIANT)),cortex-a8)
	arch_variant_cflags := -mcpu=cortex-a8