blob: 02b47f68bad1985c2a6c1fa3760d01462318ab1f [file] [log] [blame]
Dmitry Shmidt5d080802017-04-11 14:20:03 -07001ifneq ($(filter hikey%, $(TARGET_DEVICE)),)
2ifneq ($(TARGET_NO_DTIMAGE), true)
John Stultzec36f2d2022-02-02 04:37:53 +00003# make sure the vendor package is present
Dmitry Shmidt5d080802017-04-11 14:20:03 -07004
Yongqin Liu26df8472022-02-25 14:47:33 +08005include device/linaro/hikey/vendor-package-ver.mk
John Stultzec36f2d2022-02-02 04:37:53 +00006ifneq (,$(wildcard $(LINARO_VENDOR_PATH)/hikey960/$(EXPECTED_LINARO_VENDOR_VERSION)/version.mk))
7
8MKDTIMG := $(LINARO_VENDOR_PATH)/hikey960/$(EXPECTED_LINARO_VENDOR_VERSION)/bootloader/mkdtimg
Dmitry Shmidt5d080802017-04-11 14:20:03 -07009DTB := $(PRODUCT_OUT)/hi3660-hikey960.dtb
10
11$(PRODUCT_OUT)/dt.img: $(DTB)
12 $(MKDTIMG) -c -d $(DTB) -o $@
13
14droidcore: $(PRODUCT_OUT)/dt.img
Tao Bao69c2d872017-06-06 13:03:59 -070015
Dmitry Shmidt5d080802017-04-11 14:20:03 -070016endif
17endif
John Stultzec36f2d2022-02-02 04:37:53 +000018endif