| Colin Cross | c151bcf | 2011-04-11 18:49:38 -0700 | [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 | |
| Simon Wilson | 4a97258 | 2011-06-09 14:28:56 -0700 | [diff] [blame] | 17 | # This variable is set first, so it can be overridden |
| Colin Cross | c151bcf | 2011-04-11 18:49:38 -0700 | [diff] [blame] | 18 | # by BoardConfigVendor.mk |
| Colin Cross | c151bcf | 2011-04-11 18:49:38 -0700 | [diff] [blame] | 19 | USE_CAMERA_STUB := true |
| 20 | |
| 21 | # Use the non-open-source parts, if they're present |
| 22 | -include vendor/samsung/tuna/BoardConfigVendor.mk |
| 23 | |
| Wink Saville | bd6aec2 | 2012-08-20 16:28:38 -0700 | [diff] [blame] | 24 | # Default values, if not overridden else where. |
| 25 | TARGET_BOARD_INFO_FILE ?= device/samsung/tuna/board-info.txt |
| 26 | BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR ?= device/samsung/tuna/bluetooth |
| 27 | |
| Colin Cross | c151bcf | 2011-04-11 18:49:38 -0700 | [diff] [blame] | 28 | TARGET_CPU_ABI := armeabi-v7a |
| 29 | TARGET_CPU_ABI2 := armeabi |
| 30 | TARGET_CPU_SMP := true |
| Jean-Baptiste Queru | 20cb7d0 | 2012-08-10 09:48:38 -0700 | [diff] [blame] | 31 | TARGET_ARCH := arm |
| Colin Cross | c151bcf | 2011-04-11 18:49:38 -0700 | [diff] [blame] | 32 | TARGET_ARCH_VARIANT := armv7-a-neon |
| 33 | ARCH_ARM_HAVE_TLS_REGISTER := true |
| 34 | |
| Colin Cross | c151bcf | 2011-04-11 18:49:38 -0700 | [diff] [blame] | 35 | TARGET_NO_BOOTLOADER := true |
| Colin Cross | c151bcf | 2011-04-11 18:49:38 -0700 | [diff] [blame] | 36 | |
| 37 | BOARD_KERNEL_BASE := 0x80000000 |
| Dima Zavin | b11cf8b | 2011-10-25 23:47:37 -0700 | [diff] [blame] | 38 | # BOARD_KERNEL_CMDLINE := |
| Colin Cross | c151bcf | 2011-04-11 18:49:38 -0700 | [diff] [blame] | 39 | |
| 40 | TARGET_NO_RADIOIMAGE := true |
| 41 | TARGET_BOARD_PLATFORM := omap4 |
| 42 | TARGET_BOOTLOADER_BOARD_NAME := tuna |
| 43 | |
| 44 | BOARD_EGL_CFG := device/samsung/tuna/egl.cfg |
| Dan Murphy | d08cb98 | 2012-01-16 09:44:03 -0600 | [diff] [blame] | 45 | BOARD_CREATE_TUNA_HDCP_KEYS_SYMLINK := true |
| Colin Cross | c151bcf | 2011-04-11 18:49:38 -0700 | [diff] [blame] | 46 | |
| 47 | #BOARD_USES_HGL := true |
| 48 | #BOARD_USES_OVERLAY := true |
| Romain Guy | 5967fd9 | 2011-06-20 18:10:36 -0700 | [diff] [blame] | 49 | USE_OPENGL_RENDERER := true |
| Colin Cross | c151bcf | 2011-04-11 18:49:38 -0700 | [diff] [blame] | 50 | |
| Mathias Agopian | 6fa3e04 | 2012-01-06 18:30:40 -0800 | [diff] [blame] | 51 | # set if the target supports FBIO_WAITFORVSYNC |
| 52 | TARGET_HAS_WAITFORVSYNC := true |
| 53 | |
| Michael Ward | d5c86ab | 2011-06-22 14:48:15 -0700 | [diff] [blame] | 54 | TARGET_RECOVERY_PIXEL_FORMAT := "BGRA_8888" |
| 55 | TARGET_RECOVERY_UI_LIB := librecovery_ui_tuna |
| Michael Ward | e03df73 | 2011-06-30 19:05:19 -0700 | [diff] [blame] | 56 | |
| 57 | # device-specific extensions to the updater binary |
| 58 | TARGET_RECOVERY_UPDATER_LIBS += librecovery_updater_tuna |
| Michael Ward | d5c86ab | 2011-06-22 14:48:15 -0700 | [diff] [blame] | 59 | TARGET_RELEASETOOLS_EXTENSIONS := device/samsung/tuna |
| 60 | |
| Colin Cross | c151bcf | 2011-04-11 18:49:38 -0700 | [diff] [blame] | 61 | TARGET_USERIMAGES_USE_EXT4 := true |
| Colin Cross | d4bdce3 | 2011-07-11 10:53:22 -0700 | [diff] [blame] | 62 | BOARD_SYSTEMIMAGE_PARTITION_SIZE := 685768704 |
| Ken Sumrall | c256e5a | 2011-07-14 11:29:11 -0700 | [diff] [blame] | 63 | BOARD_USERDATAIMAGE_PARTITION_SIZE := 14539537408 |
| Colin Cross | c151bcf | 2011-04-11 18:49:38 -0700 | [diff] [blame] | 64 | BOARD_FLASH_BLOCK_SIZE := 4096 |
| 65 | |
| 66 | #TARGET_PROVIDES_INIT_RC := true |
| 67 | #TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true |
| Dmitry Shmidt | 0f7779b | 2011-06-03 11:13:15 -0700 | [diff] [blame] | 68 | |
| 69 | # Wifi related defines |
| Dmitry Shmidt | 643ad5d | 2011-07-08 13:28:17 -0700 | [diff] [blame] | 70 | BOARD_WPA_SUPPLICANT_DRIVER := NL80211 |
| Dmitry Shmidt | 0f7779b | 2011-06-03 11:13:15 -0700 | [diff] [blame] | 71 | WPA_SUPPLICANT_VERSION := VER_0_8_X |
| 72 | BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd |
| Dmitry Shmidt | ebc7884 | 2011-07-23 17:40:49 -0700 | [diff] [blame] | 73 | BOARD_HOSTAPD_DRIVER := NL80211 |
| 74 | BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd |
| Dmitry Shmidt | 0f7779b | 2011-06-03 11:13:15 -0700 | [diff] [blame] | 75 | BOARD_WLAN_DEVICE := bcmdhd |
| Dmitry Shmidt | 05af98f | 2011-07-25 15:13:12 -0700 | [diff] [blame] | 76 | WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcmdhd/parameters/firmware_path" |
| Dmitry Shmidt | 643ad5d | 2011-07-08 13:28:17 -0700 | [diff] [blame] | 77 | #WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/bcmdhd.ko" |
| 78 | WIFI_DRIVER_FW_PATH_STA := "/vendor/firmware/fw_bcmdhd.bin" |
| Dmitry Shmidt | ebc7884 | 2011-07-23 17:40:49 -0700 | [diff] [blame] | 79 | WIFI_DRIVER_FW_PATH_P2P := "/vendor/firmware/fw_bcmdhd_p2p.bin" |
| Dmitry Shmidt | 643ad5d | 2011-07-08 13:28:17 -0700 | [diff] [blame] | 80 | WIFI_DRIVER_FW_PATH_AP := "/vendor/firmware/fw_bcmdhd_apsta.bin" |
| Jaikumar Ganesh | e302862 | 2011-06-03 14:35:33 -0700 | [diff] [blame] | 81 | |
| 82 | BOARD_HAVE_BLUETOOTH := true |
| 83 | BOARD_HAVE_BLUETOOTH_BCM := true |
| Colin Cross | aa0ea31 | 2011-07-18 17:00:07 -0700 | [diff] [blame] | 84 | |
| 85 | BOARD_LIB_DUMPSTATE := libdumpstate.tuna |
| Jeffrey Tinker | aca7c98 | 2011-10-19 22:09:02 -0700 | [diff] [blame] | 86 | |
| 87 | BOARD_USES_SECURE_SERVICES := true |