Colin Cross | a9e55ed | 2013-10-07 14:15:18 -0700 | [diff] [blame] | 1 | # |
Mark Salyzyn | a92b335 | 2014-02-21 11:08:00 -0800 | [diff] [blame] | 2 | # Copyright (C) 2013-2014 The Android Open-Source Project |
Colin Cross | a9e55ed | 2013-10-07 14:15:18 -0700 | [diff] [blame] | 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 | |
Colin Cross | a9e55ed | 2013-10-07 14:15:18 -0700 | [diff] [blame] | 17 | # Use the non-open-source parts, if they're present |
| 18 | -include vendor/htc/flounder/BoardConfigVendor.mk |
| 19 | |
Colin Cross | 265e5f5 | 2014-03-14 14:49:35 -0700 | [diff] [blame] | 20 | TARGET_ARCH := arm64 |
| 21 | TARGET_ARCH_VARIANT := armv8-a |
| 22 | TARGET_CPU_ABI := arm64-v8a |
| 23 | TARGET_CPU_ABI2 := |
| 24 | TARGET_CPU_VARIANT := generic |
| 25 | |
| 26 | TARGET_2ND_ARCH := arm |
| 27 | TARGET_2ND_ARCH_VARIANT := armv7-a-neon |
| 28 | TARGET_2ND_CPU_ABI := armeabi-v7a |
| 29 | TARGET_2ND_CPU_ABI2 := armeabi |
| 30 | TARGET_2ND_CPU_VARIANT := cortex-a15 |
| 31 | |
| 32 | # Disable 64-bit surfaceflinger until we have 64-bit GL libraries |
| 33 | TARGET_32_BIT_SURFACEFLINGER := true |
| 34 | |
| 35 | # Disable emulator for "make dist" until there is a 64-bit qemu kernel |
| 36 | BUILD_EMULATOR := false |
Colin Cross | a9e55ed | 2013-10-07 14:15:18 -0700 | [diff] [blame] | 37 | |
| 38 | TARGET_NO_BOOTLOADER := true |
| 39 | |
| 40 | TARGET_NO_RADIOIMAGE := true |
Colin Cross | 2e4e82b | 2014-01-31 18:41:57 -0800 | [diff] [blame] | 41 | |
Colin Cross | 2e4e82b | 2014-01-31 18:41:57 -0800 | [diff] [blame] | 42 | TARGET_BOARD_PLATFORM := tegra132 |
Alex Ray | 07917d4 | 2013-10-18 16:51:58 -0700 | [diff] [blame] | 43 | TARGET_BOARD_INFO_FILE := device/htc/flounder/board-info.txt |
Colin Cross | 2e4e82b | 2014-01-31 18:41:57 -0800 | [diff] [blame] | 44 | |
| 45 | TARGET_BOOTLOADER_BOARD_NAME := flounder |
Colin Cross | a9e55ed | 2013-10-07 14:15:18 -0700 | [diff] [blame] | 46 | |
| 47 | USE_OPENGL_RENDERER := true |
| 48 | NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3 |
| 49 | |
| 50 | TARGET_RECOVERY_FSTAB = device/htc/flounder/fstab.flounder |
| 51 | TARGET_USERIMAGES_USE_EXT4 := true |
Colin Cross | f20283c | 2013-10-11 11:30:18 -0700 | [diff] [blame] | 52 | BOARD_SYSTEMIMAGE_PARTITION_SIZE := 805306368 |
| 53 | BOARD_USERDATAIMAGE_PARTITION_SIZE := 14061928448 |
| 54 | BOARD_CACHEIMAGE_PARTITION_SIZE := 805306368 |
Colin Cross | a9e55ed | 2013-10-07 14:15:18 -0700 | [diff] [blame] | 55 | BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 |
| 56 | BOARD_FLASH_BLOCK_SIZE := 4096 |
| 57 | |
| 58 | BOARD_CHARGER_DISABLE_INIT_BLANK := true |
| 59 | BOARD_USES_GENERIC_INVENSENSE := false |
| 60 | |
| 61 | USE_E2FSPROGS := true |
Thomas.TT_Lin | 41ac6ae | 2014-03-13 19:07:45 +0800 | [diff] [blame] | 62 | |
| 63 | # Bluetooth |
| 64 | BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := vendor/htc/flounder |
thomas.tt_lin | bbd5977 | 2013-11-07 11:11:43 +0800 | [diff] [blame] | 65 | BOARD_HAVE_BLUETOOTH_BCM := true |
Colin Cross | a9e55ed | 2013-10-07 14:15:18 -0700 | [diff] [blame] | 66 | |
| 67 | BOARD_USES_GENERIC_AUDIO := false |
| 68 | BOARD_USES_ALSA_AUDIO := true |
Dmitry Shmidt | c4a032a | 2013-10-09 14:57:38 -0700 | [diff] [blame] | 69 | |
Todd Poynor | 6d83f95 | 2014-01-03 16:00:28 -0800 | [diff] [blame] | 70 | BOARD_HAL_STATIC_LIBRARIES := libdumpstate.flounder |
| 71 | |
Andy Chuang | 92af8b2 | 2014-03-14 18:38:17 +0800 | [diff] [blame] | 72 | BOARD_VENDOR_USE_SENSOR_HAL := sensor_hub |
| 73 | |
Dmitry Shmidt | c4a032a | 2013-10-09 14:57:38 -0700 | [diff] [blame] | 74 | # Wifi related defines |
| 75 | BOARD_WPA_SUPPLICANT_DRIVER := NL80211 |
| 76 | WPA_SUPPLICANT_VERSION := VER_0_8_X |
| 77 | BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd |
| 78 | BOARD_HOSTAPD_DRIVER := NL80211 |
| 79 | BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd |
| 80 | BOARD_WLAN_DEVICE := bcmdhd |
| 81 | WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcmdhd/parameters/firmware_path" |
| 82 | WIFI_DRIVER_FW_PATH_STA := "/vendor/firmware/fw_bcmdhd.bin" |
| 83 | WIFI_DRIVER_FW_PATH_AP := "/vendor/firmware/fw_bcmdhd_apsta.bin" |
Colin Cross | 9d42c35 | 2014-02-10 17:28:36 -0800 | [diff] [blame] | 84 | |
| 85 | BOARD_SEPOLICY_DIRS := device/htc/flounder/sepolicy |
| 86 | BOARD_SEPOLICY_UNION := \ |
| 87 | file_contexts \ |
Colin Cross | 030e4c3 | 2014-03-27 17:31:34 -0700 | [diff] [blame^] | 88 | bluetooth.te \ |
| 89 | system_server.te |
Dmitry Shmidt | fa92449 | 2014-02-14 10:47:01 -0800 | [diff] [blame] | 90 | |
Colin Cross | 11a18c2 | 2014-02-19 17:49:10 -0800 | [diff] [blame] | 91 | TARGET_USES_64_BIT_BCMDHD := true |
| 92 | TARGET_USES_64_BIT_BINDER := true |
Mark Salyzyn | a92b335 | 2014-02-21 11:08:00 -0800 | [diff] [blame] | 93 | |
| 94 | TARGET_USES_LOGD := true |