platform_vendor_tequila/build/tasks
Aaron Kling 49c4dd8f86 kernel: Error on duplicate modules
This can happen when an out of tree module target uses a matching module
name from the base kernel. This causes two problems:

1) Depmod gets confused and only pulls symbols from one of the modules
2) Copying the modules to modules_out is not entirely deterministic and
   is based on the first variant to be returned by find, meaning that
   the variant that gets copied to the device could change build to
   build.

To avoid these issues, fail the build if this happens and force the
build target to only generate one copy of each module name.

Change-Id: I2e47ba4e142054feabaa1ab80fbbe0332fd84a62
2024-05-13 20:45:15 +00:00
..
bacon.mk bacon: Depend on $(DEFAULT_GOAL) 2024-03-04 16:10:36 +01:00
dt_image.mk build: dt_image: use prebuilt lz4 binary for compressing 2019-10-26 22:42:20 +02:00
generate_lineage_sdk_coverage.mk vendor/lineage: Rebrand cleanup 2017-11-14 05:32:14 +00:00
kernel.mk kernel: Error on duplicate modules 2024-05-13 20:45:15 +00:00