kernel: Make kernel depend on depmod
After moving modules to this target, we need to depend on depmod
Change-Id: I32ac51173db304cc019e45df006c26a2583b8587
diff --git a/build/tasks/kernel.mk b/build/tasks/kernel.mk
index 36352a5..a2bb3f4 100644
--- a/build/tasks/kernel.mk
+++ b/build/tasks/kernel.mk
@@ -236,7 +236,7 @@
$(call make-kernel-target,KCONFIG_ALLCONFIG=$(KERNEL_OUT)/.config alldefconfig); \
fi
-$(TARGET_PREBUILT_INT_KERNEL): $(KERNEL_CONFIG)
+$(TARGET_PREBUILT_INT_KERNEL): $(KERNEL_CONFIG) $(DEPMOD)
@echo "Building Kernel"
$(call make-kernel-target,$(BOARD_KERNEL_IMAGE_NAME))
$(hide) if grep -q '^CONFIG_OF=y' $(KERNEL_CONFIG); then \