File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -182,4 +182,6 @@ source "drivers/ras/Kconfig"
182182
183183source "drivers/thunderbolt/Kconfig"
184184
185+ source "drivers/android/Kconfig"
186+
185187endmenu
Original file line number Diff line number Diff line change @@ -161,3 +161,4 @@ obj-$(CONFIG_POWERCAP) += powercap/
161161obj-$(CONFIG_MCB) += mcb/
162162obj-$(CONFIG_RAS) += ras/
163163obj-$(CONFIG_THUNDERBOLT) += thunderbolt/
164+ obj-$(CONFIG_ANDROID) += android/
Original file line number Diff line number Diff line change 1+ menu "Android"
2+
3+ config ANDROID
4+ bool "Android Drivers"
5+ ---help---
6+ Enable support for various drivers needed on the Android platform
7+
8+ if ANDROID
9+
10+ config ANDROID_BINDER_IPC
11+ bool "Android Binder IPC Driver"
12+ depends on MMU
13+ default n
14+ ---help---
15+ Binder is used in Android for both communication between processes,
16+ and remote method invocation.
17+
18+ This means one Android process can call a method/routine in another
19+ Android process, using Binder to identify, invoke and pass arguments
20+ between said processes.
21+
22+ config ANDROID_BINDER_IPC_32BIT
23+ bool
24+ depends on !64BIT && ANDROID_BINDER_IPC
25+ default y
26+ ---help---
27+ The Binder API has been changed to support both 32 and 64bit
28+ applications in a mixed environment.
29+
30+ Enable this to support an old 32-bit Android user-space (v4.4 and
31+ earlier).
32+
33+ Note that enabling this will break newer Android user-space.
34+
35+ endif # if ANDROID
36+
37+ endmenu
Original file line number Diff line number Diff line change 1+ ccflags-y += -I$(src ) # needed for trace events
2+
3+ obj-$(CONFIG_ANDROID_BINDER_IPC) += binder.o
File renamed without changes.
Original file line number Diff line number Diff line change 2424#define BINDER_IPC_32BIT 1
2525#endif
2626
27- #include " uapi/binder.h"
27+ #include < uapi/linux/android/ binder.h>
2828
2929#endif /* _LINUX_BINDER_H */
3030
File renamed without changes.
Original file line number Diff line number Diff line change 11menu "Android"
22
3- config ANDROID
4- bool "Android Drivers"
5- ---help---
6- Enable support for various drivers needed on the Android platform
7-
83if ANDROID
94
10- config ANDROID_BINDER_IPC
11- bool "Android Binder IPC Driver"
12- depends on MMU
13- default n
14- ---help---
15- Binder is used in Android for both communication between processes,
16- and remote method invocation.
17-
18- This means one Android process can call a method/routine in another
19- Android process, using Binder to identify, invoke and pass arguments
20- between said processes.
21-
22- config ANDROID_BINDER_IPC_32BIT
23- bool
24- depends on !64BIT && ANDROID_BINDER_IPC
25- default y
26- ---help---
27- The Binder API has been changed to support both 32 and 64bit
28- applications in a mixed environment.
29-
30- Enable this to support an old 32-bit Android user-space (v4.4 and
31- earlier).
32-
33- Note that enabling this will break newer Android user-space.
34-
355config ASHMEM
366 bool "Enable the Anonymous Shared Memory Subsystem"
377 default n
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ ccflags-y += -I$(src) # needed for trace events
22
33obj-y += ion/
44
5- obj-$(CONFIG_ANDROID_BINDER_IPC) += binder.o
65obj-$(CONFIG_ASHMEM) += ashmem.o
76obj-$(CONFIG_ANDROID_LOGGER) += logger.o
87obj-$(CONFIG_ANDROID_TIMED_OUTPUT) += timed_output.o
Original file line number Diff line number Diff line change 11# UAPI Header export list
2+ header-y += android/
23header-y += byteorder/
34header-y += can/
45header-y += caif/
You can’t perform that action at this time.
0 commit comments