Skip to content

Instantly share code, notes, and snippets.

@vinecodes
Created February 5, 2018 05:22
Show Gist options
  • Save vinecodes/77423404d5d2bb1076cbe3f3f99ae720 to your computer and use it in GitHub Desktop.
Save vinecodes/77423404d5d2bb1076cbe3f3f99ae720 to your computer and use it in GitHub Desktop.
# Architecture
# For 64 bit
TARGET_ARCH := arm64
TARGET_CPU_ABI := arm64-v8a
TARGET_CPU_ABI2 := armeabi-v7a
TARGET_ARCH_VARIANT := armv8-a
TARGET_CPU_VARIANT := generic
# For 32 bit
TARGET_2ND_ARCH := arm
TARGET_2ND_ARCH_VARIANT := armv7-a-neon
TARGET_2ND_CPU_ABI := armeabi-v7a
TARGET_2ND_CPU_ABI2 := armeabi
TARGET_2ND_CPU_VARIANT := generic
TARGET_CPU_SMP := true
# Platform
TARGET_BOARD_PLATFORM := mt6737
TARGET_BOARD_PLATFORM_GPU := mali-t720mp2
# Uncomment this if needed or remove it. Check build.prop.
# ARCH_ARM_HAVE_NEON := true
# ARCH_ARM_HAVE_VFP := true
# ARCH_ARM_HAVE_TLS_REGISTER := true
# Compilation Flags
TARGET_GLOBAL_CFLAGS += -mfpu=neon -mfloat-abi=softfp
TARGET_GLOBAL_CPPFLAGS += -mfpu=neon -mfloat-abi=softfp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment