Skip to content

Commit f39875b

Browse files
author
Mattijs Korpershoek
committed
feat(android): kernel: Add _TI_MODULE_OUTS to enabling drivers
In Android15-6.6 kernels, we now have a dedicated array (_TI_MODULE_OUTS) where all the modules are listed. Document it accordingly in the "Enabling new drivers" section. Signed-off-by: Mattijs Korpershoek <[email protected]>
1 parent 4fa393c commit f39875b

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

source/android/Foundational_Components_Kernel.rst

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -107,19 +107,14 @@ To enable new modules:
107107
#. Edit :file:`${YOUR_PATH}/ti-kernel-aosp/BUILD.bazel` to add your new module.
108108
Look for the following section:
109109

110-
.. code-block:: c
110+
.. code-block:: bash
111111
112-
kernel_build(
113-
name = "ti",
112+
_TI_MODULE_OUTS = [
113+
# keep sorted
114+
"crypto/af_alg.ko",
115+
"crypto/algif_hash.ko",
114116
115-
// [...]
116-
117-
module_outs = get_gki_modules_list("arm64") + [
118-
# keep sorted
119-
"crypto/af_alg.ko",
120-
121-
122-
#. In the ``module_outs`` array, add the path to your new kernel module.
117+
#. In the ``_TI_MODULE_OUTS`` array, add the path to your new kernel module.
123118
124119
#. Rebuild the kernel as documented in :ref:`android-build-kernel`.
125120

0 commit comments

Comments
 (0)