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 
     42 #BOARD_USES_HGL := true
     43 #BOARD_USES_OVERLAY := true
     44 USE_OPENGL_RENDERER := true
     45 
     46 TARGET_RECOVERY_PIXEL_FORMAT := "BGRA_8888"
     47 TARGET_RECOVERY_UI_LIB := librecovery_ui_tuna
     48 
     49 # device-specific extensions to the updater binary
     50 TARGET_RECOVERY_UPDATER_LIBS += librecovery_updater_tuna
     51 TARGET_RELEASETOOLS_EXTENSIONS := device/samsung/tuna
     52 
     53 TARGET_USERIMAGES_USE_EXT4 := true
     54 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 685768704
     55 BOARD_USERDATAIMAGE_PARTITION_SIZE := 14539537408
     56 BOARD_FLASH_BLOCK_SIZE := 4096
     57 
     58 #TARGET_PROVIDES_INIT_RC := true
     59 #TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
     60 
     61 # Wifi related defines
     62 BOARD_WPA_SUPPLICANT_DRIVER := NL80211
     63 WPA_SUPPLICANT_VERSION      := VER_0_8_X
     64 BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd
     65 BOARD_HOSTAPD_DRIVER        := NL80211
     66 BOARD_HOSTAPD_PRIVATE_LIB   := lib_driver_cmd_bcmdhd
     67 BOARD_WLAN_DEVICE           := bcmdhd
     68 WIFI_DRIVER_FW_PATH_PARAM   := "/sys/module/bcmdhd/parameters/firmware_path"
     69 #WIFI_DRIVER_MODULE_PATH     := "/system/lib/modules/bcmdhd.ko"
     70 WIFI_DRIVER_FW_PATH_STA     := "/vendor/firmware/fw_bcmdhd.bin"
     71 WIFI_DRIVER_FW_PATH_P2P     := "/vendor/firmware/fw_bcmdhd_p2p.bin"
     72 WIFI_DRIVER_FW_PATH_AP      := "/vendor/firmware/fw_bcmdhd_apsta.bin"
     73 
     74 BOARD_HAVE_BLUETOOTH := true
     75 BOARD_HAVE_BLUETOOTH_BCM := true
     76 
     77 BOARD_LIB_DUMPSTATE := libdumpstate.tuna
     78 
     79 BOARD_USES_SECURE_SERVICES := true
     80