aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2015-01-30 12:22:28 -0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-01-31 05:42:48 +0000
commit2559338dbdacbcbd3ae426337403196135bbc7e8 (patch)
treefb87c9b5b7058e14349f16cac2dc81966942ea87 /Makefile
parent65ce99b3e2c75bbb416b6edf78b5ea0d7f8c3a94 (diff)
downloadvboot_reference-2559338dbdacbcbd3ae426337403196135bbc7e8.tar.gz
futility: refactor file type detection into new files
This moves the what-kind-of-file-is-this logic into a separate file, and makes it work by calling distinct recognizers until one hits. A new "-t" option to the show command prints what it's doing. BUG=chromium:228932 BRANCH=ToT TEST=make runtests Change-Id: Id8f60bdf3fe6a9adf41b4555b3448a261fa52fea Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/245122 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3a2f8369..ed4ccf43 100644
--- a/Makefile
+++ b/Makefile
@@ -594,6 +594,7 @@ FUTIL_SRCS = \
futility/cmd_vbutil_kernel.c \
futility/cmd_vbutil_key.c \
futility/cmd_vbutil_keyblock.c \
+ futility/file_type.c \
futility/traversal.c \
futility/vb1_helper.c