Advertisement
k5t4j5

Untitled

Mar 19th, 2014
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.17 KB | None | 0 0
  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 += -mfloat-abi=softfp
  18. TARGET_GLOBAL_CPPFLAGS += -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. TARGET_ARCH_VARIANT_CPU := cortex-a15
  26. TARGET_ARCH_VARIANT_FPU := neon-vfpv4
  27.  
  28. # Krait optimization
  29. TARGET_USE_QCOM_BIONIC_OPTIMIZATION := true
  30. TARGET_USE_KRAIT_PLD_SET := true
  31. TARGET_KRAIT_BIONIC_PLDOFFS := 10
  32. TARGET_KRAIT_BIONIC_PLDTHRESH := 10
  33. TARGET_KRAIT_BIONIC_BBTHRESH := 64
  34. TARGET_KRAIT_BIONIC_PLDSIZE := 64
  35. ARCH_ARM_HAVE_TLS_REGISTER := true
  36.  
  37. # Compiler Optimizations
  38. ARCH_ARM_HIGH_OPTIMIZATION := true
  39.  
  40. # Enable various prefetch optimizations
  41. COMMON_GLOBAL_CFLAGS += -D__ARM_USE_PLD -D__ARM_CACHE_LINE_SIZE=64
  42.  
  43. TARGET_NO_BOOTLOADER := true
  44.  
  45. BOARD_KERNEL_BASE := 0x80200000
  46. BOARD_KERNEL_PAGESIZE := 2048
  47. BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.hardware=qcom lpj=67677 user_debug=31
  48. BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x01600000
  49. TARGET_KERNEL_SOURCE := kernel/lge/gee
  50.  
  51. BOARD_USES_ALSA_AUDIO:= true
  52. BOARD_USES_LEGACY_ALSA_AUDIO:= false
  53. BOARD_USES_FLUENCE_INCALL := true
  54. BOARD_USES_SEPERATED_AUDIO_INPUT := true
  55. TARGET_USES_QCOM_COMPRESSED_AUDIO := true
  56. BOARD_HAVE_LOW_LATENCY_AUDIO := true
  57.  
  58. BOARD_HAVE_BLUETOOTH := true
  59. BOARD_HAVE_BLUETOOTH_QCOM := true
  60. BLUETOOTH_HCI_USE_MCT := true
  61.  
  62. TARGET_NO_RADIOIMAGE := true
  63. TARGET_BOARD_PLATFORM := msm8960
  64. TARGET_BOOTLOADER_BOARD_NAME := GEE
  65. TARGET_BOOTLOADER_NAME=gee
  66.  
  67. BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/lge/gee-common/bluetooth
  68.  
  69. # FIXME: HOSTAPD-derived wifi driver
  70. BOARD_HAS_QCOM_WLAN := true
  71. BOARD_WLAN_DEVICE := qcwcn
  72. WPA_SUPPLICANT_VERSION := VER_0_8_X
  73. BOARD_WPA_SUPPLICANT_DRIVER := NL80211
  74. BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE)
  75. BOARD_HOSTAPD_DRIVER := NL80211
  76. BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE)
  77. WIFI_DRIVER_FW_PATH_STA := "sta"
  78. WIFI_DRIVER_FW_PATH_AP := "ap"
  79.  
  80. BOARD_EGL_CFG := device/lge/gee-common/conf/egl.cfg
  81.  
  82. USE_OPENGL_RENDERER := true
  83. TARGET_USES_ION := true
  84. TARGET_USES_OVERLAY := true
  85. TARGET_USES_SF_BYPASS := true
  86. TARGET_USES_C2D_COMPOSITON := true
  87.  
  88. TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888"
  89.  
  90. TARGET_RECOVERY_FSTAB = device/lge/gee-common/ramdisk/fstab.qcom
  91. TARGET_USERIMAGES_USE_EXT4 := true
  92. BOARD_BOOTIMAGE_PARTITION_SIZE := 23068672 # 22M
  93. BOARD_RECOVERYIMAGE_PARTITION_SIZE := 23068672 # 22M
  94. BOARD_SYSTEMIMAGE_PARTITION_SIZE := 880803840 # 840M
  95.  
  96. BOARD_USERDATAIMAGE_PARTITION_SIZE := 6189744128 # 5.9G
  97. BOARD_FLASH_BLOCK_SIZE := 131072 # (BOARD_KERNEL_PAGESIZE * 64)
  98.  
  99. BOARD_USES_SECURE_SERVICES := true
  100.  
  101. BOARD_USES_EXTRA_THERMAL_SENSOR := true
  102. BOARD_USES_CAMERA_FAST_AUTOFOCUS := true
  103.  
  104. BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := $(TARGET_BOARD_PLATFORM)
  105. TARGET_NO_RPC := true
  106.  
  107. TARGET_RELEASETOOLS_EXTENSIONS := device/lge/gee-common
  108.  
  109. BOARD_SEPOLICY_DIRS := \
  110. device/lge/gee-common/sepolicy
  111.  
  112. BOARD_SEPOLICY_UNION := \
  113. app.te \
  114. bluetooth.te \
  115. device.te \
  116. domain.te \
  117. drmserver.te \
  118. file.te \
  119. file_contexts \
  120. hci_init.te \
  121. init_shell.te \
  122. keystore.te \
  123. mediaserver.te \
  124. kickstart.te \
  125. nfc.te \
  126. rild.te \
  127. surfaceflinger.te \
  128. system.te \
  129. ueventd.te \
  130. wpa.te
  131.  
  132.  
  133. BOARD_CHARGER_ENABLE_SUSPEND := true
  134.  
  135. #Custom HALs
  136. TARGET_PROVIDES_LIBLIGHT := true
  137. TARGET_USES_CM_POWERHAL := true
  138. USE_DEVICE_SPECIFIC_CAMERA:= true
  139. USE_DEVICE_SPECIFIC_QCOM_PROPRIETARY:= true
  140.  
  141. NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3
  142.  
  143. # Shader cache config options
  144. # Maximum size of the GLES Shaders that can be cached for reuse.
  145. # Increase the size if shaders of size greater than 12KB are used.
  146. MAX_EGL_CACHE_KEY_SIZE := 12*1024
  147.  
  148. # Maximum GLES shader cache size for each app to store the compiled shader
  149. # binaries. Decrease the size if RAM or Flash Storage size is a limitation
  150. # of the device.
  151. MAX_EGL_CACHE_SIZE := 2048*1024
  152.  
  153. OVERRIDE_RS_DRIVER := libRSDriver_adreno.so
  154.  
  155. HAVE_ADRENO_SOURCE:= false
  156.  
  157. include vendor/lge/gee/BoardConfigVendor.mk
  158.  
  159. #TWRP config
  160. DEVICE_RESOLUTION := 720x1280
  161. RECOVERY_SDCARD_ON_DATA := true
  162. RECOVERY_GRAPHICS_USE_LINELENGTH := true
  163. BOARD_HAS_NO_REAL_SDCARD := true
  164. PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
  165. TW_INCLUDE_JB_CRYPTO := true
  166. TW_FLASH_FROM_STORAGE := true
  167. TW_NO_USB_STORAGE := true
  168.  
  169. TW_INTERNAL_STORAGE_PATH := "/data/media"
  170. TW_INTERNAL_STORAGE_MOUNT_POINT := "data"
  171. TW_EXTERNAL_STORAGE_PATH := "/usb-otg"
  172. TW_EXTERNAL_STORAGE_MOUNT_POINT := "usb-otg"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement