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 | |
Steve Muckle | e5d9bba | 2022-02-16 05:56:08 +0000 | [diff] [blame] | 4 | MKDTIMG := device/linaro/hikey/installer/hikey960/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 |