kleaf: enable stricter depmod requirements

- Enabling TRIM_UNUSED_MODULES will force use to list all of the module
  dependencies in the vendor_boot modules list.
- Remove pps-gpio.ko from the vendor_boot since it depends on the GKI
  modules pps_core.ko.

This fixes GKI testing on android15-6.6 when we include all of the GKI
modules in the vendor_dlkm image.

Change-Id: Iec70e781733d671d0e2b7d38df104b2d69a1d890
Signed-off-by: Will McVicker <willmcvicker@google.com>
2 files changed
tree: 47ac07d988c3958c16d7be4944168c22867643f2
  1. arch/
  2. Documentation/
  3. drivers/
  4. include/
  5. .clang-format
  6. .gitignore
  7. BUILD.bazel
  8. build.config.gs.common
  9. build.config.slider
  10. build.config.slider.blktest
  11. build.config.slider.debug_api
  12. build.config.slider.debug_kmemleak
  13. build.config.slider.debug_locking
  14. build.config.slider.debug_memory
  15. build.config.slider.debug_memory_accounting
  16. build.config.slider.kasan
  17. build.config.slider.khwasan
  18. build_slider.sh
  19. device.bazelrc
  20. Kbuild
  21. Kconfig.ext
  22. Kconfig.ext_modules
  23. Makefile
  24. Makefile.include
  25. merge-from-mainline.sh
  26. merge-from-pixel-5.10.sh
  27. OWNERS
  28. OWNERS_core
  29. PREUPLOAD.cfg
  30. README.md
  31. slider.bzl
  32. system_dlkm.props
  33. tests.bzl
  34. vendor_boot_modules.gs101
  35. vendor_dlkm.blocklist.gs201
  36. vendor_dlkm.blocklist.slider
  37. vendor_dlkm.props
  38. vendor_dlkm_modules.slider
  39. vendor_kernel_boot_modules.gs201
README.md

Building with Bazel

# Files are copied to out/slider/dist
$ tools/bazel run --config=fast //private/google-modules/soc/gs:slider_dist

See build/kernel/kleaf/README.md for details.

ABI monitoring with Bazel (recommended)

Note: ABI monitoring is not supported on android-mainline branch.

# Update symbol list common/android/abi_gki_aarch64_pixel
$ tools/bazel run --config=fast //private/google-modules/soc/gs:slider_abi_update_symbol_list

# Update ABI common/android/abi_gki_aarch64.xml
$ tools/bazel run //common:kernel_aarch64_abi_update