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 <samarvispute121@pm.me>
tirimbino
SamarV-121 3 years ago committed by Bruno Martins
parent 3aff9ef229
commit 2ff0392c1d
  1. 2
      mkbootimg.mk

@ -69,7 +69,7 @@ endif
$(INSTALLED_BOOTIMAGE_TARGET): $(MKBOOTIMG) $(INTERNAL_BOOTIMAGE_FILES) $(BOOTIMAGE_EXTRA_DEPS) $(INSTALLED_BOOTIMAGE_TARGET): $(MKBOOTIMG) $(INTERNAL_BOOTIMAGE_FILES) $(BOOTIMAGE_EXTRA_DEPS)
$(call pretty,"Target boot image: $@") $(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) echo -n "SEANDROIDENFORCE" >> $@
$(hide) $(LOKI_TOOL) patch boot $(TARGET_LOKI_ABOOT_IMAGE) $@ $@.lok $(hide) $(LOKI_TOOL) patch boot $(TARGET_LOKI_ABOOT_IMAGE) $@ $@.lok
$(hide) cp $@.lok $@ || true $(hide) cp $@.lok $@ || true

Loading…
Cancel
Save