BoardConfig.mk revision faf0c33d065ae94c31094d0f9e9e3e054edf1f82
1#
2# Copyright (C) 2013-2014 The Android Open-Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#      http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17# Use the non-open-source parts, if they're present
18-include vendor/htc/flounder/BoardConfigVendor.mk
19
20TARGET_ARCH := arm64
21TARGET_ARCH_VARIANT := armv8-a
22TARGET_CPU_ABI := arm64-v8a
23TARGET_CPU_ABI2 :=
24TARGET_CPU_VARIANT := generic
25
26TARGET_2ND_ARCH := arm
27TARGET_2ND_ARCH_VARIANT := armv7-a-neon
28TARGET_2ND_CPU_ABI := armeabi-v7a
29TARGET_2ND_CPU_ABI2 := armeabi
30TARGET_2ND_CPU_VARIANT := cortex-a15
31
32# Disable 64-bit surfaceflinger until we have 64-bit GL libraries
33TARGET_32_BIT_SURFACEFLINGER := true
34
35# Disable emulator for "make dist" until there is a 64-bit qemu kernel
36BUILD_EMULATOR := false
37
38TARGET_NO_BOOTLOADER := true
39
40TARGET_NO_RADIOIMAGE := true
41
42TARGET_BOARD_PLATFORM := tegra132
43TARGET_BOARD_INFO_FILE := device/htc/flounder/board-info.txt
44
45TARGET_BOOTLOADER_BOARD_NAME := flounder
46
47USE_OPENGL_RENDERER := true
48NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3
49
50TARGET_RECOVERY_FSTAB = device/htc/flounder/fstab.flounder
51TARGET_USERIMAGES_USE_EXT4 := true
52BOARD_SYSTEMIMAGE_PARTITION_SIZE := 805306368
53BOARD_USERDATAIMAGE_PARTITION_SIZE := 14061928448
54BOARD_CACHEIMAGE_PARTITION_SIZE := 805306368
55BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
56BOARD_FLASH_BLOCK_SIZE := 4096
57
58BOARD_CHARGER_DISABLE_INIT_BLANK := true
59BOARD_USES_GENERIC_INVENSENSE := false
60
61USE_E2FSPROGS := true
62BOARD_HAVE_BLUETOOTH_BCM := true
63
64BOARD_USES_GENERIC_AUDIO := false
65BOARD_USES_ALSA_AUDIO := true
66
67BOARD_HAL_STATIC_LIBRARIES := libdumpstate.flounder
68
69# Wifi related defines
70BOARD_WPA_SUPPLICANT_DRIVER := NL80211
71WPA_SUPPLICANT_VERSION      := VER_0_8_X
72BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd
73BOARD_HOSTAPD_DRIVER        := NL80211
74BOARD_HOSTAPD_PRIVATE_LIB   := lib_driver_cmd_bcmdhd
75BOARD_WLAN_DEVICE           := bcmdhd
76WIFI_DRIVER_FW_PATH_PARAM   := "/sys/module/bcmdhd/parameters/firmware_path"
77WIFI_DRIVER_FW_PATH_STA     := "/vendor/firmware/fw_bcmdhd.bin"
78WIFI_DRIVER_FW_PATH_AP      := "/vendor/firmware/fw_bcmdhd_apsta.bin"
79
80BOARD_SEPOLICY_DIRS := device/htc/flounder/sepolicy
81BOARD_SEPOLICY_UNION := \
82	file_contexts \
83	bluetooth.te
84
85TARGET_USES_64_BIT_BCMDHD := true
86TARGET_USES_64_BIT_BINDER := true
87
88TARGET_USES_LOGD := true
89