From 237011e55233c118c4fbd6e1b1b6b5f0dda985af Mon Sep 17 00:00:00 2001 From: Aaron Kling Date: Tue, 4 Oct 2022 17:56:58 -0500 Subject: [PATCH] mkbootimg: Boot image depends on kernel Very rarely, the boot image tries to build before the kernel is done Change-Id: I14c85c0ed681c4ff2eaf268752c4e2ff94f9777f --- mkbootimg.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkbootimg.mk b/mkbootimg.mk index 476c9e0e..3e3983cf 100644 --- a/mkbootimg.mk +++ b/mkbootimg.mk @@ -67,7 +67,7 @@ LOKI_TOOL := echo TARGET_LOKI_ABOOT_IMAGE := endif -$(INSTALLED_BOOTIMAGE_TARGET): $(MKBOOTIMG) $(INTERNAL_BOOTIMAGE_FILES) $(BOOTIMAGE_EXTRA_DEPS) +$(INSTALLED_BOOTIMAGE_TARGET): $(MKBOOTIMG) $(INTERNAL_BOOTIMAGE_FILES) $(BOOTIMAGE_EXTRA_DEPS) $(INSTALLED_KERNEL_TARGET) $(call pretty,"Target boot image: $@") $(hide) $(MKBOOTIMG) --kernel $(call bootimage-to-kernel,$(1)) $(INTERNAL_BOOTIMAGE_ARGS) $(INTERNAL_MKBOOTIMG_VERSION_ARGS) $(BOARD_MKBOOTIMG_ARGS) --output $@ $(hide) echo -n "SEANDROIDENFORCE" >> $@