mkbootimg: Boot image depends on kernel

Very rarely, the boot image tries to build before the kernel is done

Change-Id: I14c85c0ed681c4ff2eaf268752c4e2ff94f9777f
urubino
Aaron Kling 2 years ago committed by SamarV-121
parent a199e50ae9
commit 237011e552
No known key found for this signature in database
GPG Key ID: EA4EF623926E2FAE
  1. 2
      mkbootimg.mk

@ -67,7 +67,7 @@ LOKI_TOOL := echo
TARGET_LOKI_ABOOT_IMAGE := TARGET_LOKI_ABOOT_IMAGE :=
endif 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: $@") $(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) $(MKBOOTIMG) --kernel $(call bootimage-to-kernel,$(1)) $(INTERNAL_BOOTIMAGE_ARGS) $(INTERNAL_MKBOOTIMG_VERSION_ARGS) $(BOARD_MKBOOTIMG_ARGS) --output $@
$(hide) echo -n "SEANDROIDENFORCE" >> $@ $(hide) echo -n "SEANDROIDENFORCE" >> $@

Loading…
Cancel
Save