aboutsummaryrefslogtreecommitdiff
path: root/BoardConfig.mk
blob: d45276133db589227914f9cb2e50b9cc9d4f2542 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
TARGET_BOARD_PLATFORM := vexpress
TARGET_NO_BOOTLOADER := true # We use our own methods for building bootloaders
TARGET_NO_KERNEL := false
TARGET_NO_RECOVERY := true

TARGET_USE_XLOADER := false
TARGET_USE_UBOOT := false

TARGET_USERIMAGES_USE_EXT4 := true
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true

TARGET_HARDWARE_3D := false

TARGET_ARCH := arm64
TARGET_ARCH_VARIANT := armv8-a
TARGET_CPU_VARIANT := generic
TARGET_CPU_ABI := arm64-v8a

ifeq ($(strip $(BUILD_2ND_ARCH)),true)
TARGET_2ND_ARCH := arm
TARGET_2ND_ARCH_VARIANT := armv7-a-neon
TARGET_2ND_CPU_VARIANT := generic
TARGET_2ND_CPU_ABI := armeabi-v7a
TARGET_2ND_CPU_ABI2 := armeabi
TARGET_SUPPORTS_32_BIT_APPS := true
2ND_TARGET_TOOLCHAIN_ROOT ?= $(realpath $(TOP))/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9-linaro
2ND_TARGET_TOOLS_PREFIX ?= $(realpath $(TOP))/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9-linaro/bin/arm-linux-androideabi-
else
TARGET_SUPPORTS_64_BIT_APPS := true
endif

APP_PROCESS_LINK ?= 1

TARGET_SHELL := ash

BOARD_USES_GENERIC_AUDIO := true
USE_CAMERA_STUB := true

WITH_DEXPREOPT ?= true

FORCE_BUILD_LLVM_COMPONENTS := true

ANDROID_64=true

UEFI_TOOLS_PREFIX ?= $(realpath $(TOP))/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.8-linaro/bin/aarch64-linux-android-
KERNEL_TOOLS_PREFIX ?= $(realpath $(TOP))/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9-linaro/bin/aarch64-linux-android-
TARGET_TOOLS_PREFIX ?= $(realpath $(TOP))/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9-linaro/bin/aarch64-linux-android-

KERNEL_CONFIG ?= linaro/configs/linaro-base.conf \
                 linaro/configs/android.conf \
                 linaro/configs/vexpress64.conf \
                 linaro/configs/big-LITTLE-MP.conf \
                 linaro/configs/vexpress-tuning.conf \
                 linaro/configs/juice.conf
CUSTOM_BOOTLOADER_MAKEFILE := device/linaro/vexpress/bootloader.mk
TARGET_KERNEL_SOURCE ?= kernel/linaro/juice
DEVICE_TREES := fvp-base-gicv2-psci:fvp-base-gicv2-psci.dtb fvp-base-gicv2-psci:fdt.dtb

TARGET_USES_64_BIT_BINDER := true