Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Bug 1246261 Blobfree: Allow to force the use of dt.img on CyanogenMod…
Browse files Browse the repository at this point in the history
… r=gerard-majax
  • Loading branch information
Adam Farden authored and stellirin committed Feb 5, 2016
1 parent 9c6806c commit 0d57bb5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Android.mk
Expand Up @@ -344,6 +344,15 @@ compare-zipfiles: $(TARGET_LISTFILES_BLOBS) $(TARGET_LISTFILES_NOBLOBS)
$(TARGET_BLOBFREE_RECOVERY_FSTAB): $(TARGET_RECOVERY_FSTAB) $(recovery_fstab)
cp -f $(TARGET_RECOVERY_FSTAB) $@ || cp -f $(recovery_fstab) $@

# CyanogenMod uses custom mkbootimg.sh scripts to generate the device tree
# image and we can't detect that here. We can at least force use of dt.img
# If we detect the custom script.
ifeq ($(BOARD_KERNEL_SEPARATED_DT),true)
ifneq ($(BOARD_CUSTOM_BOOTIMG_MK),)
INSTALLED_DTIMAGE_TARGET := $(PRODUCT_OUT)/dt.img
endif
endif

# Target controlling the build of the {user,addon}-facing ZIP distribution file,
# which will just contain all the dependencies within the root of the archive.
$(TARGET_BLOBFREE_PKG): $(TARGET_BLOBFREE_ZIP) $(TARGET_BLOBS_INJECT_LIST) $(TARGET_CMDLINE_FS) $(INSTALLED_DTIMAGE_TARGET) $(TARGET_DEVICES_JSON) $(TARGET_BLOBFREE_RECOVERY_FSTAB)
Expand Down

0 comments on commit 0d57bb5

Please sign in to comment.