• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright 2013 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# Use the non-open-source parts, if they're present
18-include vendor/intel/fugu/BoardConfigVendor.mk
19
20TARGET_ARCH := x86
21TARGET_ARCH_VARIANT := silvermont
22TARGET_CPU_ABI := x86
23
24TARGET_RECOVERY_FSTAB := device/asus/fugu/recovery.fstab
25TARGET_RELEASETOOLS_EXTENSIONS := device/asus/fugu
26TARGET_RECOVERY_UPDATER_LIBS := librecovery_updater_fugu
27TARGET_RECOVERY_UI_LIB := librecovery_ui_fugu
28
29TARGET_BOARD_PLATFORM := moorefield
30TARGET_BOOTLOADER_BOARD_NAME := fugu
31TARGET_USERIMAGES_USE_EXT4 := true
32BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1073741824
33BOARD_SYSTEMIMAGE_JOURNAL_SIZE := 0
34# as of 3562118, inode usage was 2149, use 4096 to be safe
35BOARD_SYSTEMIMAGE_EXTFS_INODE_COUNT := 4096
36BOARD_FLASH_BLOCK_SIZE := 2048
37
38BOARD_CACHEIMAGE_PARTITION_SIZE := 260014080
39
40TARGET_DROIDBOOT_LIBS := libintel_droidboot
41TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888"
42
43MALLOC_SVELTE := true
44
45# Kernel cmdline
46BOARD_KERNEL_CMDLINE := pci=noearly vmalloc=256M ptrace.ptrace_can_access=1
47BOARD_KERNEL_CMDLINE += earlyprintk=nologger loglevel=8
48BOARD_KERNEL_CMDLINE += androidboot.hardware=fugu androidboot.serialno=01234567890123456789
49BOARD_KERNEL_CMDLINE += snd_pcm.maximum_substreams=8
50BOARD_KERNEL_CMDLINE += intel_soc_pmu.enable_s3=0
51BOARD_KERNEL_CMDLINE += loop.max_part=7
52
53# Binder API version
54TARGET_USES_64_BIT_BINDER := true
55
56# Security
57BUILD_WITH_SECURITY_FRAMEWORK := chaabi_token
58BUILD_WITH_CHAABI_SUPPORT := true
59
60# Wifi
61BOARD_WLAN_DEVICE := bcmdhd
62BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd
63BOARD_HOSTAPD_PRIVATE_LIB   := lib_driver_cmd_bcmdhd
64WPA_SUPPLICANT_VERSION := VER_0_8_X
65BOARD_WPA_SUPPLICANT_DRIVER := NL80211
66WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcmdhd/parameters/firmware_path"
67WIFI_DRIVER_FW_PATH_AP      := "/vendor/firmware/fw_bcmdhd_apsta.bin"
68WIFI_DRIVER_FW_PATH_STA     := "/vendor/firmware/fw_bcmdhd.bin"
69
70# Bluetooth
71BOARD_HAVE_BLUETOOTH := true
72BOARD_HAVE_BLUETOOTH_BCM := true
73BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/asus/fugu/bluetooth
74
75# IMG graphics
76BOARD_GFX_REV := RGX6400
77ENABLE_IMG_GRAPHICS := true
78ENABLE_MRFL_GRAPHICS := true
79INTEL_HWC_MOOREFIELD_HDMI := true
80HWUI_IMG_FBO_CACHE_OPTIM := true
81TARGET_SUPPORT_HDMI_PRIMARY := true
82BOARD_USES_LIBDRM := true
83
84TARGET_USES_HWC2 := true
85NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3
86SF_START_GRAPHICS_ALLOCATOR_SERVICE := true
87
88# Audio
89BOARD_USES_ALSA_AUDIO := true
90BOARD_USES_TINY_ALSA_AUDIO := true
91
92# System's VSYNC phase offsets in nanoseconds
93VSYNC_EVENT_PHASE_OFFSET_NS := 7500000
94SF_VSYNC_EVENT_PHASE_OFFSET_NS := 5000000
95
96BOARD_EGL_CFG := device/asus/fugu/egl.cfg
97
98MAX_EGL_CACHE_ENTRY_SIZE := 65536
99MAX_EGL_CACHE_SIZE := 1048576
100
101INTEL_VA := true
102BUILD_WITH_FULL_STAGEFRIGHT := true
103BOARD_USES_VIDEO := true
104BOARD_USES_WRS_OMXIL_CORE := true
105BOARD_USES_MRST_OMX := true
106USE_HW_VP8 := true
107
108# DRM Protected Video
109BOARD_WIDEVINE_OEMCRYPTO_LEVEL := 1
110USE_INTEL_SECURE_AVC := true
111
112# Settings for the Media SDK library and plug-ins:
113# - USE_MEDIASDK: use Media SDK support or not
114# - MFX_IPP: sets IPP library optimization to use
115USE_MEDIASDK := true
116MFX_IPP := p8
117
118# Video Post Processing
119TARGET_HAS_ISV := true
120
121OVERRIDE_RS_DRIVER := libPVRRS.so
122
123# enable ARM codegen for x86 with Houdini
124BUILD_ARM_FOR_X86 := true
125
126# enabled to carry out all drawing operations performed on a View's canvas with GPU for 2D rendering pipeline.
127USE_OPENGL_RENDERER := true
128# DPST
129INTEL_DPST := true
130
131# bootstub as 2nd bootloader
132TARGET_BOOTLOADER_IS_2ND := true
133
134BOARD_SEPOLICY_DIRS += device/asus/fugu/sepolicy
135
136USE_CLANG_PLATFORM_BUILD := true
137
138# Use the non-open-source parts, if they're present
139-include vendor/asus/fugu/BoardConfigVendor.mk
140
141# Recipes to generate prebuilts
142-include device/intel/common/external/external.mk
143
144# Don't dex preopt prebuilt apps that will be updated from Play Store
145DONT_DEXPREOPT_PREBUILTS := true
146
147# Vendor Interface Manifest
148DEVICE_MANIFEST_FILE := device/asus/fugu/manifest.xml
149DEVICE_MATRIX_FILE := device/asus/fugu/compatibility_matrix.xml
150