refactor kernel module build, add version support
Refactor the build support for kernel modules. This refactoring is leveraged to add support for directories of kernel modules in each partition. To add a directory of kernel modules, define BOARD_KERNEL_MODULE_DIRS to include the directory name, for example: BOARD_KERNEL_MODULE_DIRS := 5.4 The build will then check all the usual kernel module related macros with an extension of _5.4, for example you can define BOARD_VENDOR_KERNEL_MODULES_5.4 := <modules to copy> BOARD_VENDOR_KERNEL_MODULES_ARCHIVE_5.4 = <path to archive file> BOARD_VENDOR_KERNEL_MODULES_LOAD_5.4 := <modules for load list> Bug: 157645635 Change-Id: I1687d0ec85c1dcf21350350623b4689aba3f6717 Merged-In: I1687d0ec85c1dcf21350350623b4689aba3f6717
Loading
Please register or sign in to comment