X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=BoardConfig.mk;h=c3164ef4372bcbe16184bae690c576a5fa2af17c;hb=8361fc24f4acc5044fafa8bf7723dde4ad0da480;hp=7faf53b84c0956c9693dad9704f2ed73d2e045da;hpb=87491eb85535bbfd87e18542a707d059a18cbb2c;p=android-x86%2Fdevice-generic-common.git diff --git a/BoardConfig.mk b/BoardConfig.mk index 7faf53b..c3164ef 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -6,6 +6,7 @@ TARGET_BOARD_PLATFORM := android-x86 # Some framework code requires this to enable BT BOARD_HAVE_BLUETOOTH := true +BOARD_HAVE_BLUETOOTH_LINUX := true BOARD_USE_LEGACY_UI := true @@ -18,7 +19,7 @@ BOARD_MALLOC_ALIGNMENT := 16 # of an SDK AVD. Note that this operation only works on Linux for now ifeq ($(HOST_OS),linux) WITH_DEXPREOPT := true -TARGET_GCC_VERSION_EXP := 4.9 +WITH_DEXPREOPT_PIC := true endif # the following variables could be overridden @@ -58,6 +59,7 @@ USE_INTEL_OMX_COMPONENTS := true USE_OPENGL_RENDERER := true NUM_FRAMEBUFFER_SURFACE_BUFFERS ?= 3 +BOARD_USES_DRM_HWCOMPOSER ?= true USE_CAMERA_STUB ?= false @@ -70,10 +72,14 @@ BOARD_WPA_SUPPLICANT_PRIVATE_LIB ?= private_lib_driver_cmd WPA_SUPPLICANT_VERSION ?= VER_2_1_DEVEL WIFI_DRIVER_MODULE_PATH ?= auto -BOARD_GPU_DRIVERS ?= i915 i965 nouveau r300g r600g radeonsi swrast +BOARD_GPU_DRIVERS ?= i915 i965 nouveau r300g r600g radeonsi swrast virgl vmwgfx ifneq ($(strip $(BOARD_GPU_DRIVERS)),) TARGET_HARDWARE_3D := true -BOARD_EGL_CFG ?= device/generic/common/gpu/egl_mesa.cfg endif -BOARD_KERNEL_CMDLINE := root=/dev/ram0 androidboot.hardware=$(TARGET_PRODUCT) +BOARD_KERNEL_CMDLINE := root=/dev/ram0 androidboot.selinux=permissive $(if $(filter true,$(TARGET_USES_64_BIT_BINDER)),,vmalloc=192M) +TARGET_KERNEL_DIFFCONFIG := device/generic/common/selinux_diffconfig + +COMPATIBILITY_ENHANCEMENT_PACKAGE := true +PRC_COMPATIBILITY_PACKAGE := true +ZIP_OPTIMIZATION_NO_INTEGRITY := true