X-Git-Url: http://git.osdn.net/view?p=android-x86%2Fdevice-generic-common.git;a=blobdiff_plain;f=BoardConfig.mk;h=7ab0e17d9b2524331a7801c669fd7c85e651aa03;hp=a63163ba8b8ce662df2088ba4217ab51fe50313c;hb=bf8294ec98a4e10868a7c7c006d5c512653b5421;hpb=9b8dd044dd75ed719747553b90e5186eedb5fc60 diff --git a/BoardConfig.mk b/BoardConfig.mk index a63163b..7ab0e17 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -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,7 +60,9 @@ USE_INTEL_OMX_COMPONENTS := true USE_OPENGL_RENDERER := true NUM_FRAMEBUFFER_SURFACE_BUFFERS ?= 3 +BOARD_USES_DRM_GRALLOC := true BOARD_USES_DRM_HWCOMPOSER ?= true +SF_START_GRAPHICS_ALLOCATOR_SERVICE := true USE_CAMERA_STUB ?= false @@ -69,18 +71,23 @@ 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_GPU_DRIVERS ?= i915 i965 nouveau r300g r600g radeonsi virgl vmwgfx ifneq ($(strip $(BOARD_GPU_DRIVERS)),) TARGET_HARDWARE_3D := true endif -BOARD_KERNEL_CMDLINE := root=/dev/ram0 androidboot.selinux=permissive $(if $(filter true,$(TARGET_USES_64_BIT_BINDER)),,vmalloc=192M) +BOARD_KERNEL_CMDLINE := root=/dev/ram0 androidboot.selinux=permissive$(if $(filter x86_64,$(TARGET_ARCH) $(TARGET_KERNEL_ARCH)),, vmalloc=192M) TARGET_KERNEL_DIFFCONFIG := device/generic/common/selinux_diffconfig COMPATIBILITY_ENHANCEMENT_PACKAGE := true PRC_COMPATIBILITY_PACKAGE := true ZIP_OPTIMIZATION_NO_INTEGRITY := true + +DEVICE_MANIFEST_FILE := device/generic/common/manifest.xml + +BOARD_SEPOLICY_DIRS += device/generic/common/sepolicy/nonplat \ + system/bt/vendor_libs/linux/sepolicy \ + +BOARD_PLAT_PRIVATE_SEPOLICY_DIR := device/generic/common/sepolicy/plat_private