Skip to content

Commit

Permalink
dlkm: Fix builds without modules.load.recovery
Browse files Browse the repository at this point in the history
Since b99d58d we expect modules.load.recovery to be there, which is not the case with kplatform builds by default, breaking our inline builds.

Change-Id: Ic3cc57a5ce36d101b3ba18b6518a9e877c884cb2
  • Loading branch information
33bca authored and gotenksIN committed Feb 7, 2025
1 parent 03fb85d commit c0a9703
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dlkm/kernel-platform.mk
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ endif

gki_modules := $(call get-kernel-modules,system_dlkm,modules.load)
second_stage_modules := $(call get-kernel-modules,vendor_dlkm,modules.load)
ifeq ($(wildcard modules.load.recovery),)
recovery_modules := $(first_stage_modules) $(second_stage_modules)
endif

$(call prepend-kernel-modules,BOARD_VENDOR_RAMDISK_KERNEL_MODULES_LOAD,$(first_stage_modules))
$(call prepend-kernel-modules,BOARD_VENDOR_RAMDISK_RECOVERY_KERNEL_MODULES_LOAD,$(recovery_modules))
Expand Down

0 comments on commit c0a9703

Please sign in to comment.