commit | 46d1f990b54c191b0d3f7597b015be36f40677ce | [log] [tgz] |
---|---|---|
author | Qian-Hao Huang <[email protected]> | Thu Apr 18 01:35:44 2024 +0800 |
committer | Qian-Hao Huang <[email protected]> | Thu Apr 18 09:08:44 2024 +0000 |
tree | cfbb24bc9a44f3af39217c5fdfe8bfa311a41227 | |
parent | 6badaa78f3d29378f205be55e7436061835a0222 [diff] |
Support downloading prebuilt GKI fips140.ko Add build options and flags to toggle downloading GKI fips140.ko which is enabled by default in this change. Currently there's a limitation that we can only download the file and place it in output directory; however, the `modules.load` doesn't include this module. Therefore, the `fips140.ko` won't be loaded at boot time with the images generated in kernel source tree. In order to load the module at boot time, it should be placed in AOSP kernel prebuilt directory and re-pack the images. Bug: 331791671 Change-Id: I9a7a8dedb4cfc4b4492d45db5d50d7fc468c41dc Signed-off-by: Qian-Hao Huang <[email protected]>
# Files are copied to out/{branch}/dist $ tools/bazel run --config=raviole //private/devices/google/raviole:gs101_raviole_dist
See build/kernel/kleaf/README.md
for details.
Note: This only works on raviole-mainline
branch.
# Files are copied to out/{branch}/dist $ tools/bazel run --lto=none --config=raviole //private/devices/google/raviole:gs101_raviole_dist
Note: ABI monitoring is not supported on raviole-mainline
branch.
# Compare ABI and build files for distribution $ tools/bazel build --config=raviole //private/devices/google/raviole:gs101_raviole_abi # Update symbol list aosp/android/abi_gki_aarch64_pixel $ tools/bazel run --config=raviole //private/devices/google/raviole:gs101_raviole_abi_update_symbol_list # Update ABI aosp/android/abi_gki_aarch64.xml $ tools/bazel run //aosp:kernel_aarch64_abi_update # Copy files to distribution $ tools/bazel run --config=raviole //private/devices/google/raviole:gs101_raviole_abi_dist