summaryrefslogtreecommitdiff
path: root/linaro_arm
diff options
context:
space:
mode:
authorFengwei Yin <fengwei.yin@linaro.org>2016-02-18 21:27:36 +0800
committerFengwei Yin <fengwei.yin@linaro.org>2016-02-20 17:03:37 +0800
commitc2602c5d8d77d5cb0a8e40e5162cec76c4a209e6 (patch)
tree57e7f117de47bd7129c5be056169f82bda3389f6 /linaro_arm
parent9edc02d4c644ee43c94ea26305ef4e4a01b71667 (diff)
downloadgeneric-c2602c5d8d77d5cb0a8e40e5162cec76c4a209e6.tar.gz
Change the base mk file
Diffstat (limited to 'linaro_arm')
-rw-r--r--linaro_arm/BoardConfig.mk30
1 files changed, 30 insertions, 0 deletions
diff --git a/linaro_arm/BoardConfig.mk b/linaro_arm/BoardConfig.mk
index 0527caf..e8e758d 100644
--- a/linaro_arm/BoardConfig.mk
+++ b/linaro_arm/BoardConfig.mk
@@ -2,3 +2,33 @@ include $(SRC_TARGET_DIR)/board/generic/BoardConfig.mk
include device/linaro/generic/BoardConfig.mk
TARGET_USES_64_BIT_BINDER := true
+
+#We build kernel as 64bit
+ANDROID_64 := true
+KERNEL_TOOLS_PREFIX ?= $(realpath $(TOP))/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-
+
+BOARD_KERNEL_CMDLINE := console=ttyMSM0,115200n8 androidboot.selinux=disable
+
+# Kernel
+TARGET_KERNEL_SOURCE ?= kernel/linaro/qcom
+KERNEL_CONFIG = arch/arm64/configs/defconfig kernel/configs/distro.config kernel/configs/android.config
+DEVICE_TREES := msm8916-mtp:msm8916-mtp.dtb apq8016-sbc:apq8016-sbc.dtb
+BUILD_KERNEL_MODULES ?= true
+
+TARGET_NO_BOOTLOADER := true
+TARGET_NO_KERNEL := false
+TARGET_NO_RECOVERY := true
+TARGET_USE_XLOADER := false
+TARGET_USE_UBOOT := false
+TARGET_HARDWARE_3D := true
+BOARD_USES_GENERIC_AUDIO := false
+BOARD_USES_ALSA_AUDIO := false
+USE_CAMERA_STUB := true
+TARGET_USERIMAGES_USE_EXT4 := true
+BOARD_SYSTEMIMAGE_PARTITION_SIZE := 880803840
+BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800
+BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
+BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
+BOARD_FLASH_BLOCK_SIZE := 512
+TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
+