Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 1 | # |
| 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 |
| 19 | BOARD_USES_GENERIC_AUDIO := true |
Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 20 | |
Wink Saville | 9fab6a3 | 2012-08-20 11:21:42 -0700 | [diff] [blame] | 21 | # Default values, possibly overridden by BoardConfigVendor.mk |
| 22 | TARGET_BOARD_INFO_FILE := device/samsung/manta/board-info.txt |
| 23 | BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/samsung/manta/bluetooth |
| 24 | |
Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 25 | # Use the non-open-source parts, if they're present |
| 26 | -include vendor/samsung/manta/BoardConfigVendor.mk |
| 27 | |
| 28 | TARGET_CPU_ABI := armeabi-v7a |
| 29 | TARGET_CPU_ABI2 := armeabi |
| 30 | TARGET_CPU_SMP := true |
Jean-Baptiste Queru | 7427711 | 2012-08-10 12:58:44 -0700 | [diff] [blame] | 31 | TARGET_ARCH := arm |
Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 32 | TARGET_ARCH_VARIANT := armv7-a-neon |
Ben Cheng | 939ce33 | 2013-01-14 13:52:28 -0800 | [diff] [blame] | 33 | TARGET_CPU_VARIANT := cortex-a15 |
Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 34 | |
Chunho Park | 6baf552 | 2012-06-07 19:54:25 +0900 | [diff] [blame] | 35 | #Bluetooth |
| 36 | BOARD_HAVE_BLUETOOTH := true |
| 37 | BOARD_HAVE_BLUETOOTH_BCM := true |
| 38 | |
Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 39 | TARGET_NO_BOOTLOADER := true |
Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 40 | |
| 41 | TARGET_NO_RADIOIMAGE := true |
Dima Zavin | 3565abc | 2012-02-28 15:16:07 -0800 | [diff] [blame] | 42 | TARGET_BOARD_PLATFORM := exynos5 |
Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 43 | TARGET_BOOTLOADER_BOARD_NAME := manta |
| 44 | |
| 45 | BOARD_EGL_CFG := device/samsung/manta/egl.cfg |
Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 46 | |
Stephen Hines | ae850c0 | 2012-09-07 18:24:23 -0700 | [diff] [blame] | 47 | OVERRIDE_RS_DRIVER := libRSDriverArm.so |
| 48 | |
Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 49 | #BOARD_USES_HGL := true |
| 50 | #BOARD_USES_OVERLAY := true |
| 51 | USE_OPENGL_RENDERER := true |
Jamie Gennis | b075016 | 2012-10-12 14:23:09 -0700 | [diff] [blame] | 52 | NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3 |
Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 53 | |
Ken Sumrall | 0701eac | 2013-02-19 17:33:18 -0800 | [diff] [blame] | 54 | TARGET_RECOVERY_FSTAB = device/samsung/manta/fstab.manta |
Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 55 | TARGET_USERIMAGES_USE_EXT4 := true |
Colin Cross | 4438cfd | 2012-03-09 12:21:32 -0800 | [diff] [blame] | 56 | BOARD_SYSTEMIMAGE_PARTITION_SIZE := 685768704 |
Ken Sumrall | c3e1260 | 2012-09-07 12:55:33 -0700 | [diff] [blame] | 57 | BOARD_USERDATAIMAGE_PARTITION_SIZE := 14273216512 |
Ken Sumrall | 10040fc | 2012-09-24 15:24:07 -0700 | [diff] [blame] | 58 | BOARD_CACHEIMAGE_PARTITION_SIZE := 553648128 |
Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 59 | BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 |
| 60 | BOARD_FLASH_BLOCK_SIZE := 4096 |
| 61 | |
| 62 | #TARGET_PROVIDES_INIT_RC := true |
| 63 | #TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true |
| 64 | |
Dmitry Shmidt | e87ec97 | 2012-03-16 09:43:07 -0700 | [diff] [blame] | 65 | # Wifi related defines |
| 66 | BOARD_WPA_SUPPLICANT_DRIVER := NL80211 |
| 67 | WPA_SUPPLICANT_VERSION := VER_0_8_X |
| 68 | BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd |
| 69 | BOARD_HOSTAPD_DRIVER := NL80211 |
| 70 | BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd |
| 71 | BOARD_WLAN_DEVICE := bcmdhd |
| 72 | WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcmdhd/parameters/firmware_path" |
| 73 | WIFI_DRIVER_FW_PATH_STA := "/vendor/firmware/fw_bcmdhd.bin" |
Dmitry Shmidt | e87ec97 | 2012-03-16 09:43:07 -0700 | [diff] [blame] | 74 | WIFI_DRIVER_FW_PATH_AP := "/vendor/firmware/fw_bcmdhd_apsta.bin" |
Todd Poynor | b3f588f | 2012-05-22 15:59:01 -0700 | [diff] [blame] | 75 | |
Todd Poynor | 9a6af92 | 2013-08-13 16:44:01 -0700 | [diff] [blame] | 76 | BOARD_HAL_STATIC_LIBRARIES := libhealthd.manta libdumpstate.manta |
Doug Zongker | ee40277 | 2012-07-11 13:22:30 -0700 | [diff] [blame] | 77 | |
Dima Zavin | 67c64ca | 2012-10-12 15:00:49 -0700 | [diff] [blame] | 78 | BOARD_CHARGER_DISABLE_INIT_BLANK := true |
| 79 | |
Doug Zongker | ee40277 | 2012-07-11 13:22:30 -0700 | [diff] [blame] | 80 | TARGET_RECOVERY_PIXEL_FORMAT := RGBX_8888 |
| 81 | TARGET_RECOVERY_UI_LIB := librecovery_ui_manta |
Doug Zongker | d8771b2 | 2012-08-17 13:06:01 -0700 | [diff] [blame] | 82 | TARGET_RECOVERY_UPDATER_LIBS += librecovery_updater_manta |
Doug Zongker | c3d56f8 | 2012-08-02 10:42:27 -0700 | [diff] [blame] | 83 | TARGET_RELEASETOOLS_EXTENSIONS := device/samsung/manta |
rpcraig | e3a6981 | 2012-12-11 13:14:14 -0500 | [diff] [blame] | 84 | |
| 85 | BOARD_SEPOLICY_DIRS := \ |
| 86 | device/samsung/manta/sepolicy |
| 87 | |
| 88 | BOARD_SEPOLICY_UNION := \ |
| 89 | file_contexts \ |
| 90 | genfs_contexts \ |
| 91 | adbd.te \ |
| 92 | app.te \ |
| 93 | device.te \ |
| 94 | domain.te \ |
| 95 | gpsd.te \ |
| 96 | file.te \ |
| 97 | mediaserver.te \ |
| 98 | surfaceflinger.te \ |
| 99 | system.te |