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 # 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 
     28 TARGET_CPU_ABI := armeabi-v7a
     29 TARGET_CPU_ABI2 := armeabi
     30 TARGET_CPU_SMP := true
     31 TARGET_ARCH := arm
     32 TARGET_ARCH_VARIANT := armv7-a-neon
     33 TARGET_CPU_VARIANT := cortex-a9
     34 
     35 TARGET_NO_BOOTLOADER := true
     36 
     37 BOARD_KERNEL_BASE := 0x80000000
     38 # BOARD_KERNEL_CMDLINE :=
     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
     45 BOARD_CREATE_TUNA_HDCP_KEYS_SYMLINK := true
     46 
     47 #BOARD_USES_HGL := true
     48 #BOARD_USES_OVERLAY := true
     49 USE_OPENGL_RENDERER := true
     50 
     51 # set if the target supports FBIO_WAITFORVSYNC
     52 TARGET_HAS_WAITFORVSYNC := true
     53 
     54 TARGET_RECOVERY_PIXEL_FORMAT := "BGRA_8888"
     55 TARGET_RECOVERY_UI_LIB := librecovery_ui_tuna
     56 
     57 # device-specific extensions to the updater binary
     58 TARGET_RECOVERY_UPDATER_LIBS += librecovery_updater_tuna
     59 TARGET_RELEASETOOLS_EXTENSIONS := device/samsung/tuna
     60 
     61 TARGET_RECOVERY_FSTAB = device/samsung/tuna/fstab.tuna
     62 TARGET_USERIMAGES_USE_EXT4 := true
     63 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 685768704
     64 BOARD_USERDATAIMAGE_PARTITION_SIZE := 14539537408
     65 BOARD_FLASH_BLOCK_SIZE := 4096
     66 
     67 #TARGET_PROVIDES_INIT_RC := true
     68 #TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
     69 
     70 # Wifi related defines
     71 BOARD_WPA_SUPPLICANT_DRIVER := NL80211
     72 WPA_SUPPLICANT_VERSION      := VER_0_8_X
     73 BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd
     74 BOARD_HOSTAPD_DRIVER        := NL80211
     75 BOARD_HOSTAPD_PRIVATE_LIB   := lib_driver_cmd_bcmdhd
     76 BOARD_WLAN_DEVICE           := bcmdhd
     77 WIFI_DRIVER_FW_PATH_PARAM   := "/sys/module/bcmdhd/parameters/firmware_path"
     78 #WIFI_DRIVER_MODULE_PATH     := "/system/lib/modules/bcmdhd.ko"
     79 WIFI_DRIVER_FW_PATH_STA     := "/vendor/firmware/fw_bcmdhd.bin"
     80 WIFI_DRIVER_FW_PATH_AP      := "/vendor/firmware/fw_bcmdhd_apsta.bin"
     81 
     82 BOARD_HAVE_BLUETOOTH := true
     83 BOARD_HAVE_BLUETOOTH_BCM := true
     84 
     85 BOARD_LIB_DUMPSTATE := libdumpstate.tuna
     86 
     87 BOARD_USES_SECURE_SERVICES := true
     88 
     89 BOARD_SEPOLICY_DIRS := \
     90         device/samsung/tuna/sepolicy
     91 
     92 BOARD_SEPOLICY_UNION := \
     93         genfs_contexts \
     94         file_contexts
     95