Android-x86
Fork
捐款

  • R/O
  • HTTP
  • SSH
  • HTTPS

device-generic-common: 提交

device/generic/common


Commit MetaInfo

修訂bb48217acd435cc404bd75e3ab2cce5bc3dce122 (tree)
時間2018-06-15 18:01:42
作者Chih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

Fix issues to use 64-bit binder on 32-bit image

Fixes: 66fd14a3 (Always use 64-bit binder)

Reported-and-Tested-by: Mauro Rossi <issor.oruam@gmail.com>

Change Summary

差異

--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -76,7 +76,7 @@ ifneq ($(strip $(BOARD_GPU_DRIVERS)),)
7676 TARGET_HARDWARE_3D := true
7777 endif
7878
79-BOARD_KERNEL_CMDLINE := root=/dev/ram0 androidboot.selinux=permissive $(if $(filter true,$(TARGET_USES_64_BIT_BINDER)),,vmalloc=192M)
79+BOARD_KERNEL_CMDLINE := root=/dev/ram0 androidboot.selinux=permissive $(if $(filter x86_64,$(TARGET_ARCH) $(TARGET_KERNEL_ARCH)),,vmalloc=192M)
8080 TARGET_KERNEL_DIFFCONFIG := device/generic/common/selinux_diffconfig
8181
8282 COMPATIBILITY_ENHANCEMENT_PACKAGE := true
--- a/selinux_diffconfig
+++ b/selinux_diffconfig
@@ -5,3 +5,4 @@ CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=1
55 CONFIG_DEFAULT_SECURITY_SELINUX=y
66 # CONFIG_DEFAULT_SECURITY_DAC is not set
77 CONFIG_DEFAULT_SECURITY="selinux"
8+# CONFIG_ANDROID_BINDER_IPC_32BIT is not set
Show on old repository browser