summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaghavendra Rao Ananta <rananta@codeaurora.org>2021-01-06 09:35:34 -0800
committerRaghavendra Rao Ananta <rananta@codeaurora.org>2021-01-06 09:35:34 -0800
commitb04f5d0e780cd485378f9fea4c2299d5cd4538ee (patch)
treeeeb3787fa09822a01af7ac8346a93069720d9017
parent816f5cc2bc8c3be3f38c0d13f6ecf8f84b8507af (diff)
kernel_definitions: Add kernel dependency for ramdisk modules
Add kernel build dependency for ramdisk modules for the ramdisk packaging to wait until the kernel is built completely. Change-Id: I210793b6b4a64b658db2f23cb6a986dee50427ad Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
-rw-r--r--kernel_definitions.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel_definitions.mk b/kernel_definitions.mk
index ec28213..0faa4ed 100644
--- a/kernel_definitions.mk
+++ b/kernel_definitions.mk
@@ -210,6 +210,8 @@ $(BOARD_VENDOR_RAMDISK_KERNEL_MODULES_ARCHIVE_$(GKI_TARGET_MODULES_DIR)): $(GKI_
endif
endif
+$(BOARD_VENDOR_RAMDISK_KERNEL_MODULES): $(TARGET_PREBUILT_KERNEL)
+
# Add RTIC DTB to dtb.img if RTIC MPGen is enabled.
# Note: unfortunately we can't define RTIC DTS + DTB rule here as the
# following variable/ tools (needed for DTS generation)