Merge changes from topic "dtbtool" into o8.1
* changes:
dtbtool: dtbToolCM -> dtbToolLineage
dtbtool: use O_TRUNC when writing to output file
dtbtool: Recursively search input directory for dtb files
Fix build breaks on M
Fix error checking of open file error
dtbtool: use stat to determine file type if its unknown
dtbtool: use detected version to determine entry_size
diff --git a/build/tasks/dt_image.mk b/build/tasks/dt_image.mk
index 5390488..ddd4c98 100644
--- a/build/tasks/dt_image.mk
+++ b/build/tasks/dt_image.mk
@@ -8,7 +8,7 @@
ifeq ($(strip $(BOARD_KERNEL_PREBUILT_DT)),)
ifeq ($(strip $(TARGET_CUSTOM_DTBTOOL)),)
-DTBTOOL_NAME := dtbToolCM
+DTBTOOL_NAME := dtbToolLineage
else
DTBTOOL_NAME := $(TARGET_CUSTOM_DTBTOOL)
endif