blob: 4e2eb7cce8be6deaa9e13278bcd5e26a32a7d3e2 [file] [log] [blame]
Dima Zavin7e497e32012-02-07 14:51:59 -08001#
2# Copyright (C) 2011 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# These two variables are set first, so they can be overridden
18# by BoardConfigVendor.mk
19BOARD_USES_GENERIC_AUDIO := true
Dima Zavin7e497e32012-02-07 14:51:59 -080020
Wink Saville9fab6a32012-08-20 11:21:42 -070021# Default values, possibly overridden by BoardConfigVendor.mk
22TARGET_BOARD_INFO_FILE := device/samsung/manta/board-info.txt
23BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/samsung/manta/bluetooth
24
Dima Zavin7e497e32012-02-07 14:51:59 -080025# Use the non-open-source parts, if they're present
26-include vendor/samsung/manta/BoardConfigVendor.mk
27
28TARGET_CPU_ABI := armeabi-v7a
29TARGET_CPU_ABI2 := armeabi
30TARGET_CPU_SMP := true
Jean-Baptiste Queru74277112012-08-10 12:58:44 -070031TARGET_ARCH := arm
Dima Zavin7e497e32012-02-07 14:51:59 -080032TARGET_ARCH_VARIANT := armv7-a-neon
Ben Cheng939ce332013-01-14 13:52:28 -080033TARGET_CPU_VARIANT := cortex-a15
Dima Zavin7e497e32012-02-07 14:51:59 -080034
Chunho Park6baf5522012-06-07 19:54:25 +090035#Bluetooth
36BOARD_HAVE_BLUETOOTH := true
37BOARD_HAVE_BLUETOOTH_BCM := true
38
Dima Zavin7e497e32012-02-07 14:51:59 -080039TARGET_NO_BOOTLOADER := true
Dima Zavin7e497e32012-02-07 14:51:59 -080040
41TARGET_NO_RADIOIMAGE := true
Dima Zavin3565abc2012-02-28 15:16:07 -080042TARGET_BOARD_PLATFORM := exynos5
Dima Zavin7e497e32012-02-07 14:51:59 -080043TARGET_BOOTLOADER_BOARD_NAME := manta
44
45BOARD_EGL_CFG := device/samsung/manta/egl.cfg
Dima Zavin7e497e32012-02-07 14:51:59 -080046
Stephen Hinesae850c02012-09-07 18:24:23 -070047OVERRIDE_RS_DRIVER := libRSDriverArm.so
48
Dima Zavin7e497e32012-02-07 14:51:59 -080049#BOARD_USES_HGL := true
50#BOARD_USES_OVERLAY := true
51USE_OPENGL_RENDERER := true
Jamie Gennisb0750162012-10-12 14:23:09 -070052NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3
Dima Zavin7e497e32012-02-07 14:51:59 -080053
Ken Sumrall0701eac2013-02-19 17:33:18 -080054TARGET_RECOVERY_FSTAB = device/samsung/manta/fstab.manta
Dima Zavin7e497e32012-02-07 14:51:59 -080055TARGET_USERIMAGES_USE_EXT4 := true
Colin Cross4438cfd2012-03-09 12:21:32 -080056BOARD_SYSTEMIMAGE_PARTITION_SIZE := 685768704
Ying Wangdcb8bc62014-11-18 18:08:39 -080057# Disable journaling on system.img to save space.
58BOARD_SYSTEMIMAGE_JOURNAL_SIZE := 0
Ken Sumrallc3e12602012-09-07 12:55:33 -070059BOARD_USERDATAIMAGE_PARTITION_SIZE := 14273216512
Ken Sumrall10040fc2012-09-24 15:24:07 -070060BOARD_CACHEIMAGE_PARTITION_SIZE := 553648128
Dima Zavin7e497e32012-02-07 14:51:59 -080061BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
62BOARD_FLASH_BLOCK_SIZE := 4096
63
64#TARGET_PROVIDES_INIT_RC := true
65#TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
66
Dmitry Shmidte87ec972012-03-16 09:43:07 -070067# Wifi related defines
68BOARD_WPA_SUPPLICANT_DRIVER := NL80211
69WPA_SUPPLICANT_VERSION := VER_0_8_X
70BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd
71BOARD_HOSTAPD_DRIVER := NL80211
72BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd
73BOARD_WLAN_DEVICE := bcmdhd
74WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcmdhd/parameters/firmware_path"
75WIFI_DRIVER_FW_PATH_STA := "/vendor/firmware/fw_bcmdhd.bin"
Dmitry Shmidte87ec972012-03-16 09:43:07 -070076WIFI_DRIVER_FW_PATH_AP := "/vendor/firmware/fw_bcmdhd_apsta.bin"
Todd Poynorb3f588f2012-05-22 15:59:01 -070077
Todd Poynor9a6af922013-08-13 16:44:01 -070078BOARD_HAL_STATIC_LIBRARIES := libhealthd.manta libdumpstate.manta
Doug Zongkeree402772012-07-11 13:22:30 -070079
Dima Zavin67c64ca2012-10-12 15:00:49 -070080BOARD_CHARGER_DISABLE_INIT_BLANK := true
81
Doug Zongkerd8771b22012-08-17 13:06:01 -070082TARGET_RECOVERY_UPDATER_LIBS += librecovery_updater_manta
Doug Zongkerc3d56f82012-08-02 10:42:27 -070083TARGET_RELEASETOOLS_EXTENSIONS := device/samsung/manta
rpcraige3a69812012-12-11 13:14:14 -050084
Robert Craig1b6de3f2013-08-07 10:58:19 -040085BOARD_SEPOLICY_DIRS += \
rpcraige3a69812012-12-11 13:14:14 -050086 device/samsung/manta/sepolicy
87
Robert Craig1b6de3f2013-08-07 10:58:19 -040088BOARD_SEPOLICY_UNION += \
rpcraige3a69812012-12-11 13:14:14 -050089 file_contexts \
rpcraige3a69812012-12-11 13:14:14 -050090 device.te \
91 domain.te \
Nick Kralevich71ae7752014-01-07 16:31:34 -080092 drmserver.te \
Stephen Smalleyb7c84282013-11-27 12:09:40 -050093 healthd.te \
rpcraige3a69812012-12-11 13:14:14 -050094 gpsd.te \
95 file.te \
96 mediaserver.te \
Alex Klyubinea57fbf2013-09-13 16:58:43 -070097 system_server.te
Christopher Ferrise84f97a2014-07-10 14:56:28 -070098
99MALLOC_IMPL := dlmalloc