修訂 | bb48217acd435cc404bd75e3ab2cce5bc3dce122 (tree) |
---|---|
時間 | 2018-06-15 18:01:42 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
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>
@@ -76,7 +76,7 @@ ifneq ($(strip $(BOARD_GPU_DRIVERS)),) | ||
76 | 76 | TARGET_HARDWARE_3D := true |
77 | 77 | endif |
78 | 78 | |
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) | |
80 | 80 | TARGET_KERNEL_DIFFCONFIG := device/generic/common/selinux_diffconfig |
81 | 81 | |
82 | 82 | COMPATIBILITY_ENHANCEMENT_PACKAGE := true |
@@ -5,3 +5,4 @@ CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=1 | ||
5 | 5 | CONFIG_DEFAULT_SECURITY_SELINUX=y |
6 | 6 | # CONFIG_DEFAULT_SECURITY_DAC is not set |
7 | 7 | CONFIG_DEFAULT_SECURITY="selinux" |
8 | +# CONFIG_ANDROID_BINDER_IPC_32BIT is not set |