blob: a79a1d555171f185ede59a5da7d21342ab7b9757 [file] [log] [blame]
The Android Open Source Project51704be2008-12-17 18:05:50 -08001Default (and possibly architecture dependents) HAL modules go here.
2
3
4libhardware.so eventually should contain *just* the HAL hub
5(hardware.c), everything in it should be rewritten as modules.
6
7Modules are .so in /system/libs/hw/ and have a well defined naming
8convention:
9
10 /system/libs/hw/<*_HARDWARE_MODULE_ID>.<ro.arch>.so
11 /system/libs/hw/<*_HARDWARE_MODULE_ID>.default.so
12
13They also have a well defined interface which lives in include/hardware/.
14
15A module can have several variants: "default", "arch" and "board", and they're
16loaded in the "board", "arch" and "default" order.
17The source code for the "board" variant, usually lives under partners/...
18
19The source code for "default" and "arch" would usually
20live under hardware/modules/.
21