X-Git-Url: http://git.osdn.net/view?p=android-x86%2Fdevice-generic-common.git;a=blobdiff_plain;f=BoardConfig.mk;h=eec21b46ee2e97b47a3c9e5ecabd8e90053fa76f;hp=a63163ba8b8ce662df2088ba4217ab51fe50313c;hb=refs%2Fheads%2Fcm-14.1-x86;hpb=9b8dd044dd75ed719747553b90e5186eedb5fc60 diff --git a/BoardConfig.mk b/BoardConfig.mk index a63163b..eec21b4 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -19,8 +19,8 @@ BOARD_MALLOC_ALIGNMENT := 16 # Enable dex-preoptimization to speed up the first boot sequence # of an SDK AVD. Note that this operation only works on Linux for now ifeq ($(HOST_OS),linux) -WITH_DEXPREOPT := true -WITH_DEXPREOPT_PIC := true +WITH_DEXPREOPT := false +WITH_DEXPREOPT_PIC := false endif # the following variables could be overridden @@ -31,7 +31,7 @@ TARGET_EXTRA_KERNEL_MODULES := tp_smapi ifneq ($(filter efi_img,$(MAKECMDGOALS)),) TARGET_KERNEL_ARCH ?= x86_64 endif -TARGET_USES_64_BIT_BINDER := $(if $(filter x86_64,$(TARGET_ARCH) $(TARGET_KERNEL_ARCH)),true) +TARGET_USES_64_BIT_BINDER := true BOARD_USES_GENERIC_AUDIO ?= false BOARD_USES_ALSA_AUDIO ?= true @@ -60,18 +60,16 @@ USE_INTEL_OMX_COMPONENTS := true USE_OPENGL_RENDERER := true NUM_FRAMEBUFFER_SURFACE_BUFFERS ?= 3 +BOARD_USES_DRM_GRALLOC := true BOARD_USES_DRM_HWCOMPOSER ?= true +BOARD_EGL_WORKAROUND_BUG_10194508 := true USE_CAMERA_STUB ?= false -SUPERUSER_EMBEDDED := true -SUPERUSER_PACKAGE_PREFIX := com.android.settings.cyanogenmod.superuser - # This enables the wpa wireless driver -BOARD_WPA_SUPPLICANT_DRIVER ?= NL80211 -BOARD_WPA_SUPPLICANT_PRIVATE_LIB ?= private_lib_driver_cmd -WPA_SUPPLICANT_VERSION ?= VER_2_1_DEVEL -WIFI_DRIVER_MODULE_PATH ?= auto +BOARD_WPA_SUPPLICANT_DRIVER := NL80211 +WPA_SUPPLICANT_VERSION := VER_2_1_DEVEL +WIFI_DRIVER_MODULE_NAME := brcmfmac BOARD_GPU_DRIVERS ?= i915 i965 nouveau r300g r600g radeonsi virgl vmwgfx ifneq ($(strip $(BOARD_GPU_DRIVERS)),) @@ -84,3 +82,9 @@ TARGET_KERNEL_DIFFCONFIG := device/generic/common/selinux_diffconfig COMPATIBILITY_ENHANCEMENT_PACKAGE := true PRC_COMPATIBILITY_PACKAGE := true ZIP_OPTIMIZATION_NO_INTEGRITY := true + +# LineageOS specific +VER := 14.1-r5 +RELEASE_OS_TITLE := LineageOS +BUILD_NAME_VARIANT := cm-x86 +INSTALL_PREFIX := cm-x86-$(VER)