From 966802817aeb59a32dc72d5330252881a06010ce Mon Sep 17 00:00:00 2001 From: Bob Moragues Date: Fri, 15 Jun 2018 12:59:38 -0700 Subject: util: add unpack_ftb to setup.py unpack_ftb is used as a build tool to convert .ftb to .bin BUG=b:109719787 TEST=verify that unpack_ftb is present and executable Change-Id: I65c77cb13fd2866aabd2975979d943063cd615c6 Reviewed-on: https://chromium-review.googlesource.com/1103058 Commit-Ready: Bob Moragues Tested-by: Bob Moragues Reviewed-by: Wei-Han Chen Reviewed-by: Nicolas Boichat --- setup.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 7cb689d41f..9ad66ac454 100644 --- a/setup.py +++ b/setup.py @@ -72,3 +72,17 @@ setup( description="Tool to open the usb console on servo, cr50.", ) +setup( + name="unpack_ftb", + version="1.0", + author="Wei-Han Chen", + author_email="stimim@chromium.org", + url="https://www.chromium.org/chromium-os/ec-development", + package_dir={"" : "util"}, + py_modules=["unpack_ftb"], + entry_points = { + "build_scripts": ["unpack_ftb=unpack_ftb:main"], + }, + description="Tool to convert .ftb files to .bin", +) + -- cgit v1.2.1