1ifneq ($(filter hikey%, $(TARGET_DEVICE)),) 2ifneq ($(TARGET_NO_DTIMAGE), true) 3# make sure the vendor package is present 4 5include device/linaro/hikey/vendor-package-ver.mk 6ifneq (,$(wildcard $(LINARO_VENDOR_PATH)/hikey960/$(EXPECTED_LINARO_VENDOR_VERSION)/version.mk)) 7 8MKDTIMG := $(LINARO_VENDOR_PATH)/hikey960/$(EXPECTED_LINARO_VENDOR_VERSION)/bootloader/mkdtimg 9DTB := $(PRODUCT_OUT)/hi3660-hikey960.dtb 10 11$(PRODUCT_OUT)/dt.img: $(DTB) 12 $(MKDTIMG) -c -d $(DTB) -o $@ 13 14droidcore: $(PRODUCT_OUT)/dt.img 15 16endif 17endif 18endif 19