Home | History | Annotate | Download | only in mako
      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 TARGET_GLOBAL_CFLAGS += -mfpu=neon -mfloat-abi=softfp
     18 TARGET_GLOBAL_CPPFLAGS += -mfpu=neon -mfloat-abi=softfp
     19 TARGET_CPU_ABI := armeabi-v7a
     20 TARGET_CPU_ABI2 := armeabi
     21 TARGET_CPU_SMP := true
     22 TARGET_ARCH := arm
     23 TARGET_ARCH_VARIANT := armv7-a-neon
     24 TARGET_CPU_VARIANT := krait
     25 
     26 TARGET_NO_BOOTLOADER := true
     27 
     28 BOARD_KERNEL_BASE := 0x80200000
     29 BOARD_KERNEL_PAGESIZE := 2048
     30 BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.hardware=mako lpj=67677
     31 BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x01600000
     32 
     33 BOARD_USES_ALSA_AUDIO:= true
     34 BOARD_USES_LEGACY_ALSA_AUDIO:= false
     35 BOARD_USES_FLUENCE_INCALL := true
     36 BOARD_USES_SEPERATED_AUDIO_INPUT := true
     37 
     38 BOARD_HAVE_BLUETOOTH := true
     39 BOARD_HAVE_BLUETOOTH_QCOM := true
     40 BLUETOOTH_HCI_USE_MCT := true
     41 
     42 TARGET_NO_RADIOIMAGE := true
     43 TARGET_BOARD_PLATFORM := msm8960
     44 TARGET_BOOTLOADER_BOARD_NAME := MAKO
     45 TARGET_BOOTLOADER_NAME=mako
     46 TARGET_BOARD_INFO_FILE := device/lge/mako/board-info.txt
     47 
     48 BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/lge/mako/bluetooth
     49 
     50 # FIXME: HOSTAPD-derived wifi driver
     51 BOARD_HAS_QCOM_WLAN := true
     52 BOARD_WLAN_DEVICE := qcwcn
     53 WPA_SUPPLICANT_VERSION := VER_0_8_X
     54 BOARD_WPA_SUPPLICANT_DRIVER := NL80211
     55 BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE)
     56 BOARD_HOSTAPD_DRIVER := NL80211
     57 BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE)
     58 WIFI_DRIVER_FW_PATH_STA := "sta"
     59 WIFI_DRIVER_FW_PATH_AP  := "ap"
     60 
     61 BOARD_EGL_CFG := device/lge/mako/egl.cfg
     62 
     63 #BOARD_USES_HGL := true
     64 #BOARD_USES_OVERLAY := true
     65 USE_OPENGL_RENDERER := true
     66 TARGET_USES_ION := true
     67 TARGET_USES_OVERLAY := true
     68 TARGET_USES_SF_BYPASS := true
     69 TARGET_USES_C2D_COMPOSITON := true
     70 
     71 TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888"
     72 TARGET_RECOVERY_UI_LIB := librecovery_ui_mako
     73 
     74 TARGET_RECOVERY_FSTAB = device/lge/mako/fstab.mako
     75 TARGET_USERIMAGES_USE_EXT4 := true
     76 BOARD_BOOTIMAGE_PARTITION_SIZE := 23068672 # 22M
     77 BOARD_RECOVERYIMAGE_PARTITION_SIZE := 23068672 # 22M
     78 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 880803840 # 840M
     79 
     80 BOARD_USERDATAIMAGE_PARTITION_SIZE := 6189744128 # 5.9G
     81 BOARD_FLASH_BLOCK_SIZE := 131072 # (BOARD_KERNEL_PAGESIZE * 64)
     82 
     83 BOARD_USES_SECURE_SERVICES := true
     84 
     85 BOARD_USES_EXTRA_THERMAL_SENSOR := true
     86 BOARD_USES_CAMERA_FAST_AUTOFOCUS := true
     87 
     88 BOARD_LIB_DUMPSTATE := libdumpstate.mako
     89 
     90 BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := $(TARGET_BOARD_PLATFORM)
     91 TARGET_NO_RPC := true
     92 
     93 TARGET_RELEASETOOLS_EXTENSIONS := device/lge/mako
     94 
     95 BOARD_SEPOLICY_DIRS := \
     96        device/lge/mako/sepolicy
     97 
     98 BOARD_SEPOLICY_UNION := \
     99        app.te \
    100        bluetooth.te \
    101        compatibility.te \
    102        device.te \
    103        domain.te \
    104        drmserver.te \
    105        file.te \
    106        file_contexts \
    107        hci_init.te \
    108        init_shell.te \
    109        keystore.te \
    110        mediaserver.te \
    111        kickstart.te \
    112        nfc.te \
    113        rild.te \
    114        surfaceflinger.te \
    115        system.te \
    116        ueventd.te \
    117        wpa.te
    118 
    119 
    120 BOARD_CHARGER_ENABLE_SUSPEND := true
    121 
    122 USE_DEVICE_SPECIFIC_CAMERA := true
    123 
    124 -include vendor/lge/mako/BoardConfigVendor.mk
    125