Home | History | Annotate | Download | only in tuna
      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 # This variable is set first, so it can be overridden
     18 # by BoardConfigVendor.mk
     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 
     24 TARGET_CPU_ABI := armeabi-v7a
     25 TARGET_CPU_ABI2 := armeabi
     26 TARGET_CPU_SMP := true
     27 TARGET_ARCH_VARIANT := armv7-a-neon
     28 ARCH_ARM_HAVE_TLS_REGISTER := true
     29 
     30 TARGET_NO_BOOTLOADER := true
     31 
     32 BOARD_KERNEL_BASE := 0x80000000
     33 # BOARD_KERNEL_CMDLINE :=
     34 
     35 TARGET_NO_RADIOIMAGE := true
     36 TARGET_BOARD_PLATFORM := omap4
     37 TARGET_BOOTLOADER_BOARD_NAME := tuna
     38 TARGET_BOARD_INFO_FILE ?= device/samsung/tuna/board-info.txt
     39 
     40 BOARD_EGL_CFG := device/samsung/tuna/egl.cfg
     41 BOARD_CREATE_TUNA_HDCP_KEYS_SYMLINK := true
     42 
     43 #BOARD_USES_HGL := true
     44 #BOARD_USES_OVERLAY := true
     45 USE_OPENGL_RENDERER := true
     46 
     47 # set if the target supports FBIO_WAITFORVSYNC
     48 TARGET_HAS_WAITFORVSYNC := true
     49 
     50 TARGET_RECOVERY_PIXEL_FORMAT := "BGRA_8888"
     51 TARGET_RECOVERY_UI_LIB := librecovery_ui_tuna
     52 
     53 # device-specific extensions to the updater binary
     54 TARGET_RECOVERY_UPDATER_LIBS += librecovery_updater_tuna
     55 TARGET_RELEASETOOLS_EXTENSIONS := device/samsung/tuna
     56 
     57 TARGET_USERIMAGES_USE_EXT4 := true
     58 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 685768704
     59 BOARD_USERDATAIMAGE_PARTITION_SIZE := 14539537408
     60 BOARD_FLASH_BLOCK_SIZE := 4096
     61 
     62 #TARGET_PROVIDES_INIT_RC := true
     63 #TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
     64 
     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_MODULE_PATH     := "/system/lib/modules/bcmdhd.ko"
     74 WIFI_DRIVER_FW_PATH_STA     := "/vendor/firmware/fw_bcmdhd.bin"
     75 WIFI_DRIVER_FW_PATH_P2P     := "/vendor/firmware/fw_bcmdhd_p2p.bin"
     76 WIFI_DRIVER_FW_PATH_AP      := "/vendor/firmware/fw_bcmdhd_apsta.bin"
     77 
     78 BOARD_HAVE_BLUETOOTH := true
     79 BOARD_HAVE_BLUETOOTH_BCM := true
     80 
     81 BOARD_LIB_DUMPSTATE := libdumpstate.tuna
     82 
     83 BOARD_USES_SECURE_SERVICES := true
     84