kernel: Make kernel depend on depmod

After moving modules to this target, we need to depend on depmod

Change-Id: I32ac51173db304cc019e45df006c26a2583b8587
This commit is contained in:
Rashed Abdel-Tawab
2019-09-30 11:11:50 -04:00
parent 17d7dcba43
commit 3467b7a30a

View File

@@ -236,7 +236,7 @@ $(KERNEL_CONFIG): $(KERNEL_DEFCONFIG_SRC) $(KERNEL_ADDITIONAL_CONFIG_OUT)
$(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 \