From 2ff0392c1dc8ba6a7089130dfc0894a558bfbdd1 Mon Sep 17 00:00:00 2001 From: SamarV-121 Date: Fri, 15 Oct 2021 13:36:19 +0530 Subject: [PATCH] mkbootimg: Update for S * handling of kernel bootimg arg has been changed as of https://android-review.googlesource.com/c/platform/build/+/1394339 Change-Id: Iba9d3e31621cffdeec9233fd90526baf89ded3e7 Signed-off-by: SamarV-121 --- mkbootimg.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkbootimg.mk b/mkbootimg.mk index 3e3c5b2c..476c9e0e 100644 --- a/mkbootimg.mk +++ b/mkbootimg.mk @@ -69,7 +69,7 @@ endif $(INSTALLED_BOOTIMAGE_TARGET): $(MKBOOTIMG) $(INTERNAL_BOOTIMAGE_FILES) $(BOOTIMAGE_EXTRA_DEPS) $(call pretty,"Target boot image: $@") - $(hide) $(MKBOOTIMG) $(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) $(LOKI_TOOL) patch boot $(TARGET_LOKI_ABOOT_IMAGE) $@ $@.lok $(hide) cp $@.lok $@ || true