Dmitry Shmidt | 5d08080 | 2017-04-11 14:20:03 -0700 | [diff] [blame] | 1 | ifneq ($(filter hikey%, $(TARGET_DEVICE)),) |
| 2 | ifneq ($(TARGET_NO_DTIMAGE), true) |
| 3 | |
John Stultz | af6e3c0 | 2022-02-02 04:37:53 +0000 | [diff] [blame] | 4 | MKDTIMG := $(LINARO_VENDOR_PATH)/hikey960/$(EXPECTED_LINARO_VENDOR_VERSION)/bootloader/mkdtimg |
Dmitry Shmidt | 5d08080 | 2017-04-11 14:20:03 -0700 | [diff] [blame] | 5 | DTB := $(PRODUCT_OUT)/hi3660-hikey960.dtb |
| 6 | |
| 7 | $(PRODUCT_OUT)/dt.img: $(DTB) |
| 8 | $(MKDTIMG) -c -d $(DTB) -o $@ |
| 9 | |
| 10 | droidcore: $(PRODUCT_OUT)/dt.img |
Tao Bao | 69c2d87 | 2017-06-06 13:03:59 -0700 | [diff] [blame] | 11 | |
| 12 | # Images will be packed into target_files zip, and hikey-img.zip. |
| 13 | INSTALLED_RADIOIMAGE_TARGET += $(PRODUCT_OUT)/dt.img |
| 14 | BOARD_PACK_RADIOIMAGES += dt.img |
| 15 | |
Dmitry Shmidt | 5d08080 | 2017-04-11 14:20:03 -0700 | [diff] [blame] | 16 | endif |
| 17 | endif |