project-lakitu: add cos-linux-mod class
Add cos-linux-mod class to encapsulate module building logic. Because
of different USE flags in kernel and module builds the toolchain
being used in both cases are slightly different. This can be fixed at
the module ebuild level but to avoid copy-pasting logic from one
ebuild to another - encapsulate it in a singe eclass that makes sure
kernel and modules are built the same way.
This still requires certain manual synchronization between cros-kernel2
and cos-linux-mod classes but it's more preferable to synchronize
single code unit instead of multiple.
Tested-by: Cusky Presubmit Bot <firstname.lastname@example.org>
Reviewed-by: Robert Kolchmeyer <email@example.com>
Reviewed-by: Roy Yang <firstname.lastname@example.org>
1 file changed