17e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin#
27e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin# Copyright (C) 2011 The Android Open-Source Project
37e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin#
47e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin# Licensed under the Apache License, Version 2.0 (the "License");
57e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin# you may not use this file except in compliance with the License.
67e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin# You may obtain a copy of the License at
77e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin#
87e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin#      http://www.apache.org/licenses/LICENSE-2.0
97e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin#
107e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin# Unless required by applicable law or agreed to in writing, software
117e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin# distributed under the License is distributed on an "AS IS" BASIS,
127e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
137e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin# See the License for the specific language governing permissions and
147e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin# limitations under the License.
157e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin#
167e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin
177e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin# These two variables are set first, so they can be overridden
187e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin# by BoardConfigVendor.mk
197e497e37cdbc9f14033405426c5b539bee93baf0Dima ZavinBOARD_USES_GENERIC_AUDIO := true
207e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin
219fab6a3fc94da9cbc279a1bd9c71b5ec26bde370Wink Saville# Default values, possibly overridden by BoardConfigVendor.mk
229fab6a3fc94da9cbc279a1bd9c71b5ec26bde370Wink SavilleTARGET_BOARD_INFO_FILE := device/samsung/manta/board-info.txt
239fab6a3fc94da9cbc279a1bd9c71b5ec26bde370Wink SavilleBOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/samsung/manta/bluetooth
249fab6a3fc94da9cbc279a1bd9c71b5ec26bde370Wink Saville
257e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin# Use the non-open-source parts, if they're present
267e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin-include vendor/samsung/manta/BoardConfigVendor.mk
277e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin
287e497e37cdbc9f14033405426c5b539bee93baf0Dima ZavinTARGET_CPU_ABI := armeabi-v7a
297e497e37cdbc9f14033405426c5b539bee93baf0Dima ZavinTARGET_CPU_ABI2 := armeabi
307e497e37cdbc9f14033405426c5b539bee93baf0Dima ZavinTARGET_CPU_SMP := true
317427711e97321e70968eeae6bc11c225d3470bc0Jean-Baptiste QueruTARGET_ARCH := arm
327e497e37cdbc9f14033405426c5b539bee93baf0Dima ZavinTARGET_ARCH_VARIANT := armv7-a-neon
33939ce33a8ecb89dd220def7fc8beccd5680ea070Ben ChengTARGET_CPU_VARIANT := cortex-a15
347e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin
356baf552e85dd99ded81de4d1413f78a29eb20d9bChunho Park#Bluetooth
366baf552e85dd99ded81de4d1413f78a29eb20d9bChunho ParkBOARD_HAVE_BLUETOOTH := true
376baf552e85dd99ded81de4d1413f78a29eb20d9bChunho ParkBOARD_HAVE_BLUETOOTH_BCM := true
386baf552e85dd99ded81de4d1413f78a29eb20d9bChunho Park
397e497e37cdbc9f14033405426c5b539bee93baf0Dima ZavinTARGET_NO_BOOTLOADER := true
407e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin
417e497e37cdbc9f14033405426c5b539bee93baf0Dima ZavinTARGET_NO_RADIOIMAGE := true
423565abc566cdb7ab07a32c94a3ee47adc8b99923Dima ZavinTARGET_BOARD_PLATFORM := exynos5
437e497e37cdbc9f14033405426c5b539bee93baf0Dima ZavinTARGET_BOOTLOADER_BOARD_NAME := manta
447e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin
457e497e37cdbc9f14033405426c5b539bee93baf0Dima ZavinBOARD_EGL_CFG := device/samsung/manta/egl.cfg
467e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin
47ae850c04f737c1c7bf2eebae7091d8b222f31908Stephen HinesOVERRIDE_RS_DRIVER := libRSDriverArm.so
48ae850c04f737c1c7bf2eebae7091d8b222f31908Stephen Hines
497e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin#BOARD_USES_HGL := true
507e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin#BOARD_USES_OVERLAY := true
517e497e37cdbc9f14033405426c5b539bee93baf0Dima ZavinUSE_OPENGL_RENDERER := true
52b075016d810db655b61f1c89831d0149acbdfd3eJamie GennisNUM_FRAMEBUFFER_SURFACE_BUFFERS := 3
537e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin
540701eac4a2ee6c7ec0b8037a788f658833f7a0f2Ken SumrallTARGET_RECOVERY_FSTAB = device/samsung/manta/fstab.manta
557e497e37cdbc9f14033405426c5b539bee93baf0Dima ZavinTARGET_USERIMAGES_USE_EXT4 := true
564438cfddc17c828b766f6e2677d117704efddf27Colin CrossBOARD_SYSTEMIMAGE_PARTITION_SIZE := 685768704
57dcb8bc60bfc1f22290a6a30cc4314bb8725082b9Ying Wang# Disable journaling on system.img to save space.
58dcb8bc60bfc1f22290a6a30cc4314bb8725082b9Ying WangBOARD_SYSTEMIMAGE_JOURNAL_SIZE := 0
59c3e1260e37b26dbdad40b20403f716672db2f6f3Ken SumrallBOARD_USERDATAIMAGE_PARTITION_SIZE := 14273216512
6010040fcb3a49d7f483cb8f186fadca9f976c35c1Ken SumrallBOARD_CACHEIMAGE_PARTITION_SIZE := 553648128
617e497e37cdbc9f14033405426c5b539bee93baf0Dima ZavinBOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
627e497e37cdbc9f14033405426c5b539bee93baf0Dima ZavinBOARD_FLASH_BLOCK_SIZE := 4096
637e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin
647e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin#TARGET_PROVIDES_INIT_RC := true
657e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin#TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
667e497e37cdbc9f14033405426c5b539bee93baf0Dima Zavin
67e87ec97b70350c318b488f3bc2a26b5a70d53e18Dmitry Shmidt# Wifi related defines
68e87ec97b70350c318b488f3bc2a26b5a70d53e18Dmitry ShmidtBOARD_WPA_SUPPLICANT_DRIVER := NL80211
69e87ec97b70350c318b488f3bc2a26b5a70d53e18Dmitry ShmidtWPA_SUPPLICANT_VERSION      := VER_0_8_X
70e87ec97b70350c318b488f3bc2a26b5a70d53e18Dmitry ShmidtBOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd
71e87ec97b70350c318b488f3bc2a26b5a70d53e18Dmitry ShmidtBOARD_HOSTAPD_DRIVER        := NL80211
72e87ec97b70350c318b488f3bc2a26b5a70d53e18Dmitry ShmidtBOARD_HOSTAPD_PRIVATE_LIB   := lib_driver_cmd_bcmdhd
73e87ec97b70350c318b488f3bc2a26b5a70d53e18Dmitry ShmidtBOARD_WLAN_DEVICE           := bcmdhd
74e87ec97b70350c318b488f3bc2a26b5a70d53e18Dmitry ShmidtWIFI_DRIVER_FW_PATH_PARAM   := "/sys/module/bcmdhd/parameters/firmware_path"
75e87ec97b70350c318b488f3bc2a26b5a70d53e18Dmitry ShmidtWIFI_DRIVER_FW_PATH_STA     := "/vendor/firmware/fw_bcmdhd.bin"
76e87ec97b70350c318b488f3bc2a26b5a70d53e18Dmitry ShmidtWIFI_DRIVER_FW_PATH_AP      := "/vendor/firmware/fw_bcmdhd_apsta.bin"
77b3f588f4aca20268559ca612dcdbd85dc22b9a86Todd Poynor
789a6af929e73164d8b27e94ffbaf49677192b7d8eTodd PoynorBOARD_HAL_STATIC_LIBRARIES := libhealthd.manta libdumpstate.manta
79ee40277e4ca530334f93b5bd04d1426272da5632Doug Zongker
8067c64ca6f99dae1cf1a227828ebd75b8185f4b62Dima ZavinBOARD_CHARGER_DISABLE_INIT_BLANK := true
8167c64ca6f99dae1cf1a227828ebd75b8185f4b62Dima Zavin
82d8771b2e04024d015fb18d802f66f3e8173d9e5bDoug ZongkerTARGET_RECOVERY_UPDATER_LIBS += librecovery_updater_manta
83c3d56f8821046d864092f90234ec7c5727e3546bDoug ZongkerTARGET_RELEASETOOLS_EXTENSIONS := device/samsung/manta
84e3a69810250866d293a5df3581aae2ad8d51982erpcraig
851b6de3f717b65ea34831ae9512b7d44e3e4bd0faRobert CraigBOARD_SEPOLICY_DIRS += \
86e3a69810250866d293a5df3581aae2ad8d51982erpcraig	device/samsung/manta/sepolicy
87e3a69810250866d293a5df3581aae2ad8d51982erpcraig
881b6de3f717b65ea34831ae9512b7d44e3e4bd0faRobert CraigBOARD_SEPOLICY_UNION += \
89e3a69810250866d293a5df3581aae2ad8d51982erpcraig	file_contexts \
90e3a69810250866d293a5df3581aae2ad8d51982erpcraig	device.te \
91e3a69810250866d293a5df3581aae2ad8d51982erpcraig	domain.te \
9271ae7752cb5a4f2ce493f7711feb2341fad3e68dNick Kralevich	drmserver.te \
93b7c842852369551c5e60bc1a8da0547e24d0d6fbStephen Smalley	healthd.te \
94e3a69810250866d293a5df3581aae2ad8d51982erpcraig	gpsd.te \
95e3a69810250866d293a5df3581aae2ad8d51982erpcraig	file.te \
96e3a69810250866d293a5df3581aae2ad8d51982erpcraig	mediaserver.te \
97ea57fbf21047be6801bbd630d7c5ff449e34cd01Alex Klyubin	system_server.te
98e84f97a975ba98137ab822ba7e350d66d649d0cfChristopher Ferris
99e84f97a975ba98137ab822ba7e350d66d649d0cfChristopher FerrisMALLOC_IMPL := dlmalloc
10010299be0b0c2ea77f7a01a75cb4266fdcaf6214bMark Salyzyn
10110299be0b0c2ea77f7a01a75cb4266fdcaf6214bMark SalyzynBOARD_INV_LIBMLLITE_FROM_SOURCE := true
102